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 accessibility functionality to onscreen slides #1

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KelseyCooper
Copy link

Overview

This PR copies all functionality given here:
metafizzy#1032

Flickity automatically sets all slides to aria-hidden="true" except the one currently selected.

This is bad for accessibility. Anything that is aria-hidden should not have focusable elements. This creates sliders that can only show one slide at a time to screen readers, or that will not show the furthest most slides at all if contain: true.

Usage

This PR will be kept open. If any changes are released to flickity we pull into our fork then rebase this branch.

To update to use this PR change package.json:
"flickity": "^2.2.2"
to
"flickity": "https://github.com/fluorescent/flickity#af2adbb"

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.

1 participant