Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Removes keyboard support #47

Open
bensmoif opened this issue May 15, 2014 · 3 comments · May be fixed by #195
Open

Removes keyboard support #47

bensmoif opened this issue May 15, 2014 · 3 comments · May be fixed by #195

Comments

@bensmoif
Copy link

The slider control has keyboard arrow-key support, probably some other keys and input events too. The plugin removes that support, making it kinda hard for people who are handicapped and not nearly as fast with a mouse.

@EnigmaSolved
Copy link

What I'm observing (at least in Firefox; haven't tested other browsers) is that rangeslider__handle can receive focus, and while it is focused the arrow keys do change the value of the slider. But the range slider only changes visually after rangeslider__handle loses focus (and then, in the demo, both the number and slider position change). So perhaps we could bind a function to the .focus() event for the rangeslider__handle that would watch for changes and update the slider accordingly (and use debounce to keep the function from becoming inefficient from firing constantly while the element has focus)?

Just brainstorming. :)

@roryprimrose
Copy link

I would also like to see support for allowing the user to type a number and have the slider match the keypresses. Other than usability and accessibility, this is also good for UI automation.

brunoais added a commit to brunoais/rangeslider.js that referenced this issue Dec 17, 2015
brunoais added a commit to brunoais/rangeslider.js that referenced this issue Mar 4, 2016
@adrianbj
Copy link

adrianbj commented Jun 4, 2020

Thanks @brunoais for the PR to fix this. This is surely critical functionality for every use case (for accessibility, if nothing else).

@andreruffert - thanks for your great work on this project - is there any reason not to accept the PR to fix this?

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