Rule: Data tables must have name

Rule ID Table 2
Conformance Required
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.
Conformance Required
WCAG Success Criteria

Success Criterion 2.4.6 Headings and Labels

Rule Category Tables/Layout
Rule Scope Element
Techniques
  • Use caption element 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="none" on the table element.
Information Links