This test file is modified.

W3C Logo W3C WAI Logo W3C WAI Test Suites

SCOPE

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

Header cell with scope set to "colgroup"
Table header 1
(scope set to "col")
Table header 2
(scope set to "col")
Table header 3
(scope set to "col")
Table header 4
(scope set to "col")
Cell 1.1 (scope set to "row") Cell 1.2 Cell 1.3 Cell 1.4
Cell 2.1 (scope set to "row") Cell 2.2 Cell 2.3 Cell 2.4
Cell 3.1 (scope set to "row") Cell 3.2 Cell 3.3 Cell 3.4
Cell 4.1 (scope set to "row") Cell 4.2 Cell 4.3 Cell 4.4
Header cell with scope set to "colgroup"
Table header 1
Table header 2
Table header 3
Table header 4
Cell 1.1 Cell 1.2 Cell 1.3 Cell 1.4
Cell 2.1 Cell 2.2 Cell 2.3 Cell 2.4
Cell 3.1 Cell 3.2 Cell 3.3 Cell 3.4
Cell 4.1 Cell 4.2 Cell 4.3 Cell 4.4

Source Code

<table border="1" cellpadding="5" summary="Test table for table cell scope attributes">
<tr>
<th colspan="5" scope="colgroup">Header cell with scope set to "colgroup"</th>
</tr>
<tr>
<th scope="col">Table header 1<br/>(scope set to "col")</th>
<th scope="col">Table header 2<br/>(scope set to "col")</th>
<th scope="col">Table header 3<br/>(scope set to "col")</th>
<th scope="col">Table header 4<br/>(scope set to "col")</th>
</tr>
<tr>
<td scope="row">Cell 1.1 (scope set to "row")</td>
<td>Cell 1.2</td>
<td>Cell 1.3</td>
<td>Cell 1.4</td>
</tr>
<tr>
<td scope="row">Cell 2.1 (scope set to "row")</td>
<td>Cell 2.2</td>
<td>Cell 2.3</td>
<td>Cell 2.4</td>
</tr>
<tr>
<td scope="row">Cell 3.1 (scope set to "row")</td>
<td>Cell 3.2</td>
<td>Cell 3.3</td>
<td>Cell 3.4</td>
</tr>
<tr>
<td scope="row">Cell 4.1 (scope set to "row")</td>
<td>Cell 4.2</td>
<td>Cell 4.3</td>
<td>Cell 4.4</td>
</tr>
</table>

<table border="1" cellpadding="5" summary="Test table for table cell scope attributes">
<tr>
<th colspan="5">Header cell with scope set to "colgroup"</th>
</tr>
<tr>
<th>Table header 1<br/></th>
<th>Table header 2<br/></th>
<th>Table header 3<br/></th>
<th>Table header 4<br/></th>
</tr>
<tr>
<td>Cell 1.1</td>
<td>Cell 1.2</td>
<td>Cell 1.3</td>
<td>Cell 1.4</td>
</tr>
<tr>
<td>Cell 2.1</td>
<td>Cell 2.2</td>
<td>Cell 2.3</td>
<td>Cell 2.4</td>
</tr>
<tr>
<td>Cell 3.1</td>
<td>Cell 3.2</td>
<td>Cell 3.3</td>
<td>Cell 3.4</td>
</tr>
<tr>
<td>Cell 4.1</td>
<td>Cell 4.2</td>
<td>Cell 4.3</td>
<td>Cell 4.4</td>
</tr>
</table>

Results


Copyright 2004 University of Illinois at Urbana/Champaign, Disclaimer