ai / keyux

JS library to improve keyboard UI of web apps
https://ai.github.io/keyux/
MIT License
391 stars 18 forks source link

change the canonical order of modifiers to align with Windows guidelines #7

Closed myandrienko closed 6 months ago

myandrienko commented 6 months ago

Follow-up to https://github.com/ai/keyux/pull/5#issuecomment-1961329673.

Turns out, Windows have an opinion on the canonical order of modifier keys as well. It should be Meta (Win), Ctrl, Alt, Shift.

This PR changes the order of modifiers required in aria-keyshortcuts to align with this guideline.