Table header cells are empty
Automated check empty-table-header, run with axe-core
- WCAG
- Best practice: a recommendation, not a WCAG success criterion
- Severity
- Moderate: a degraded experience
- Typical effort
- Quick win, under 1 hour
- Category
- Content
Who this affects
Screen reader users reading tables.
Why it matters
An empty header gives the cells in that column or row no context when they are read out.
How to fix it
Give every <th> meaningful text. If the cell is purely decorative, make it a <td> instead.
Check your own website
The free scan tests 3 pages against WCAG 2.2 A and AA in about 30 seconds. No sign-up.
Related checks: Content
- Meters have no accessible name
- Progress bars have no accessible name
- Tooltips have no accessible name
- Images have no text alternative
- Image alt text duplicates nearby visible text
- Embedded objects have no text alternative
- Elements with role="img" have no text alternative
- Table scope attributes are used incorrectly