Table scope attributes are used incorrectly
Automated check scope-attr-valid, run with axe-core
- WCAG
- Best practice: a recommendation, not a WCAG success criterion
- Severity
- Moderate: a degraded experience
- Typical effort
- Quick win, under 1 hour
- Category
- Content
Who this affects
Screen reader users reading data tables.
Why it matters
An invalid scope value, or scope on a data cell, breaks the link between headers and data.
How to fix it
Use scope only on <th>, with the values col, row, colgroup or rowgroup.
Check your own website
The free scan tests 3 pages against WCAG 2.2 A and AA in about 30 seconds. No sign-up.