WickyNilliams / react-simple-colorpicker

Simple, composable, lightweight colorpicker for react
http://wicky.nillia.ms/react-simple-colorpicker
MIT License
45 stars 19 forks source link

Accessibility #8

Open WickyNilliams opened 8 years ago

WickyNilliams commented 8 years ago

I have given little (read: zero) consideration for accessibility. I'm not sure on how best to approach it, or even where to start.

I suspect that the best approach would be to use input[type=range] for the sliders, however they are not suitable as they are difficult (or impossible) to style, and there is no standards-compliant way to have vertical sliders.

I should probably switch to using <button> for the drag handle on Slider and Map components. There are lots of ARIA attributes to help build these type of controls:

Maybe try to enlist help of some people with experience building for accessibility