You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Splide has an option to "destory" the slider on a certain breakpoint. This works fairly well, but it introduces an accessibility issue. When the slides contain links, they are no longer focusable, since Splide sets a tabindex="-1" on every "inactive slide". Since in the "destroy" state, all slides are visible and therefore "active", this tabindex="-1" and other accessibility properties should be removed (e.g. aria-hidden="true" does get removed correctly) .
Checks
Version
v4.1.3
Description
Splide has an option to "destory" the slider on a certain breakpoint. This works fairly well, but it introduces an accessibility issue. When the slides contain links, they are no longer focusable, since Splide sets a
tabindex="-1"
on every "inactive slide". Since in the "destroy" state, all slides are visible and therefore "active", thistabindex="-1"
and other accessibility properties should be removed (e.g.aria-hidden="true"
does get removed correctly) .Reproduction Link
https://codepen.io/2ndkauboy/pen/VwOvWpG
Steps to Reproduce
Expected Behaviour
Links (and other focusable elements) inside the slider should be focusable when "destroyed".
The text was updated successfully, but these errors were encountered: