We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE


The HTMLElement.accessKeyLabel read-only property returns a String that represents the element's assigned access key (if any); otherwise it returns an empty string.


label = element.accessKeyLabel



var node = document.getElementById('btn1');
if (node.accessKeyLabel) {
  node.title += ' [' + node.accessKeyLabel + ']';
} else {
  node.title += ' [' + node.accessKey + ']';

node.onclick = function () {
  var p = document.createElement('p');
  p.textContent = 'Clicked!';


<button accesskey="h" title="Caption" id="btn1">Hover me</button>



Specification Status Comment
HTML Living Standard
The definition of 'HTMLElement.accessKeyLabel' in that specification.
Living Standard No change from initial definition.
HTML 5.1 Recommendation Removed. pull w3c/html#144issue w3c/html#99WICG discussion.
The definition of 'HTMLElement.accessKeyLabel' in that specification.
Recommendation Snapshot of  HTML Living Standard, initial definition.

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support No support No support 8 (8) [1] No support No support No support
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support No support ? No support No support No support

[1] Before Firefox 36, accessKeyLabel on detached nodes always returned an empty string in Firefox. (bug 1037990)

See also

Document Tags and Contributors

 Contributors to this page: Krinkle
 Last updated by: Krinkle,