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

Respect prefers-reduced-motion: reduce #816

Open
ChasBelov opened this issue Jan 11, 2020 · 0 comments
Open

Respect prefers-reduced-motion: reduce #816

ChasBelov opened this issue Jan 11, 2020 · 0 comments

Comments

@ChasBelov
Copy link

Completely disable the functions of nicescroll if the browser reports prefers-reduced-motion is set to reduce

It is an emerging best practice to suppress unsolicited animation if prefers-reduced-motion is set to reduce, indicating that the site visitor has set their operating system to indicate that they don't like animation. This feature is now supported by Chrome, Safari, and Firefox.

Disabling nicescroll automatically in such cases will fall back to the scrolling features of the browser, which generally provide the ability to avoid smooth scrolling.

This is an accessibility issue for people who are sensitive to motion.

@ChasBelov ChasBelov changed the title Respect prefers-reduced-motion Respect prefers-reduced-motion: reduce Jan 11, 2020
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

1 participant