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

New: Added is-prefers-reduced-motion html class and _isPrefersReducedMotionEnabled a11y option #348

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

oliverfoster
Copy link
Member

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

Copy link
Contributor

@joe-allen-89 joe-allen-89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 tested with Windows Chrome/Firefox/Edge, all working as expected.

Copy link
Contributor

@kirsty-hames kirsty-hames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected. Testing on macOS Safari/Chrome/FF and iOS iPhone.

@oliverfoster oliverfoster merged commit 9248e00 into master Apr 18, 2023
@oliverfoster oliverfoster deleted the issue/386-vanilla branch April 18, 2023 15:18
@oliverfoster
Copy link
Member Author

🎉 This PR is included in version 6.31.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Apr 18, 2023
# [6.31.0](v6.30.6...v6.31.0) (2023-04-18)

### New

* Added is-prefers-reduced-motion html class and _isPrefersReducedMotionEnabled a11y option (#348) ([9248e00](9248e00)), closes [#348](#348)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Accessibility] Animations in theme should use reduced motion media queries
4 participants