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

Slider not working with Android Talkback #2850

Open
LouiseReid opened this issue Apr 18, 2024 · 2 comments
Open

Slider not working with Android Talkback #2850

LouiseReid opened this issue Apr 18, 2024 · 2 comments

Comments

@LouiseReid
Copy link

Bug report

Current Behavior

When using the slider with android talkback using swipe gestures does not move the thumb

Expected behavior

When using the slider with android talkback using swipe gestures should move the thumb

Reproducible example

Example linked to official docs - https://tw5zv5-5173.csb.app/

Suggested solution

Not sure

Additional context

This is only an issue on android, iOS screen reader works fine.

Passing the following aria values down to the slider:

  • aria-label
  • aria-valuetext
  • aria-valuenow

Your environment

Software Name(s) Version
Radix Package(s) slider 1.1.2
React n/a 17
Browser chrome, firefox latest
Assistive tech Android talkback
Node n/a
npm/yarn
Operating System
@LouiseReid
Copy link
Author

I've been looking at this a little and comparing it to one that does work (accessible-ui/slider) and the only difference I can see is this line where it is looking for touch event properties - https://github.com/accessible-ui/slider/blob/master/src/index.tsx#L248

This implementation is using pointer events and I think talkback is reliant on touch events

@LouiseReid
Copy link
Author

Opened a draft PR here exploring adding touch events but even with only using these new events and removing the pointer events the thumb will not move.

Thoughts are welcome

#2875

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant