ARIA hidden focus at centered carousel with links #652
josias-hosang
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I detected an issue with some centred carousels where first and last slides are partially visible. They get the
aria-hidden="true"
mark but are still focusable (because in view). This can lead to accessibility violations according to https://dequeuniversity.com/rules/axe/4.7/aria-hidden-focusI modified one of your demo: https://stackblitz.com/edit/js-7qnc4t?embed=1&file=index.html&hideExplorer=1&hideNavigation=1&view=preview

and attached a screenshot to visualize the slide with a focus set:
In my opinion these first and last slides should not get the attribute
aria-hidden="true"
.Beta Was this translation helpful? Give feedback.
All reactions