Table headers should be associated with data cells

adaptable/th-has-data-cells · WCAG 1.3.1 · Level A

Table headers should be associated with data cells.

Screen readers use <th> elements to announce column or row headers when navigating table cells — for example, reading 'Name: John' when moving to a cell. A table with <th> but no <td> elements means headers describe nothing, and screen readers cannot associate data with headers. Either add <td> data cells, or if this is not tabular data, use non-table markup instead.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0