{"canonical_url":"https://engineer.company/glossary/reduced-motion/","content_markdown":"# Reduced motion\n\n## What it is\n\nReduced motion is a user preference that asks an interface to limit movement. An\noperating system or browser can communicate the preference to a website. In CSS,\na `(prefers-reduced-motion: reduce)` media query applies its rules when the user\nasks to reduce motion. An interface can keep its actions and feedback available\nwhile choosing a presentation with less movement.\n\nMovement can be useful when it shows what changed or connects an action to its\nresult. An element sliding a long distance, a continuously turning ornament or a\nlarge scene that moves as a person scrolls can also make the page uncomfortable.\nConsider which information a movement adds. A menu can reveal its options\nwithout a visible sweep. A status can change immediately while keeping the same\nresult clear.\n\nThe preference should apply to the actual interface, including later\ninteractions. A page might arrive with stationary decorations and still start a\nlarge transition when someone opens a menu. Review initial load, scrolling and\nstate changes. The rules should give people a working product in all those\nsituations.\n\n## Why it matters\n\nMovement can interfere with reading, focus and a person's physical comfort. A\nlarge transformation near the text can make it difficult to track the place\nwhere the person was reading. A repeated animation can continue competing with\nthe task while the reader tries to act. Giving users control over the motion\nhelps them keep their attention on a stable part of the page.\n\nA preference also needs to cover behaviour in context. Suppose a control opens a\nresults panel. Removing its movement can still leave the panel and the new\nresult fully available. If the animation also delayed setting an expanded state,\nthe reduced-motion path might reveal a bug in when the application exposes its\noutcome. Treat state and movement as separate aspects of the interface and\nverify that the same operations complete.\n\nSome forms of motion carry important information about what is happening. A\nprocess might show progress, or a moving marker might display a change in\nposition. Keep useful feedback through text, a stable state indicator or a small\nchange whose meaning is clear. Test whether a user can identify an in-progress\noperation and its completion without following a continuously moving visual cue.\n\n## What it looks like in practice\n\nConsider a menu whose panel rotates or slides into view. Define the opened and\nclosed states first. With reduced motion enabled, reveal the same items and\nexpose the same expanded state, using a stable appearance. Check the result with\nkeyboard input, including where focus goes and what happens when a person closes\nthe menu during a transition. Repeat after reloading the page and after opening\nother controls.\n\nEngineer's\n[reduced-motion case study](/portfolio/made-the-reduced-motion-setting-honest/)\ndocuments a blanket rule that appeared to stop movement but lost to more\nspecific selectors. It describes consolidating movement rules and checking\ntransitions in the relevant stylesheet. The lesson applies to the delivery step.\nInspect the computed style and what actually moves under a reduced-motion\npreference. A declaration in a source file is only one part of the browser's\ndecision.\n\nMake the check quantitative where possible. Record the amount of element\nmovement after the action, and look for delayed or recurring changes during the\nsame interval. Confirm that necessary feedback still appears after changing the\npreference. Test the variants used for small and large layouts, because a rule\ndedicated to one viewport can reintroduce movement when an ordinary style is\ncorrectly covered.\n\nInclude the before-and-after states in the result. The menu should still open,\nits items should remain reachable and the state should be clear. These checks\nmake progress visible even where the path has very little movement.\n\n## Where it goes wrong\n\nA common failure is using one broad selector that loses in the cascade to more\nfocused declarations. Look at the browser's computed result for each major\ninteraction. Check transitions and animations that start in a different\nstylesheet or a later media query. Preserve a clear place for motion rules so a\nnew component can be reviewed against the same contract.\n\nA change can also remove timing without adjusting the associated interaction.\nState updates tied to the end of an animation may not run as intended when the\ntransition is immediate. Define the final state independently and test the\naction with the preference active. Include an interrupted action and the case of\nopening and closing a control quickly.\n\nTest the preference as it changes where the platform supports live updates. A\npage might read its value only when it first loads. A person can then change the\nsystem setting while the page stays open. A browser exercise can open a menu,\nchange the emulated preference and trigger another movement. Inspect the end\nstate and whether a recurring animation continues. Separate preference detection\nfrom the rules that pick the presentation.\n\nInclude motion initiated by layout. Focus and scroll may move the viewport even\nwhen an explicit decorative transition is disabled. The interface can give\nprominence to its target without a long asymmetric animation. Test both keyboard\nnavigation and a pointer-initiated action, and check how a user finds the new\nstate in each case.\n\nFinally, distinguish useful feedback from ornament. A reader should be able to\ntell whether something is loading, expanded or complete when large motion is\nreduced. Observe the relevant text, focus and state in the delivered product.\nUse stable cues where they fit so the preference changes the presentation while\npreserving what the person needs to do.\n\n## Further reading\n\n- [W3C Media Queries reduced-motion feature](https://www.w3.org/TR/mediaqueries-5/#prefers-reduced-motion).\n  Defines how a user preference is expressed in CSS.\n- [WCAG Animation from Interactions](https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html).\n  Describes interaction-triggered motion and ways to offer control.\n- [Mozilla's prefers-reduced-motion documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@media/prefers-reduced-motion).\n  Shows CSS usage and examples.\n\n\u003chttps://engineer.company/glossary/reduced-motion/\u003e\n","date_modified":"2026-11-25T07:18:46Z","description":"Adapt motion while preserving visible state changes, and test both initial rendering and interaction under the preference.","formats":{"gemtext":"https://engineer.company/glossary/reduced-motion/index.gmi","gopher":"https://engineer.company/glossary/reduced-motion/gophermap","html":"https://engineer.company/glossary/reduced-motion/","json":"https://engineer.company/glossary/reduced-motion/index.json","markdown":"https://engineer.company/glossary/reduced-motion/index.md","pdf":"https://engineer.company/glossary/reduced-motion/index.pdf"},"kind":"page","language":"en","title":"What is reduced motion?","url":"https://engineer.company/glossary/reduced-motion/","version":1}