-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Feature Request] Prefers Reduced Motion #1986
Comments
Hi, I think is a great idea. But it seems this should be handled by the developer and not the library. |
That's a good point! I'm just trying to think about a way to push users of lottie to make accessible animations. Perhaps setting it to I haven't used lottie extensively, but one of my work projects does extensively and we are doing an accessibility audit. After looking through the library a bit, I've noticed that the animations are Javascript-based vs CSS-based, so perhaps the default could be set depending on the following media query: |
Is there a way to simply pause on the first frame? |
you can set |
I did some more research into the topic and what I've learned is that as you mentioned there are many other ways of dealing with
|
Is there an |
Ended up using |
We should be inclusive to those who prefer reduced motion, including those who are prone to motion sickness or are epileptic by adding CSS classes to reduce animations where there is a
prefers-reduced-motion
media query. The article uses the following code snippet as an example of how it could look:The text was updated successfully, but these errors were encountered: