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

Accessibility: respect prefers-reduced-motion #164

Open
karptonite opened this issue Sep 25, 2020 · 0 comments
Open

Accessibility: respect prefers-reduced-motion #164

karptonite opened this issue Sep 25, 2020 · 0 comments

Comments

@karptonite
Copy link

Ideally, this polyfill would be bypassed if the user has set they prefer reduced motion on their system or browser accessibility settings. This can be checked fairly easily with window.matchMedia('(prefers-reduced-motion: reduce)'), possibly in the shouldBailOut function.

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