The Element.accessKey
property sets the keystroke which a user can press to jump to a given element.
The Element.accessKey
property is seldom used because of its multiple conflicts with already present key bindings in browsers. To work around this, browsers implement accesskey behavior if the keys are pressed with other "qualifying" keys (such as Alt + accesskey).
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
accessKey | Chrome
No support
No
| Edge
No support
No
| Firefox ? | IE ? | Opera
No support
No
| Safari ? | WebView Android
No support
No
| Chrome Android
No support
No
| Firefox Android ? | Opera Android
No support
No
| Safari iOS ? | Samsung Internet Android
No support
No
|
Legend
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- See implementation notes.
- See implementation notes.