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

Keyboard Accessibility #274

Closed
franciscolourenco opened this issue May 24, 2014 · 12 comments
Closed

Keyboard Accessibility #274

franciscolourenco opened this issue May 24, 2014 · 12 comments

Comments

@franciscolourenco
Copy link

Is it possible to interact with the slider using only the keyboard?

@tom-dudman
Copy link

+1

It would be great to be able to focus on the slider, and use the arrow keys to tweak the value.

@leongersen
Copy link
Owner

I'd recommend showing the slider value in an input, which seems ideal for keyboard users. You'll find an example implementation in the documentation.

@franciscolourenco
Copy link
Author

accessibility should be baked in, not extra
and it would not look so pretty...
but thank you for the recommendation :)

@braneof
Copy link

braneof commented Sep 8, 2014

+1

I'd like to see this too. It also causes another problem. The noUiSlider doesn't take focus, so when I click from one widget to the slider, pushing up or down on the keyboard causes changes on the old widget (which is unexpected).

And showing the slider value won't work for me because the numbers are meaningless for the end user of my site. It would be confusing to show it.

@leongersen
Copy link
Owner

I'll look in to it. Would you have any suggestions as to how this would work?

  • What part of the slider would be focusable? Handles? The base?
  • How about touch devices?
  • Would linking disable focus?

Looking forward to your ideas.

@braneof
Copy link

braneof commented Sep 9, 2014

Thanks for the quick response. Here's what I'm thinking, you might have a better idea:

  • Just the handles would be focusable
  • It could work the same on touch, though it probably doesn't matter whether it takes focus or not on touch.
  • Linking wouldn't need to disable focus, the linked field or the handle could each take focus.

@tremmer
Copy link

tremmer commented Jan 5, 2015

Here is a great example of accessibility on sliders that would be great to see baked in

http://oaa-accessibility.org/example/32/

@leongersen
Copy link
Owner

Merging with #246.

@mshwery
Copy link

mshwery commented Oct 23, 2015

Was this ever integrated? Latest from npm seems to say no.

@simevidas
Copy link

simevidas commented Jul 6, 2016

The main demo on http://refreshless.com/nouislider/ isn’t keyboard accessible, from what I can tell. Note that ARIA attributes only provide semantic information, not behaviors like keyboard access.

@MartinMuzatko
Copy link

This is now tracked here: #724

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants