W3CWeb Accessibility Initiative Home

CAPTION

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 :

Procedure

  1. Determine whether or not the user agent has made CAPTION content available.

Run test

Test table for table CAPTION content
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

Expected results

  1. The content of the CAPTION element--"Test table for table CAPTION content"--should be available to the user.

Source code

<table border="1" cellpadding="5">
  <caption>Test table for table CAPTION content</caption>
  <tr>
    <th rowspan="1" colspan="1">Table header 1</th>
    <th rowspan="1" colspan="1">Table header 2</th>
    <th rowspan="1" colspan="1">Table header 3</th>
    <th rowspan="1" colspan="1">Table header 4</th>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">Cell 1.1</td>
    <td rowspan="1" colspan="1">Cell 1.2</td>
    <td rowspan="1" colspan="1">Cell 1.3</td>
    <td rowspan="1" colspan="1">Cell 1.4</td>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">Cell 2.1</td>
    <td rowspan="1" colspan="1">Cell 2.2</td>
    <td rowspan="1" colspan="1">Cell 2.3</td>
    <td rowspan="1" colspan="1">Cell 2.4</td>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">Cell 3.1</td>
    <td rowspan="1" colspan="1">Cell 3.2</td>
    <td rowspan="1" colspan="1">Cell 3.3</td>
    <td rowspan="1" colspan="1">Cell 3.4</td>
  </tr>
  <tr>
    <td rowspan="1" colspan="1">Cell 4.1</td>
    <td rowspan="1" colspan="1">Cell 4.2</td>
    <td rowspan="1" colspan="1">Cell 4.3</td>
    <td rowspan="1" colspan="1">Cell 4.4</td>
  </tr>
</table>

References

  1. HTML 4.01 specification for CAPTION

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 $