the ABBR attribute for TH elements
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.
Procedure
- When table header content is repeatedly rendered by the user agent, the content of the ABBR attribute should be rendered in place of table header content.
Run test
Long Title for Table Header 1 |
Long Title for Table Header 2 |
Long Title for Table Header 3 |
Long Title for 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
- The user agent should render the content of the TH ABBR attribute when repeatedly rendering associated table header and table cell content.
Source code
<table border="1" cellpadding="5" summary="Test table for table header ABBR attribute">
<tr>
<th abbr="col 1" rowspan="1" colspan="1">Long Title for Table Header 1</th>
<th abbr="col 2" rowspan="1" colspan="1">Long Title for Table Header 2</th>
<th abbr="col 3" rowspan="1" colspan="1">Long Title for Table Header 3</th>
<th abbr="col 4" rowspan="1" colspan="1">Long Title for 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>
-
HTML 4.01 specification for ABBR
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 $
Copyright
© 1999 - 2003
W3C®
(
MIT
,
INRIA
,
Keio
), All Rights Reserved. W3C
liability
,
trademark
,
document use
and
software licensing
rules apply.