ACCESSKEY attribute for LEGEND
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 fieldset using the accesskey assigned to each fieldset legend element.
Run test
Expected results
- The keyboard or assistive technology that emulates
the keyboard moves focus to each form fieldset.
Focus is moved using the key that corresponds to the value of the accesskey attribute for each legend element.
Source code
<form action="../action/return.html" method="post" title="Test Form 1" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend accesskey="a">Form fieldset 1 (accesskey "A")</legend>
<label>
<input type="text" name="text1"></input>
</label>
<br clear="none"></br>
<label>
<input type="text" name="text2"></input>
</label>
<br clear="none"></br>
<label>
<textarea rows="2" cols="20" name="textarea1"></textarea>
</label>
</fieldset>
<fieldset>
<legend accesskey="b">Form fieldset 2 (accesskey "B")</legend>
<label>
<input type="text" name="text3"></input>
</label>
<br clear="none"></br>
<label>
<input type="text" name="text2"></input>
</label>
<br clear="none"></br>
<label>
<textarea rows="2" cols="20" name="textarea2"></textarea>
</label>
</fieldset>
<fieldset>
<legend accesskey="c">Form fieldset 3 (accesskey "C")</legend>
<label>
<input type="reset" name="reset1" value="Reset"></input>
</label>
<label>
<input type="submit" name="submit1" value="Submit"></input>
</label>
</fieldset>
</form>
-
HTML 4.01 specification for ACCESSKEY
-
HTML 4.01 specification for LEGEND
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/07/01 19:42:29 $ by $Author: koteles $
Copyright
© 1999 - 2003
W3C®
(
MIT
,
INRIA
,
Keio
), All Rights Reserved. W3C
liability
,
trademark
,
document use
and
software licensing
rules apply.