RESOLVED DUPLICATE of bug 186680 218055
Support Keyboard Map API
https://bugs.webkit.org/show_bug.cgi?id=218055
Summary Support Keyboard Map API
Justin Uberti
Reported 2020-10-21 14:52:54 PDT
This API allows applications to determine which keycodes are mapped to specific keyboard keys on non-QWERTY keyboard layouts. For example, in a FPS game, the player will navigate using the WASD keys on a QWERTY keyboard, but ",AOE" on a Dvorak keyboard. Providing this information allows a web application to show an appropriate keyboard hint (e.g., "press the [,] key to move forward") for the current keyboard layout. Spec: https://wicg.github.io/keyboard-map/. There are fingerprinting considerations here, as noted in https://wicg.github.io/keyboard-map/#privacy. Given that the mapping between a key and its keycode is shared with the web application whenever a key is pressed (allowing fairly identification of layout with only a couple keys), requiring a user gesture may be sufficient protection.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-10-22 13:52:44 PDT
Ahmad Saleem
Comment 2 2024-02-07 22:38:44 PST
*** This bug has been marked as a duplicate of bug 186680 ***
Note You need to log in before you can comment on or make changes to this bug.