HTML 4.0 makes it possible to "keyboard enable" anchors and form controls. For instance, the following form form has been keyboard enabled for browsers that support the accesskey attribute. In this example, the active keys are:
- a - to skip the form to find accessible alternatives;
- s - to submit the form,
- u - to undo the form,
- m - to enter company name,
- r, g, or b - to select the color red, green or blue as your favorite color.
In the example below, the active keys are also underlined or, on input buttons, separated from the rest of the word and capitalized. Please note that this highlighting was done manually... the accesskey attribute does not cause any highlighting or otherwise identify the chosen letter in any known browser.
Also, please note that browsers that support the accesskey attribute may do so differently. If you use Internet Explorer 4.0 or 5.0, you can hold down the ALT-key and press the corresponding letter to see how that browser supports the accesskey attribute (IE 4.0 and 5.0 differ in how they support accesskey). Other browsers may use other attention-getting keys, or not support accesskey at all.
Note: please do NOT try to submit this example form. It may cause an error on some systems.
Skip the form to find Accessible alternatives.
To Checkpoints for Guideline 9.Next slide: Example for Checkpoint 10.1