Rule DTABLE-1
For each data table, the first cell in each column must be a th element, and each row must contain at least one th element

Description

Best Practice Type: Pass/Fail

For each data table, the first cell in each column must be a th element, and each row must contain at least one th element

Notes

  • It is recommended but not required to use the caption element for titling a data table
  • It is recommended but not required to use the scope attribute indicating whether a heading is for a column or row

Markup

table (HTML4)

table[summary] (HTML4)

caption (HTML4)

th (HTML4)

th[id] (HTML4)

th[scope] (HTML4)

td (HTML4)

td[headers] (HTML4)

Associated Accessibility Guidelines and Standards

Guideline or
Standard
Requirement Priority Test
Type
IITAA 11.1 Identify a header cell for each column and row in simple data tables. Required Violation
Section 508 1194.22 (g) Row and column headers shall be identified for data tables. Required Violation
WCAG 1.0 5.1 For data tables, identify row and column headers. Required Violation
WCAG 2.0 1.3.1 Info and Relationships Required Violation

Examples

Evaluation Techniues

none

Testsuite Tests