HTMLElement: accessKey property

The HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.

Note: The HTMLElement.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).

Specifications

Specification
HTML Standard
# dom-accesskey

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
accessKey

See also