Accessibility
Data tables with confusing header markup
One of the 156 checks Lala SEO runs on every page of a site in a free audit.
- How serious
- Worth knowing. Small, or only matters in some cases. Read it and decide.
- Score
- Reported, but it does not lower your site's score.
- Based on
- Industry standard: Google does not document this one, so the check follows established practice.
What is wrong
When a data table lacks proper header markup, screen readers cannot tell visitors which column or row a cell belongs to. This makes the table impossible to navigate for people using assistive technology. Search engines also struggle to understand the table's structure, which can affect how your content is indexed and displayed in results.
Why it costs you
The consequence is that a significant portion of your audience—including people with visual impairments—cannot use your tables at all. They may leave your site without finding the information they need. Search engines may also fail to extract the data correctly, reducing the chances that your tables appear in relevant searches.
How to fix it
To fix this, use the `<th>` tag (table header) instead of `<td>` (table data) for any cell that is a column or row header. Wrap all headers in a `<thead>` section if your table has them, and put the data rows in `<tbody>`. Add a `<caption>` element at the top of the table to describe what it shows. Make this change in your page template or content management system so it applies to all tables on your site at once, rather than fixing each table individually.
What the audit tests
- Every headers attribute on a table cell points at another cell in the same table
- Table header cells (<th>) have text
- The scope attribute is only on <th> cells and is row, col, rowgroup or colgroup
- A table's summary does not repeat its caption word for word
Check your site
Run a free audit of up to 300 pages. No card needed.
Start a free auditOther accessibility checks
- ARIA roles and attributes that are not valid
- ARIA widgets missing a required part
- Blinking text, timed reloads or sound that plays by itself
- Buttons with no name for screen readers
- Controls keyboard and screen reader users cannot reach properly
- Custom controls and dialogs with no name
- Elements with a tabindex above 0
- Embedded frames with no title
- Empty headings
- Form fields labelled in a confusing way
- Form fields with no name for screen readers
- Graphics with no text alternative
- Heading levels that skip
- Labels or ARIA attributes point at a duplicated id
- Language codes on parts of the page that are not valid
- Lists built with the wrong elements
- No main landmark on the page
- No working way to skip to the main content
- Page language code is not valid
- Page regions (landmarks) marked up in a confusing way
- Pinch-to-zoom is switched off
- Scrolling text built with the obsolete marquee tag
- Table header rows not marked as headers
- UI controls marked up as links
- Videos with no captions track
- Zoom is capped below 500%