RuleSets of AccessMonitor - the validator of web accessibility practices
The “Table Header Cells Check” evaluates whether all <th>
(header cell) elements in a table are functionally connected to at least one <td>
(data cell).
I noticed that all header cells have associated data cells.
<th>
affects focus indicators and keyboard context.To address inappropriate table header cells:
<th>
element.<td>
element), or remove it if it does not apply to any data cell.headers
and scope
attributes (i.e., use scope="col"
or scope="row"
for simple tables and id
and headers
for complex tables).