Web Happens

Accessibility Action report

Average Joe's

Back

Table headers in a data table must refer to data cells

Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe


Status
For review
Impact
Serious
Category
Tables
Guidance
Deque University

1 potential issue across 1 page

What to review

  • Table data cells are missing or empty

Where to look

We found occurrences on 1 page:

  1. alphagov.github.io/accessibility-tool-audit/tests/tables-table-that-only-has-th-elements-in-it.html

    HTML node
    <table>
    <thead>
    <tr>
    <th>Foo</th>
    <th>Bar</th>
    <th>Bat</th>
    <th>Baz</th>
    </tr>
    </thead>
    </table>
    CSS selector
    table