Scope attribute (scope-attribute)

Header cells must programmatically associate with their data cells using either the scope attribute on <th> or an id/headers pairing on <td>.


Invalid scope values:

This semantic table has scope attributes with invalid values:

Company (scope="lol") Contact (scope="lol") Country (scope="lol")
Alfreds Futterkiste Maria Anders Germany
Centro comercial Moctezuma Francisco Chang Mexico

Note: Possible to automatically test. This violation can be automatically detected by finding all elements with scope attributes and programmatically checking if the scope attributes have valid values (i.e. col, row, colgroup or rowgroup)

axe detected: 1.3.1  |  QualWeb detected: 1.3.1