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

Honour prefers-reduced-motion by default #228

Open
wackget opened this issue Apr 25, 2024 · 1 comment
Open

Honour prefers-reduced-motion by default #228

wackget opened this issue Apr 25, 2024 · 1 comment

Comments

@wackget
Copy link

wackget commented Apr 25, 2024

The README mentions that the disableForReducedMotion option is disabled by default.

Why?

I don't understand why you would ever override the accessibility preferences a user has set in their own browser.

In my opinion, the disableForReducedMotion option should not even exist. If the user has indicated that they prefer reduced motion, simply don't run the script at all.

@catdad
Copy link
Owner

catdad commented Apr 28, 2024

I discussed this in #114 already. The tl;dr is that I don't know how this library is used, but I do for a fact know that it is not always purely decorative. All my research on this issue strongly stresses the importance of careful consideration on how to replace motion effects -- not always simply remove them -- on a case-by-case basis.

Also, side note, this is a weirdly aggressive stance to take with the developer of a library instead of the developer using a library. Keep in mind, this library does only one single thing: confetti. No one who is using this library is left with the impression that confetti won't happen. No one is being tricked. All developers using this library are doing so on purpose.

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

No branches or pull requests

2 participants