This test file is modified.

W3C Logo W3C WAI Logo W3C WAI Test Suites

TD headers attribute

Requirement Reference

Test Suite: UAAG 1.0 Test Suite for HTML 4.01
Guideline 10: Orient the user
Checkpoint 10.1: Associate table cells and headers
Provision 10.1.1: For graphical user agents that render tables, for each table cell, allow the user to view associated header information.

Test is required for conformance

Procedure

Test

Cell 1.1
(id="header1")
Cell 1.2
(id="header2")
Cell 1.3
(id="header3")
Cell 1.4
(id="header4")
Table Header 1 Table Header 2 Table Header 3 Table Header 4
Cell 2.1
(id="header1")
Cell 2.2
(id="header2")
Cell 2.3
(id="header3")
Cell 2.4
(id="header4")
Cell 3.1
(id="header1")
Cell 3.2
(id="header2")
Cell 3.3
(id="header3")
Cell 3.4
(id="header4")

Source Code

<table border="1" cellpadding="5" summary="Test table for TD header attributes">
<tr>
<td headers="header1">Cell 1.1<br/>(id="header1")</td>
<td headers="header2">Cell 1.2<br/>(id="header2")</td>
<td headers="header3">Cell 1.3<br/>(id="header3")</td>
<td headers="header4">Cell 1.4<br/>(id="header4")</td>
</tr>
<tr>
<th id="header1">Table Header 1</th>
<th id="header2">Table Header 2</th>
<th id="header3">Table Header 3</th>
<th id="header4">Table Header 4</th>
</tr>
<tr>
<td headers="header1">Cell 2.1<br/>(id="header1")</td>
<td headers="header2">Cell 2.2<br/>(id="header2")</td>
<td headers="header3">Cell 2.3<br/>(id="header3")</td>
<td headers="header4">Cell 2.4<br/>(id="header4")</td>
</tr>
<tr>
<td headers="header1">Cell 3.1<br/>(id="header1")</td>
<td headers="header2">Cell 3.2<br/>(id="header2")</td>
<td headers="header3">Cell 3.3<br/>(id="header3")</td>
<td headers="header4">Cell 3.4<br/>(id="header4")</td>
</tr>
</table>

Results


Copyright 2004 University of Illinois at Urbana/Champaign, Disclaimer