x-ms-acceleratorkey

Non-standard
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.

Syntax

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

Value

Type: String

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

See also

Document Tags and Contributors

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