RAWEBA
5.6 For each data table, are each column header and each row header correctly declared?
- WCAG references
- 1.3.1 Info and Relationships (A)
- Techniques
- F91
- H51
Official methodology to test criterion 5.6
Test 1 (5.6.1)
- Find the data tables in the document.
- For each column header that applies to the entire column, check that the column header is implemented using
- either a
<th>element; - or an element with a WAI-ARIA
role="columnheader"attribute.
- either a
- If this is the case for each column header applying to the entire column, the test is validated.
Test 2 (5.6.2)
- Find the data tables in the document.
- For each line header that applies to the whole line, check that the line header is implemented using
- either a
<th>element; - or an element with a WAI-ARIA
role="rowheader"attribute.
- either a
- If this is the case for each line header applying to the entire line, the test is validated.
Test 3 (5.6.3)
- Find the data tables in the document.
- For each header which does not apply to the entire row or column, check that the row header is implemented using a
<th>element. - If this is the case for each header which does not apply to the whole row or column, the test is validated.
Test 4 (5.6.4)
- Find the data tables in the document.
- For each cell associated with several headers, is it implemented using a
<th>or<td>tag. - If this is the case for each header that does not apply to the whole row or column, the test is validated.