Accessibility · Lists and tables
Table header without data cells
A table on this page has header cells but no data cells for them to describe, so the headers point at nothing.
How this page is built
The table below has a caption and a header row, but no data rows.
| Test | Result |
|---|
Why it matters
Header cells exist to label data cells. A header with nothing to label is announced as an empty table or a stray label, and often means the data failed to load or the table is used for layout.
Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.
How to check it
Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule th-has-data-cells.
How to fix it
Add the data rows, or remove the table when there is no data, and show a message such as “No results” instead.