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.
input
element, type
of "text", must have a tab index.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 'rejected'.
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.
input
elements that have a type
attribute value of "text".input
element contains a tabindex
attribute.tabindex
attribute value contains one or more characters.input
elements that have a type
attribute value of "text" must contain a valid tabindex
attribute value.tabindex
attribute value to the input
element.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.
input
element does not have tabindex
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 #138 - Positive</title>
</head>
<body>
<form>
<label for="name">Name</label>: <input type="text" name="name" id="name" value="your name here">
</form>
</body>
</html>
input
element has tabindex
attribute but it is empty.)
<!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 #138 - Negative</title>
</head>
<body>
<form>
<label for="name">Name</label>: <input type="text" name="name" id="name" tabindex="" value="your name">
</form>
</body>
</html>
input
element has valid tabindex
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 #138 - Negative</title>
</head>
<body>
<form>
<label for="name">Name</label>: <input type="text" name="name" id="name" tabindex="1" value="your name">
</form>
</body>
</html>