NEW159215
AX: ARIA 1.1 @aria-keyshortcuts
https://bugs.webkit.org/show_bug.cgi?id=159215
Summary AX: ARIA 1.1 @aria-keyshortcuts
Nan Wang
Reported 2016-06-28 10:24:11 PDT
Add support for ARIA 1.1 'aria-keyshortcuts'. https://rawgit.com/w3c/aria/master/aria/aria.html#aria-keyshortcuts Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Attachments
Radar WebKit Bug Importer
Comment 1 2016-06-28 10:24:59 PDT
James Craig
Comment 2 2016-06-28 22:19:15 PDT
Please don't use "ARIA" in the property name.
James Craig
Comment 3 2016-06-28 22:47:25 PDT
I've already pointed out that this Web API will be difficult to do well across platforms and locales. Many keyboards have totally different layouts than US English, with some characters requiring different modifier keys to access. For example, you have to hold Shift to access the number keys on french keyboards, so if you wanted a primary modifier + "8" it gets even more complicated: Authors wishing to localize would need to know all these rules: aria-shortcuts="Control+8" (US PC) aria-shortcuts="Meta+8" (US Mac: e.g. Command+8) aria-shortcuts="Meta+Shift+!" (French Mac; not a typo, 8 is Shift+! in France) aria-shortcuts="Control+Shift+_" (French PC; again, not a typo, 8 is typed different on French PCs and Macs) "Shift+1" becomes even more ambiguous in French ("What is shifted may never shift."), and there is no Web API to figure out which keyboard a user has.
Aaron Leventhal
Comment 4 2017-12-07 10:29:52 PST
Whatever property is chosen, we'd like to implement it in Chrome as well. Does it make sense to use the property outside of web content as well? For example, exposing "⌘L" for the address bar.
James Craig
Comment 5 2019-09-26 12:00:55 PDT
Better link than the rawgit URL above: https://www.w3.org/TR/wai-aria-1.1/#aria-keyshortcuts
Emily Meng
Comment 6 2022-07-19 16:26:47 PDT
Hello, is there any update on this request? I would also like to see support for this added.
Note You need to log in before you can comment on or make changes to this bug.