Sunday, July 20, 2008

Accesskey attributes

The accesskey specifies a single letter or number as the keyboard shortcut for the link or user-input object. The object is activated by the keyboard combination alt + shift + character . If the shortcut character appears in the link text it will be underlined.
Note this does not work consistently in different browsers. Opera does not seem to support it at all. IE7 and IE6 supports it for text-input fields but not links. Firefox seems to fully support accesskeys.
<a name="test" href="form.html" title="just a test link!" accesskey="a">

No comments: