Chuyển đến:

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

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

Những người đóng góp cho trang này: mdnwebdocs-bot, ExE-Boss, mattwojo
Cập nhật lần cuối bởi: mdnwebdocs-bot,