Skip to content

Conversation

gabepetersen
Copy link

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.

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 the view.
@michaelwayneharris87
Copy link

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

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

Successfully merging this pull request may close these issues.

2 participants