Correct: Users Should Be Able Request Reduced Motion
How To Request Reduced Motion
Firefox will reduce the motion if:
- In GTK/Gnome, if gtk-enable-animations is set to false. This is configurable via GNOME Tweaks (Appearance tab or General tab, depending on version).
- Alternately, add gtk-enable-animations = false to the [Settings] block of the GTK 3 configuration file.
- In Windows 10: Settings > Ease of Access > Display > Show animations in Windows.
- In Window 7: Control Panel > Ease of Access > Make the computer easier to see > Turn off all unnecessary animations (when possible).
- In macOS: System Preferences > Accessibility > Display > Reduce motion.
- In iOS: Settings > General > Accessibility > Reduce Motion.
- In Android 9+: Settings > Accessibility > Remove animations.
Code
@media (prefers-reduced-motion: reduce) {
*,
::before,
::after {
animation-duration: 0.001s !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001s !important;
}
}
Resources
- "What’s New in WCAG 2.1: 2.3.3 Animation from Interactions (AAA)", W3C, Web Content Accessibility Guidelines
- Val Head, "Designing Safer Web Animation For Motion Sensitivity", A List Apart, September, 8, 2015.
- Eric Bailey, "An Introduction to the Reduced Motion Media Query", CSS Tricks, February 10, 2017.
- Anna Monus, "A Guide to Creating Accessible Animations," Envato Tuts+, December 3, 2018.
- Gray Ghost Visuals, "A Primer to Vestibular Disorders," The A11Y Project, May 15, 2013.
- W3C Web Accessibility Initiative, "Understanding Success Criterion 2.3.3: Animation from Interactions", Understanding WCAG 2.1, 2018.