glide icon indicating copy to clipboard operation
glide copied to clipboard

Add a11y attr option for hidden/visible slides

Open gabepetersen opened this issue 3 years ago • 1 comments

This will enable a default option that will set a visible class to all elements in the current view and set aria-hidden on slides that are not in view. This will also apply a negative tab index for all focusable elements for slides that are not currently in view.

The main purpose of this is to prevent screen reader users and keyboard users from focusing content that is off-screen and be able to dynamically apply classes to elements that are in view given the option perView.

gabepetersen avatar Feb 04 '23 01:02 gabepetersen

Is there something stopping this from being merged? It seems like a great addition.

michaelwayneharris87 avatar Sep 03 '23 03:09 michaelwayneharris87