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

feat(accessiblity-support): Add accessibility (a11y) support for the player #3

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

quentingrchr
Copy link

@quentingrchr quentingrchr commented Oct 18, 2023

Add accessibility (a11y) support for the player

This pull request add the support for screen reader

Description

The player didn't work well with screen reader. The "show / hide" feature on touch and the autoDismiss feature were hiding the controls from the reader.
Now the library checks wether the user has the screen reader enabled, if so the controls will always be visibile.
I also added the possibility to pass Accessibility props to some custom components such as:

  • ControlSlider
  • ReText

And default a11y props to the Slider

Related Issues

Closes #2

Testing

iOS

  • Use XCode's accessibility inspector

Documentation

Checklist

  • Test on iOS
  • Test on Android

Additional Notes

I also updated the expo packages

@quentingrchr quentingrchr marked this pull request as ready for review October 18, 2023 14:18
@quentingrchr quentingrchr marked this pull request as draft October 18, 2023 14:32
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

Successfully merging this pull request may close these issues.

[Feature Request] : add a11y support in <ControlsVisibilityProvider /> for screen reader
1 participant