5.7
For each data table, is the appropriate technique used to associate each cell with its headers (excluding special cases)?
WCAG Reference
WCAG 1.3.1Tests
- 5.7.1
For each content of the
<th>tag applying to the whole row or column, does the<th>tag respect one of these conditions (excluding special cases)?The<th>tag has a uniqueidattribute.
The<th>tag has ascopeattribute.
The<th>tag has a WAI-ARIArole="rowheader"orrole="columnheader"attribute. - 5.7.2
For each
<th>tag content that applies to the whole row or column and has ascopeattribute, does the<th>tag meet one of these conditions?The<th>tag has ascopeattribute with the"row"value for row headers.
The<th>tag has ascopeattribute with the"col"value for column headers. - 5.7.3
For each content of the
<th>tag that does not apply to the entire row or column, does the<th>tag meet these conditions?The<th>tag does not have anscopeattribute.
The<th>tag does not have a WAI-ARIArole="rowheader"orrole="columnheader"attribute.
The<th>tag has a uniqueidattribute. - 5.7.4
For each
<td>or<th>tag content associated with one or more headers with anidattribute, does the tag check these conditions?The tag has aheadersattribute.
Theheadersattribute has a list ofidattribute values for the associated headers. - 5.7.5
For each tag with a WAI-ARIA
role="rowheader"orrole="columnheader"attribute whose content applies to the entire row or column, does the tag meet one of these conditions?The tag has a WAI-ARIArole="rowheader"attribute for row headers.
The tag has a WAI-ARIArole="columnheader"attribute for column headers. - 5.7.6
For each
<th>tag content that applies to a group of columns or rows and has a scope attribute, does the<th>tag meet one of these conditions?The<th>tag has ascopeattribute with the valuerowgroupfor groups of row headers.
The<th>tag has ascopeattribute with the valuecolgroupfor groups of column headers.
WCAG Techniques
- F90
- H43
- H63