Our volunteers haven't translated this article into Hrvatski yet. Join us and help get the job done!
You can also read the article in English (US).

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The x-ms-acceleratorkey property provides a way to declare that an accelerator key has been assigned to an element.

This proprietary property is specific to Internet Explorer and Microsoft Edge.

The x-ms-acceleratorkey property enables you to expose a notification in the accessibility tree to screen readers and other assistive technologies that an accelerator key exists. This attribute does not provide the accelerator key behavior. You must provide keyboard event handlers, such as onkeypress, onkeydown, or onkeyup, to process accelerator keys in your document.


<button x-ms-acceleratorkey="string">...</button>


Type: String

Name of accelerator key, for example: Ctrl+B or Ctrl+S.

See also

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, ExE-Boss, mattwojo
Last updated by: mdnwebdocs-bot,