Skip to content
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

Add a11y attr option for hidden/visible slides #651

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants