In this page there are defined various accesskey:
- 1,2,3 to open the reference links;
- S to go in the first input box (it doesn't work with FF3 beta 3 and FF3 pre Beta4);
- P to go in the second input box;
- V to validate this page with W3C validator.
All these accesskey works correctly with Firefox 2.0.0.x.
In Firefox 3.0 (Beta3 or pre Beta4) the accesskey S is not detected. This is the only accesskey defined outside the object which it is associated (It is defined inside the label containing the input box).
These are links to W3C documentation about accesskey, and accesskey are allowed to be defined in label element:
Reference:
- http://www.w3.org/TR/WCAG10-HTML-TECHS/
- http://www.w3.org/TR/html401/interact/forms.html#adef-accesskey
- http://www.w3.org/TR/html401/interact/forms.html#adef-accesskey
This is the code used to generate accesskey in this page:
<label for="first" accesskey="s">first box:
<input type="text" id="first" tabindex="1" value="Press ALT-SHIFT-S to put focus in this input box" />
</label><br/>
<br/>
<label for="second">Second:
<input type="text" id="second" tabindex="2" accesskey="p" value="Press ALT-SHIFT-P to put focus in this input box" />
</label>