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

Suggestion: Keyboard Interaction Arrow-keys #11

Open
AutoSponge opened this issue May 18, 2019 · 2 comments
Open

Suggestion: Keyboard Interaction Arrow-keys #11

AutoSponge opened this issue May 18, 2019 · 2 comments

Comments

@AutoSponge
Copy link

AutoSponge commented May 18, 2019

For someone with dexterity issues (or maybe just a dirty keyboard), the space bar toggle interaction can cause issues. If held, the space bar will repeat, triggering another state change.

I suggest an alternate method for changing switch state IN ADDITION to <space>.

The word "THUMB" was chosen as it seems to have been used for naming the indicator of a ranged input control.

<left-arrow> = move THUMB to "left" position of SWITCH
<right-arrow> = move THUMB to "right" position of SWITCH
<up-arrow> = move THUMB to "right" position of SWITCH
<down-arrow> = move THUMB to "left" position of SWITCH

Arrows repeating will not cause another state change. Range sliders already use this interaction.

@aardrian
Copy link

Suggest the arrows do not map to on/off states but instead to the intended direction to move the ball in the gutter. The reason is that the native toggle control flips its on/off position for RTL languages.

While this is a visual difference, for blind RTL users this will keep parity with sighted users, particularly when visual / tech support is needed.

@AutoSponge
Copy link
Author

@aardrian Great point. I'll update my pseudo logic above.

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

No branches or pull requests

2 participants