You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
In the polyfill, keydown event and mouseup event are used for the spatial navigation.
I'm curious to see if there is a great case for leveraging a keydown event as apposed to a keyup event. Keyboard users who may have mobility/dexterity type disabilities could benefit from an event that they have more control over the timing of it being fired. e.g. someone with tremors using a keyboard.
Browser manufacturers may be looking to the polyfill for guidance and I was interested in seeing if maybe a keyup event could be the default vs requiring an override.
Migrated from w3c/csswg-drafts#4758
Originally created by @joe-watkins on 08 Feb 2020 00:50 GMT+9
I'm curious to see if there is a great case for leveraging a
keydownevent as apposed to akeyupevent. Keyboard users who may have mobility/dexterity type disabilities could benefit from an event that they have more control over the timing of it being fired. e.g. someone with tremors using a keyboard.WCAG 2.1 A 2.5.2 Pointer Cancellation currently speaks to this concept for touch/mouse. (should clearly extend to keyboard events IMO)
https://www.w3.org/WAI/standards-guidelines/wcag/new-in-21/#252-pointer-cancellation-a
Browser manufacturers may be looking to the polyfill for guidance and I was interested in seeing if maybe a
keyupevent could be the default vs requiring an override.https://wicg.github.io/spatial-navigation/#handling-browser-events