Access keys
From Wikipedia, the free encyclopedia
- For the use of access keys in Wikipedia, see Wikipedia:Keyboard shortcuts.
An access key allows a computer user to immediately jump to a specific part of a web page via the keyboard. In most web browsers, the user does this by pressing ALT (PC) or CTRL (Mac) followed by the appropriate character on the keyboard. In Opera, the user presses SHIFT-ESC followed by the access key (without ALT). In Firefox 2.0 the access key keyboard combination has changed to Alt + Shift.
In the summer of 2002, a Canadian Web Accessibility consultancy did an informal survey to see if implementing accesskeys caused issues for users of adaptive technology, especially screen reading technology used by blind and low vision users. These users require numerous keyboard shortcuts to access web pages, as "pointing and clicking" a mouse is not an option for them. Sadly, their research showed that most key stroke combinations did in fact present a conflict for one or more of these technologies, and their final recommendation was to avoid using accesskeys altogether. (See the link below: Using Accesskeys - Is it worth it?)
The World Wide Web Consortium, the organization responsible for establishing internet standards, has acknowledged this short-coming, and in their latest draft documents for a revised web authoring language (XHTML 2), they have deprecated (retired) the ACCESSKEY attribute in favor of the XHTML Role Access Module.
Access keys are specified using the accesskey attribute. The value of the accesskey attribute is what the user will press in order to follow that specific link. The accesskey attribute sets the value of the accesskey, and this can be shown by using the '' tag to underline the accesskey assigned in the link's text. For the below link you would press ALT+H on a PC, Control+H on a Mac (the command key can give undesired results) and Shift+Escape H on Opera to be directed to index.html.
Home or to underline 'H': Home
The underlining '' isn't necessary, but can be useful to the user. It helps them identify which key to press to navigate to where they want to. Another possible ways of displaying which accesskeys do what is to create a page with all the accesskeys displayed. Or the webmaster could do both.
- Using Accesskeys - Is it worth it?
- Accesskeys and Reserved Keystroke Combinations
- ACCESS + KEY = Accesskey (XHTML Role Access Module still flawed)
- Accesskeys: Unlocking Hidden Navigation
- Using Accesskeys is Easy
- Optimise for keyboard access
- A bug report for the MediaWiki software regarding conflicts with Accesskeys - includes lengthy discussion of various problems on different platforms
- Changes to Accesskeys in Firefox 2.0