ACTION-1695: Propose UIA mapping for aria-kbdshortcuts
Propose UIA mapping for aria-kbdshortcuts
- State:
- closed
- Person:
- Joseph Scheuhammer
- Due on:
- March 8, 2016
- Created on:
- July 28, 2015
- Associated Issue:
- ISSUE-1016
- Related emails:
- No related emails
Related notes:
Spec text:
http://rawgit.com/w3c/aria/master/aria/aria.html#aria-kbdshortcuts
There isn't an obvious mapping. I'm looking into how this works for native keyboard shortcuts.
Cynthia Shelly, 26 Jan 2016, 18:18:08no obvious mapping. looking into what we do with native keyboard hints.
Cynthia Shelly, 26 Jan 2016, 20:03:25These are the two options in UIA. Neither one seems like a clear equivalent to the keyboard behavior currently being discussed on the list.
AccleratorKey
A string containing the accelerator key (also called shortcut key) combinations for the automation element.
Shortcut key combinations invoke an action. For example, CTRL+O is often used to invoke the Open file common dialog box. An automation element that has the AcceleratorKey property can implement the Invoke control pattern for the action that is equivalent to the shortcut command.
AccessKey property
A string containing the access key character for the automation element.
An access key (sometimes called a mnemonic) is a character in the text of a menu, menu item, or label of a control such as a button, that activates the associated menu function. For example, to open the File menu, for which the access key is typically F, the user would press ALT+F.
[from https://msdn.microsoft.com/en-us/library/windows/desktop/ee684017(v=vs.85).aspx#UIA_AcceleratorKeyPropertyId]
Accelerator key combinations invoke an action. For example, CTRL+O is often used to invoke the Open file common dialog box. An AutomationElement that has the accelerator key property set always implements the InvokePattern class.
[From https://msdn.microsoft.com/en-us/library/system.windows.automation.automationelement.acceleratorkeyproperty(v=vs.110).aspx]
I'm investigating whether this mapping will cause an invoke or just describe one.
Cynthia Shelly, 9 Mar 2016, 16:58:58It is only a description. There is no Windows magic created by this mapping.
I think AcceleratorKey is a closer mapping, but I like the idea of creating a mnemonic when the key is visible. Maybe we could add that as a separate feature?
AcceleratorKey = the contents of aria-kbdshortcuts.
Note that the name is no longer aria-kbdshortcuts -- see the latest ARIA spec draft for the correct name.
Changes made, marking "pending review":
https://github.com/w3c/aria/commit/2761c0c811a7d80073bd174a4cf689b29b8e024d
Rawgit:
https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaKeyshortcuts
Closed at AAPI meeting 31-May-2016.
Display change log.