Accessibility · Lists and tables
Scope attribute used incorrectly
A table header on this page has scope="rows", which is not a valid value, so screen readers may not link the header to its cells.
How this page is built
In the table below, the Monday header has scope="rows". The valid values are row, col, rowgroup and colgroup.
| Day | Opens | Closes |
|---|---|---|
| Monday | 9am | 5pm |
| Tuesday | 9am | 5pm |
Why it matters
The scope attribute tells assistive technology which cells a header labels. An invalid value is ignored, so the header may not be read with its cells. Scope is also only valid on th elements.
Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.
How to check it
Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule scope-attr-valid.
How to fix it
Use a valid value, here scope="row", and only on <th> elements.