<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: ARIA 1.1 @aria-keyshortcuts"
href="https://bugs.webkit.org/show_bug.cgi?id=159215#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: ARIA 1.1 @aria-keyshortcuts"
href="https://bugs.webkit.org/show_bug.cgi?id=159215">bug 159215</a>
from <span class="vcard"><a class="email" href="mailto:jcraig@apple.com" title="James Craig <jcraig@apple.com>"> <span class="fn">James Craig</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>