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

Data cells must have row/column headers

Actions

Severity Action
no actions

Details

Rule ID Table 1
Definition Data cells in data tables must have row and/or column header cells.
Purpose
  • When th (table header) elements are used as the first cell in each row and/or column of a data table, assistive technologies can infer the header-to-data-cell relationships for those rows and columns, making the header information programmatically available to screen reader users from any data cell.
  • By providing a representation that is functionally equivalent to the visual relationships of data cells to row and column headers that sighted users rely upon, screen reader users are able to maintain orientation and comprehension as they traverse the data table.
  • When solitary row and/or column headers are not sufficient to describe a data cell, use the headers attribute to identify the appropriate header cells.
WCAG Success Criteria

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

Rule Category Tables
Scope Element
Target Resources td elements
  • td
Techniques
  • Use a th element as the first cell in each row and/or column to define row and column headers in simple data tables.
  • Use th element for row and column header cells.
  • While not recommended, it is also valid to use td element with a scope attribute as a header cell.
  • Avoid using empty rows and columns for formatting data tables. Use CSS instead.
Manual Checks
  • Verify that empty td and th elements do not need table headers.
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.