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

Data tables must have name

Actions

Severity Action
no actions

Details

Rule ID Table 2
Definition Data tables must have an accessible name to identify the purpose of the table.
Purpose
  • An accessible name for a data table enables people using assistive technologies to identify the purpose of the table and to differentiate among multiple data tables on the same page.
  • Screen readers include table navigation commands and the accessible name will provides context to the table.
WCAG Success Criteria

2.4.6 Headings and Labels (Level AA, Primary Success Criterion)

Rule Category Tables
Scope Element
Target Resources table
  • table
Techniques
  • Use caption element to provide an accessible name for a data table.
  • Use summary attribute to provide an accessible name for a data table.
  • Use title attribute to provide an accessible name for a data table.
  • Use aria-label attribute to provide an accessible name for a data table (NOTE: inconsistent browser/AT support).
  • Use aria-labelledby attribute to provide an accessible name for a data table (NOTE: inconsistent browser/AT support).
  • If the table is not used for tabular data, but instead for layout of content, use the role="presentation" on the table element.
Manual Checks
  • Make sure the the accessible name accurately and succinctly identifies the purpose of the data table.
  • If the table markup is actually being used for laying out content in rows or columns, use role="presentation" on the table element.
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.