miblanchard / react-native-slider

A pure JavaScript <Slider> component for react-native and react-native-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not support a11y features

jaredspeters opened this issue · 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.

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

It is not accessible in Android/IOS

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.