UU-sjekken

Fix guides

How to fix: table cells point to wrong headers

WCAG 2.2 success criterion 1.3.1 (level A)

Why it matters

headers="…" refers to ids that do not exist, so cells lose their column names.

How to fix

Make every id in a headers attribute match a <th> in the same table, or use scope instead.

<th id="price">Price</th> … <td headers="price">299 kr</td>

Check your own site

Find this and other problems on your website in 30 seconds, free.