Page Title: Kapazittsplanung - Digital und Print
May 20, 2018 04:48

Header cells must be th elements

Actions

Severity Action
no actions

Details

Rule ID Table 6
Definition Each data table header cell must use th elements rather than td element with a scope attribute.
Purpose
  • th element is the web standards way to identify header cells in a table, and makes the data table source code easier to read and debug for accessibility problems.
WCAG Success Criteria

1.3.1 Info and Relationships (Level A, Primary Success Criterion)

Rule Category Tables
Scope Element
Target Resources th and td[scope] elements
Techniques
  • Use th elements in the first row or column to identify row and column headers in a simple data tables.
  • Use headers attribute on each td element to identify header information in complex data tables.
  • Use th element for cells used as header cells in the table.
Manual Checks
  • Verify the each data cell has header cells that clearly identify the meaning of the content of the data cell.
Informational Links

Element Results

Element Identifier Result Element Position Message

Column Definitions

Element Identifier
Information about the element associated with the result.
The information typically includes the tag name, accessible name or other information related to the rule requirements.
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level rule.
Element Position
The element position is based on the DOM order of elements in the page.
The element position maybe useful in helping to locate a specific element on the page evaluated (e.g smaller numbers are typically toward the beginning of a page and larger numbers typically toward the end of a page).
Element position 1 is the first element.
The highest element position is the last element.
Element position values for most rule/page results will not be consecutive since a rule only applies to a sub set of elements found on a page.