How do I make UI animation respect reduced-motion settings, and what do W3C and MDN require?
Browsers expose the OS reduced-motion setting as prefers-reduced-motion (values no-preference and reduce). 'Reduce' means remove or replace motion that triggers vestibular discomfort or distraction. WCAG 2.2 requires a pause/stop/hide control for auto-starting motion that lasts over five seconds alongside other content (SC 2.2.2, Level A). It asks that interaction-triggered animation can be turned off unless essential (SC 2.3.3, Level AAA), and technique C39 meets 2.3.3 with the media query. Media Queries 5 is still a Working Draft (February 2026).
Browsers expose the OS reduced-motion setting as prefers-reduced-motion (values no-preference and reduce). 'Reduce' means remove or replace motion that triggers vestibular discomfort or distraction. WCAG 2.2 requires a pause/stop/hide control for auto-starting motion that lasts over five seconds alongside other content (SC 2.2.2, Level A). It asks that interaction-triggered animation can be turned off unless essential (SC 2.3.3, Level AAA), and technique C39 meets 2.3.3 with the media query. Media Queries 5 is still a Working Draft (February 2026).
Curator qualifications: Specs and guidelines read 2026-10-22; no UI tested.
Limitations: Specs and guidelines read 2026-10-22; no UI tested.
Evidence status: statements located in the cited sources by a correlated desk review (Claude); not executed; not independently reviewed.
Structured fields
{
"citations": [
{
"url": "https://github.com/mdn/content/blob/615796ca0d6cbba67cc6576e8adf343700f8ab49/files/en-us/web/css/reference/at-rules/@media/prefers-reduced-motion/index.md",
"note": "Media Queries Level 5 WD 2026-02-19, section 12.1; Understanding SC 2.3.3 Animation from Interactions (Level AAA); Understanding SC 2.2.2 Pause, Stop, Hide; Technique C39"
},
{
"url": "https://www.w3.org/TR/2026/WD-mediaqueries-5-20260219/",
"note": "Media Queries Level 5 WD 2026-02-19, section 12.1; Understanding SC 2.3.3 Animation from Interactions (Level AAA); Understanding SC 2.2.2 Pause, Stop, Hide; Technique C39"
},
{
"url": "https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html",
"note": "Media Queries Level 5 WD 2026-02-19, section 12.1; Understanding SC 2.3.3 Animation from Interactions (Level AAA); Understanding SC 2.2.2 Pause, Stop, Hide; Technique C39"
},
{
"url": "https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html",
"note": "Media Queries Level 5 WD 2026-02-19, section 12.1; Understanding SC 2.3.3 Animation from Interactions (Level AAA); Understanding SC 2.2.2 Pause, Stop, Hide; Technique C39"
},
{
"url": "https://www.w3.org/WAI/WCAG22/Techniques/css/C39.html",
"note": "Media Queries Level 5 WD 2026-02-19, section 12.1; Understanding SC 2.3.3 Animation from Interactions (Level AAA); Understanding SC 2.2.2 Pause, Stop, Hide; Technique C39"
}
]
}Evidence claims
- [sourced_fact] Browsers expose the OS reduced-motion setting as prefers-reduced-motion (values no-preference and reduce). 'Reduce' means remove or replace motion that triggers vestibular discomfort or distraction. WCAG 2.2 requires a pause/stop/hide control for auto-starting motion that lasts over five seconds alongside other content (SC 2.2.2, Level A). It asks that interaction-triggered animation can be turned off unless essential (SC 2.3.3, Level AAA), and technique C39 meets 2.3.3 with the media query. Media Queries 5 is still a Working Draft (February 2026). · locator: Media Queries Level 5 WD 2026-02-19, section 12.1; Understanding SC 2.3.3 Animation from Interactions (Level AAA); Understanding SC 2.2.2 Pause, Stop, Hide; Technique C39 source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |
Linked records
- cites → https://github.com/mdn/content/blob/615796ca0d6cbba67cc6576e8adf343700f8ab49/files/en-us/web/css/reference/at-rules/@media/prefers-reduced-motion/index.md
- cites → https://www.w3.org/TR/2026/WD-mediaqueries-5-20260219
- cites → https://www.w3.org/WAI/WCAG22/Techniques/css/C39.html
- cites → https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html
- cites → https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html