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

aria-pressed accessiblity issue #72

Open
kmurphychi247 opened this issue Aug 21, 2024 · 0 comments
Open

aria-pressed accessiblity issue #72

kmurphychi247 opened this issue Aug 21, 2024 · 0 comments

Comments

@kmurphychi247
Copy link

kmurphychi247 commented Aug 21, 2024

First of all thank you so much for this js library. We have this set up but it is failing lighthouse tests at the moment. The buttons were updated to use aria-pressed in this most recent release but according to accessibility rules, aria-pressed shouldn't be used for Play and Pause buttons. They should be aria-checked with the role=“switch”
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed

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