Element.accessKey

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

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
accessKeyChrome No support No
Notes
No support No
Notes
Notes Implemented on HTMLElement.
Edge No support No
Notes
No support No
Notes
Notes Implemented on HTMLElement.
Firefox ? IE ? Opera No support No
Notes
No support No
Notes
Notes Implemented on HTMLElement.
Safari ? WebView Android No support No
Notes
No support No
Notes
Notes Implemented on HTMLElement.
Chrome Android No support No
Notes
No support No
Notes
Notes Implemented on HTMLElement.
Firefox Android ? Opera Android No support No
Notes
No support No
Notes
Notes Implemented on HTMLElement.
Safari iOS ? Samsung Internet Android No support No
Notes
No support No
Notes
Notes Implemented on HTMLElement.

Legend

No support
No support
Compatibility unknown
Compatibility unknown
See implementation notes.
See implementation notes.

See also