Accy

Data table with no header cells

WCAG 1.3.1 (A) · EN 301 549 9.1.3.1

There is a table with data but no <th> cells.

Why it matters

In a properly marked-up table, a screen reader announces "Size: M, Price: £19" as the person moves between cells. Without headers it reads only "M, £19", and they have to remember the column order.

How to fix it

Turn the first row (or column) into <th> and add scope="col" or scope="row".

As it is
<tr><td>Size</td><td>Price</td></tr>
<tr><td>M</td><td>£19</td></tr>
As it should be
<tr><th scope="col">Size</th><th scope="col">Price</th></tr>
<tr><td>M</td><td>£19</td></tr>

On your platform

Related

Does your shop have this failure?

Check for free, along with the other 54 rules. No sign-up.

No sign-up. We scan one public page and store nothing about you.