W3CWeb Accessibility Initiative Home


On this page: Test 1 | References | About these tests

Nearby: More HTML 4.01 Tests | UAAG 1.0 Test Suite

UAAG 1.0 Requirement

Checkpoint 10.1 Associate table cells and headers (Priority 1 )
Provision 1 : For graphical user agents that render tables, for each table cell, allow the user to view associated header information.

Test 1 :


  1. Determine whether or not table cell relationships correspond correctly with COLGROUP content.

Run test

Rows Column 1 Column 2 Column 3 Column 4
Rows Column 1 footer Column 2 footer Column 3 footer Column 4 footer
Row 1 1.1 2.1 3.1 4.1
Row 2 1.2 2.2 3.2 4.2
Row 3 1.3 2.3 3.3 4.3
Row 4 1.4 2.4 3.4 4.4

Expected results

  1. The user agent should make available the association among cells in the first column.
  2. The user agent should make available the association among cells in the next four columns.

Source code

<table border="1" cellpadding="5" summary="Test table for COL and COLGROUP elements">
  <colgroup span="1">
    <col id="rownumber" span="1"></col>
    <col id="data" span="4"></col>
      <th rowspan="1" colspan="1">Rows</th>
      <th rowspan="1" colspan="1">Column 1</th>
      <th rowspan="1" colspan="1">Column 2</th>
      <th rowspan="1" colspan="1">Column 3</th>
      <th rowspan="1" colspan="1">Column 4</th>
      <th rowspan="1" colspan="1">Rows</th>
      <th rowspan="1" colspan="1">Column 1 footer</th>
      <th rowspan="1" colspan="1">Column 2 footer</th>
      <th rowspan="1" colspan="1">Column 3 footer</th>
      <th rowspan="1" colspan="1">Column 4 footer</th>
      <th rowspan="1" colspan="1">Row 1</th>
      <td rowspan="1" colspan="1">1.1</td>
      <td rowspan="1" colspan="1">2.1</td>
      <td rowspan="1" colspan="1">3.1</td>
      <td rowspan="1" colspan="1">4.1</td>
      <th rowspan="1" colspan="1">Row 2</th>
      <td rowspan="1" colspan="1">1.2</td>
      <td rowspan="1" colspan="1">2.2</td>
      <td rowspan="1" colspan="1">3.2</td>
      <td rowspan="1" colspan="1">4.2</td>
      <th rowspan="1" colspan="1">Row 3</th>
      <td rowspan="1" colspan="1">1.3</td>
      <td rowspan="1" colspan="1">2.3</td>
      <td rowspan="1" colspan="1">3.3</td>
      <td rowspan="1" colspan="1">4.3</td>
      <th rowspan="1" colspan="1">Row 4</th>
      <td rowspan="1" colspan="1">1.4</td>
      <td rowspan="1" colspan="1">2.4</td>
      <td rowspan="1" colspan="1">3.4</td>
      <td rowspan="1" colspan="1">4.4</td>


  1. HTML 4.01 specification for COL
  2. HTML 4.01 specification for COLGROUP

About this test suite

This test is part of a test suite for the User Agent Accessibility Guidelines (UAAG) 1.0 . This work is conducted by the User Agent Accessibility Guidelines Working Group , which is part of W3C's Web Accessibility Initiative (WAI) . Please send comments on this test to w3c-wai-ua@w3.org ( public archive ).

Test created by:

Last modified: $Date: 2003/04/02 23:46:50 $ by $Author: jongund $