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 audit

Other accessibility checks

All SEO checks