Replies: 1 comment
-
Interesting points. First, Zag.js already provides a way to play/pause the autoplay by spreading the The other requirement, such as pausing on hover/focus, could be handled in a PR if you want to work on that. We already provide an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 Feature request
Carousel in autoplay in itself is not the most accessible component, but there are guidelines/recommendations about how to keep it accessible, from w3.org
I personally will disable autoplay entirely because I don't like autoplay on anything period, but I was thinking it could be interesting to consider this :)
🧱 Problem Statement / Justification
a11y compliance: https://www.w3.org/WAI/WCAG22/quickref/?versions=2.1#qr-time-limits-pause
✅ Proposed solution or API
1 - First PR could stop the autoplay on hover + keyboard focus
2 - second PR to consider the stop/play button in the anatomy (could be a separate issue)
Beta Was this translation helpful? Give feedback.
All reactions