MDN self-hosted library · e01.org

HTMLElement: accessKey property

DOM

no runnable cells web-api-instance-property upstream source

DOM

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

Browser compatibility

See also