-
Notifications
You must be signed in to change notification settings - Fork 484
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
Attribute aria-hidden="true" on unfocused tabs is lowering Lighthouse accessibility score #636
Comments
You can get around this by setting
|
I know this library doesnt officially support multiple slides per view, But doing so, i have this same issue Is there a way to allow overscanSlideAfter/overscanSlideBefore have aria-hidden="false" for those renders? |
@oliviertassinari Also having the same issue with a clients screen reader. Is there a way to turn off |
I have noticed the same on http://mui.com/ https://pagespeed.web.dev/analysis/https-mui-com/vea1v8so3w?form_factor=mobile I suspect we can solve this with pointer-events. |
did anyone find a solution for this? |
Hello everyone, will this be resolved anytime soon? |
When running Lighthouse accessibility tests, points are being deducted for the non-focused tabs within the React Swipeable Views component as they have the
aria-hidden="true"
attribute set.' Within my tabs I do have some anchor links which are focusable, hence the error.Lighthouse report:
The offending div elements:
Here is the link to the Google article explaining why the test pulls this up as an issue. In my humble opinion just how much of an issue this actually is is debatable, but nonetheless it's being flagged.
Expected Behavior
Ideally this could be changed so that points are not deducted from the Lighthouse accessibility score.
Current Behavior
Points are being deducted from the Lighthouse accessibility score.
Steps to Reproduce (for bugs)
Run a Lighthouse test on any site that is running a React Swipeable Views component that has focusable elements within the tabs and this comes up as an issue in the accessibility section.
Context
A Gatsby website I am building is nearing launch so I am doing final optimisations. Part of this is checking that accessibility is as good as possible for visually impaired users.
Your Environment
The text was updated successfully, but these errors were encountered: