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.
select
should contain optgroup
if it has a large number of options
.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 'assigned'.
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.
The following tests must be run before running this test. If any of the prerequisite tests fail then this test is invalid and should not be run.
Any accessibility check may be performed after this test.
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.
option
s without optgroup
.)
<!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 #169 - Positive</title>
</head>
<body>
<form action="http://example.com/prog/someprog" method="post">
<label for="select1">master</label>
<select name="ComOS" id="select1">
<option label="3.7.1" value="pm3_3.7.1">
PortMaster 3 with ComOS 3.7.1
</option>
<option label="3.7" value="pm3_3.7">
PortMaster 3 with ComOS 3.7
</option>
<option label="3.5" value="pm3_3.5">
PortMaster 3 with ComOS 3.5
</option>
<option label="3.7" value="pm2_3.7">
PortMaster 2 with ComOS 3.7
</option>
</select>
</form>
</body>
</html>
option
s with optgroup
.)
<!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 #169 - Negative</title>
</head>
<body>
<form action="http://example.com/prog/someprog" method="post">
<select name="ComOS">
<optgroup label="PortMaster 3">
<option label="3.7.1" value="pm3_3.7.1">
PortMaster 3 with ComOS 3.7.1
</option>
<option label="3.7" value="pm3_3.7">
PortMaster 3 with ComOS 3.7
</option>
<option label="3.5" value="pm3_3.5">
PortMaster 3 with ComOS 3.5
</option>
</optgroup>
<optgroup label="PortMaster 2">
<option label="3.7" value="pm2_3.7">
PortMaster 2 with ComOS 3.7
</option>
<option label="3.5" value="pm2_3.5">
PortMaster 2 with ComOS 3.5
</option>
</optgroup>
<optgroup label="IRX">
<option label="3.7R" value="IRX_3.7R">
IRX with ComOS 3.7R
</option>
<option label="3.5R" value="IRX_3.5R">
IRX with ComOS 3.5R
</option>
</optgroup>
</select>
</form>
</body>
</html>