Accy

Table with no title

WCAG 1.3.1 (A) · EN 301 549 9.1.3.1

There is a data table with no <caption> and no accessible name.

Why it matters

When listing the tables on a page, an untitled one appears unidentified. With several tables on one product page (sizes, materials, delivery) they become indistinguishable.

How to fix it

Add a <caption> as the first child of the table.

As it is
<table><tr><th>Size</th>…</table>
As it should be
<table>
  <caption>T-shirt size guide</caption>
  <tr><th scope="col">Size</th>…
</table>

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.