aria-keyshortcuts
StringLists the keyboard shortcuts you've implemented to activate an element or move focus to it, such as 'Control+S'. It only advertises the shortcuts to assistive technologies; you still have to wire up the actual key handling yourself. Keep them discoverable and avoid clashing with browser and screen-reader keys.
Value
Any string of text.
Used on
Any HTML element —
aria-keyshortcuts is a global property.Associated roles
Every ARIA role. As a global property,
aria-keyshortcuts is supported on all roles.Example
aria-keyshortcuts="…"
<button aria-keyshortcuts="Control+S">Save</button>References