concept
reduced-motion — CSS reference
Design the interface so the same information remains available without movement. Add optional transitions only in a no-preference context, avoid distracting or vestibular-triggering motion, and give users controls for relevant moving content. WCAG requirements depend on the specific motion and interaction; a media query alone does not establish conformance.
Formal Syntax & Structure
css syntaxcss
@media (prefers-reduced-motion: no-preference) { … }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS accessible theme lab</title><style>body {margin:0} .sample {height:12px;background:#006050}button{transition:none}@media(prefers-reduced-motion:no-preference){button{transition:background-color 150ms}}</style><body><button id="a">Continue</button></body></html>