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.
Repository navigation
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Consideration of keyup event for Polyfill instead of keydown #214
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.
I think your opinion is reasonable when thinking of an accessibility point of view.
Other than people who may have mobility/dexterity disabilities, sometimes people can keep pressing an arrow key unintentionally.
In this situation, the focus will keep moving and it would surprise a user.
For now, it won't be a problem to change keydown event to keyup event.
But, just in case, I'll check samples if those are working well or not.
Activity
jihyerish commentedon Feb 10, 2020
@joe-watkins, thanks for raising this issue.
I think your opinion is reasonable when thinking of an accessibility point of view.
Other than people who may have mobility/dexterity disabilities, sometimes people can keep pressing an arrow key unintentionally.
In this situation, the focus will keep moving and it would surprise a user.
For now, it won't be a problem to change
keydownevent tokeyupevent.But, just in case, I'll check samples if those are working well or not.