Skip to content

[carousel] ARIA tweaks #420

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

Merged
merged 9 commits into from
May 19, 2017
Merged

[carousel] ARIA tweaks #420

merged 9 commits into from
May 19, 2017

Conversation

tmorehouse
Copy link
Member

Optimised control and indicator native tab order (by moving indicators below controls)

Switched to native tabbing for indicators (rather than keyboard nav for indicators)

Removed unnecessary data-slide attributes on prev/next controls

Pauses animation while page is not visible (using document.hidden where supported, http://caniuse.com/#feat=pagevisibility)

Bonus: Reduction in code size

Coerce slide nodelist into an Array
Optimised control and indicator native tab order (by moving indicators below controls)

Switched to native tabbing for indicators (rather than keyboard nav for indicators)

Removed unnecessary data-slide attributes on prev/next controls

Pauses animation while page is not visible (using document.hidden where supported, http://caniuse.com/#feat=pagevisibility)
aria-activedescendant can only be on "tabable" elements
@pi0 pi0 merged commit 8e7f694 into bootstrap-vue:master May 19, 2017
@tmorehouse tmorehouse deleted the carousel-tweaks branch May 20, 2017 00:47
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