This is a draft document supplied by the WCAG Techniques Task Force. It in no way represents a WCAG Working Group consensus or agreement and is provided for informational and discussion purposes only. The accessibility test listed below should not be construed as required for conformance with the proposed WCAG2.
table
header labels require terse substitutes.Copyright 2005, ATRC, University Of Toronto, All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.
This test case was created by the ATRC at the University Of Toronto. It should not be construed as required for conformance with the proposed WCAG2.
The complete list of tests may be found at http://www.w3.org/WAI/GL/WCAG20/tests/
Comments on this test may be made to the WCAG mailing list.
As part of the conformance test process, this test has a status of 'unconfirmed'.
This test is not required for conformance to the current WCAG2. It is provided for discussion and informational purposes only.
There are no techniques related to this test.
There are no prerequisite tests for this test.
th
elements in the content.th
element content is greater than 20 characters then check if there is an abbr
attribute on the th
element.abbr
attribute value is an abbreviation for the th
element content.abbr
attribute value.abbr
attribute value to the th
element.Any accessibility check may be performed after this test.
This test contains language specific directions and is dependent upon the language of the content. It may be applied only to content written in the following languages:
Language | |
---|---|
eng | 20 |
abbr |
These test files contain examples of the accessibility problem detectable by this test. They may also contain more accessibility problems than the one described in this test. Please ignore any extraneous accessibility problems in these files.
table
headers are long.)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #152 - Positive</title>
</head>
<body>
<TABLE border="1" summary="This simple data table demonstrates the use of summary">
<caption>A Test Table</caption>
<TR>
<TD></TD>
<TH>Col. 1 header really long text</TH>
<TH>Col. 2 header really long text</TH>
</TR>
<TR>
<TH>Row 1 header</TH>
<TD>C1R1</TD>
<TD>C1R2</TD>
</TR>
<TR>
<TH>Row 2 header</TH>
<TD>C2R1</TD>
<TD>C2R2</TD>
</TR>
</TABLE>
</body>
</html>
table
headers are short.)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #152 - Positive</title>
</head>
<body>
<TABLE border="1" summary="This simple data table demonstrates the use of summary">
<TR>
<TD></TD>
<TH>Col. 1 header</TH>
<TH>Col. 2 header</TH>
</TR>
<TR>
<TH>Row 1 header</TH>
<TD>C1R1</TD>
<TD>C1R2</TD>
</TR>
<TR>
<TH>Row 2 header</TH>
<TD>C2R1</TD>
<TD>C2R2</TD>
</TR>
</TABLE>
</body>
</html>
table
headers are long but contains an abbr
attribute.)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>OAC Testfile - Check #152 - Positive</title>
</head>
<body>
<TABLE border="1" summary="This simple data table demonstrates the use of summary">
<caption>A Test Table</caption>
<TR>
<TD></TD>
<TH abbr="long text">Col. 1 header really long text</TH>
<TH abbr="long text2">Col. 2 header really long text</TH>
</TR>
<TR>
<TH>Row 1 header</TH>
<TD>C1R1</TD>
<TD>C1R2</TD>
</TR>
<TR>
<TH>Row 2 header</TH>
<TD>C2R1</TD>
<TD>C2R2</TD>
</TR>
</TABLE>
</body>
</html>