accesskey
The accesskey attribute specifies a shortcut key to activate/focus an element.
Note: The way of accessing the shortcut key is varying in different browsers:
Internet Explorer
Windows - [Alt] + accesskey
Chrome
Windows - [Alt] + accesskey Linux - [Alt] + accesskey Mac - [Control] [Alt] + accesskey
Firefox
Windows - [Alt] [Shift] + accesskey Linux - [Alt] [Shift] + accesskey Mac - [Control] [Alt] + accesskey
Safari
Windows - [Alt] + accesskey Mac - [Control] [Alt] + accesskey
Opera
Windows - Opera 15 or newer: [Alt] + accesskey - Opera 12.1 or older: [Shift] [Esc] + accesskey
However, in most browsers the shortcut can be set to another combination of keys.
Tip: The behavior if more than one element has the same access key differs:
- IE, Firefox: The next element with the pressed access key will be activated
- Chrome, Safari: The last element with the pressed access key will be activated
- Opera: The first element with the pressed access key will be activated