Broken animations with prefers-reduced-motion
#7567
Labels
Accessibility
Changes that impact accessibility and need corresponding review (e.g. markup changes).
AMP Format
Issues that need to be addressed in the AMP story format
Group: Animations
P1
High priority, must do soon
Type: Bug
Something isn't working
Bug Description
Not everyone likes decorative animations or transitions, and some users outright experience motion sickness when faced with parallax scrolling, zooming effects, and so on.
That's why users can express to prefer reduced motion on websites. See https://web.dev/prefers-reduced-motion/.
Unfortunately, our story animations currently break completely in that case, making elements disappear.
There are some ideas to fix this on the format side: ampproject/amphtml#24821
Perhaps we can add some workaround on our end in the meantime?
Expected Behaviour
Elements should still be visible, but not animated
Steps to Reproduce
To reduce motion:
In Windows 10: Settings > Ease of Access > Display > Show animations in Windows.
In macOS: System Preferences > Accessibility > Display > Reduce motion.
In iOS: Settings > General > Accessibility > Reduce Motion.
In Android 9+: Settings > Accessibility > Remove animations.
Screenshots
Editor:
Reduce Motion:
No Reduce Motion:
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
Implementation Brief
The text was updated successfully, but these errors were encountered: