Re: Mapping for aria-keyshortcuts in AXAPI?

On 06/28/2016 06:27 PM, cfleizach@apple.com wrote:
> 
>> On Jun 28, 2016, at 3:24 PM, Joanmarie Diggs <jdiggs@igalia.com> wrote:

>> The spec [1] currently states, "Note that Meta corresponds to the
>> Command key on Apple computers." So we presumably need a similar
>> statement for Alt, which seems to correspond to the Option key.

That Alt corresponds to Option is now stated in the spec. [1] If there
are any others which need to be added, please let me know.

> We probably want to inform what the consumers of this API should do with this info... 
> 
> that is) does the screenreader directly announce these keys, or do they map them back to their platform specifics. And then have the mapping be provided in the spec so that we know Alt -> Option and Meta -> Command and so on

I'll leave it to others more familiar with this property to chime in.
But what the spec states is:

    User agents MUST NOT change keyboard behavior in response to the
    aria-keyshortcuts attribute. Authors MUST handle scripted keyboard
    events to process aria-keyshortcuts. The aria-keyshortcuts
    attribute exposes the existence of these shortcuts so that
    assistive technologies can communicate this information to users.

--joanie

[1] https://rawgit.com/w3c/aria/master/aria/aria.html#aria-keyshortcuts

Received on Tuesday, 28 June 2016 22:51:17 UTC