ACCESSKEY attribute for LABEL
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
1.1
Full keyboard access
(Priority
1
)
-
Provision
1
:
Ensure that the user can operate, through keyboard input alone, any user agent functionality available through the user interface.
Procedure
- Using the standard keyboard or an assistive technology that emulates the keyboard, move focus to each form contol using the accesskey assigned to the form control label.
Run test
Expected results
- The keyboard or assistive technology that emulates
the keyboard moves focus to each form control.
Focus is moved using the key that corresponds to the value of the accesskey attribute for each form control label.
Source code
<form action="../action/return.html" method="post" title="Test Form 1" enctype="application/x-www-form-urlencoded">
<table border="1" cellpadding="5" summary="Layout table for test form number 1">
<tr>
<th rowspan="1" colspan="1">Test form for form control element labels containing the accesskey attribute</th>
</tr>
<tr>
<td rowspan="1" colspan="1">
<label accesskey="a">
<input type="text" name="text1"></input>
</label>
</td>
</tr>
<tr>
<td rowspan="1" colspan="1">
<label accesskey="b">
<textarea rows="1" cols="20" name="textarea1"></textarea>
</label>
</td>
</tr>
<tr>
<td rowspan="1" colspan="1">
<label accesskey="c">
<input type="reset" name="reset1" value="Reset"></input>
</label>
</td>
</tr>
<tr>
<td rowspan="1" colspan="1">
<label accesskey="d">
<input type="submit" name="submit1" value="Submit"></input>
</label>
</td>
</tr>
</table>
</form>
-
HTML 4.01 specification for ACCESSKEY
-
HTML 4.01 specification for LABEL
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: 2004/03/09 18:53:26 $ by $Author: jongund $
Copyright
© 1999 - 2003
W3C®
(
MIT
,
INRIA
,
Keio
), All Rights Reserved. W3C
liability
,
trademark
,
document use
and
software licensing
rules apply.