Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getLayoutMap() returns keyboard layout on Chrome-based browsers #271

Closed
jasongrout opened this issue Dec 18, 2021 · 0 comments
Closed

getLayoutMap() returns keyboard layout on Chrome-based browsers #271

jasongrout opened this issue Dec 18, 2021 · 0 comments

Comments

@jasongrout
Copy link
Contributor

Early on in the keyboard shortcut code, we were frustrated that we could not get the keyboard layout in the browser (to accurately represent/determine keyboard shortcuts across different layouts). FYI, there is a partially supported getLayoutMap() function these days.

It seems that Firefox and Safari are refusing to implement it for privacy/fingerprinting reasons (see WICG/keyboard-map#30 (comment) and mozilla/standards-positions#310).

Chrome is providing better access to it in Chrome 97: https://chromestatus.com/feature/5657965899022336

Since Firefox and Safari are not supporting it, I think there is perhaps nothing to do here, but wanted to document the progress in the browsers in this area.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant