react-native-slider icon indicating copy to clipboard operation
react-native-slider copied to clipboard

Does not support a11y features

Open jaredspeters opened this issue 2 years ago • 3 comments

We can't seem to get this slider to work with a11y OS features. Specifically, it becomes unresponsive with any kind of screen reader enabled, and can't be tapped or moved, making it unusable. Is this a known issue? This affects iOS and Android.

jaredspeters avatar Jul 29 '22 12:07 jaredspeters

Could you provide any repro video, or other details? I know it is accessible on web, but I see you mention iOS and Android.

miblanchard avatar Dec 28 '22 00:12 miblanchard

It is not accessible in Android/IOS

ArjunPatidarRadix avatar Aug 10 '23 09:08 ArjunPatidarRadix

The screen reader completely skips over the slider. What we've done to circumvent this is add track marks that are Pressable items, as these are read by the screen reader, we can then set the position that way. Probably doesn't solve all use cases, but could help someone. You can style them to be invisible and the screen reader will still pick them up if you don't like the aesthetic of track marks.

EDIT: This only works on iOS, Android will skip the track marks.

mattlewer avatar Oct 12 '23 15:10 mattlewer