Rule PDF-TAGS-8
Tabular data must use table markup for either simple or complex table tagging

Description

Best Practice Type: Manual Check

Simple Data Table
Contains at least 2 rows and 2 columns, and Contains at least one of the following:
  • th element
  • td element that contains a scope or headers attribute.
Complex Data Table
Satisfies all the requirements of data table detecton, and Contains at least one of the following:
  • tr element with a td or th element with rowspan or colspan attribute with a value > 1
  • tr element that contains both td elements AND more than one th element
  • Two or more tr elements that contain only th elements
  • A tr element with a td or th element with headers attribute that contains more than two idrefs

Markup

tag (PDF)

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 Manual Check
11.2 Identify relationships in complex data tables using id and headers attributes. Required Manual Check
Section 508 1194.22 (g) Row and column headers shall be identified for data tables. Required Manual Check
1194.22 (h) Markup shall be used to associate data cells and header cells for data tables that have two or more logical levels of row or column headers. Required Manual Check
WCAG 1.0 5.1 For data tables, identify row and column headers. Required Manual Check
WCAG 2.0 1.3.1 Info and Relationships Required Manual Check

Examples

none

Evaluation Techniues

Testsuite Tests

none