Orofold Labs

Launching soon

Notes Get in touch

Performance and accessibility 4 min read Updated

Respecting reduced motion in CSS and interfaces

In short

Use the prefers-reduced-motion query to replace large movement with gentler motion, and keep only the animation that carries information.

Some people feel unwell, or find it harder to concentrate, when large areas of a screen move. Operating systems let a user ask for less motion, and a website can respond to that request. Start from the setting the user actually chose, and keep motion only where it carries information. Everything else should shrink or disappear.

The setting only reports a preference

The prefers-reduced-motion media feature reports whether the user has asked the device to minimise non-essential motion. According to MDN, browsers use it to offer an interface that removes, reduces or replaces motion-based animations. The feature has two values. The value no-preference means the user has expressed no known preference, and the value reduce means reduced motion is on.

Where the setting sits depends on the system, and the paths change between versions. Names in a localised system may differ. MDN lists, among others:

  • Windows 11: Animation Effects, and on Windows 10: Show animations in Windows.
  • macOS: Reduce motion, with a different location in newer versions.
  • iOS: Settings, then Accessibility, then Motion.
  • Android 9 and later: Remove animations.

Your site does not need to know which system the user has. It only needs to respond to the value the browser reports.

Large areas of motion cause the most trouble

MDN notes that scaling or panning large objects can trigger discomfort for people with vestibular motion disorders. Movement that covers much of the screen causes the most trouble. By contrast, MDN describes an opacity-only dissolve as not a vestibular motion trigger.

The setting therefore does not ask for all animation to be removed. It asks for the motion that causes problems to be removed or replaced, and for the parts that carry meaning to be kept in a gentler form. A loading indicator that changes only its opacity, for example, can keep its job without moving the layout.

Working on something similar in your own product? A few honest sentences are enough – we read every enquiry and reply by email. Apply with your idea

Put the override next to the animation it replaces

The usual pattern is to give an element a default animation, then override it inside a reduced-motion query. The MDN example applies a pulsing scale animation by default and replaces it with an opacity-only dissolve when the user prefers reduced motion. The override works because it has the same specificity and comes later in the stylesheet, so the browser picks it over the default. A rule that comes earlier, or has lower specificity, is ignored.

Keep the override beside the animation it replaces, inside the same component. A reduced-motion rule kept in a distant file can be lost in a later change, and the motion then returns without anyone noticing.

Criterion 2.3.3 is AAA, but it is a useful benchmark

Success Criterion 2.3.3, Animation from Interactions, is Level AAA. It says that motion animation triggered by interaction can be disabled, unless the animation is essential to the functionality or to the information being conveyed. Conformance at Level AA does not require it, but it is a useful benchmark for the same concern.

The W3C treats motion as essential only when both conditions hold. Removing it must fundamentally change the information or functionality, and that information or functionality cannot be achieved in another way that would conform. A decorative parallax effect that moves when the user scrolls is the W3C example of motion that can be disabled. Movement that comes from the scrolling itself is allowed, because the user controls it.

Walk through each template with the setting on

  1. Turn on the reduced-motion setting in your operating system, then reload each main template.
  2. List every animation and transition that moves a large area, such as page transitions, carousels, parallax layers and looping backgrounds.
  3. For each one, decide whether it carries information. Remove the ones that do not, and keep the ones that do in a gentler form.
  4. Check that no replacement moves a large area, and that nothing important depends on the animation you removed.
  5. Confirm that each override uses the same selector as the animation it replaces, and that it comes after that animation in the stylesheet.

For the wider WCAG 2.2 picture, see What changed in WCAG 2.2 and what to check. Colour and contrast, which apply to the same screens, are covered in colour contrast.

Success Criterion 2.3.3 is Level AAA. The operating-system paths come from MDN and may differ in newer versions. The W3C wording is taken from the Understanding document for 2.3.3.

Sources and limits

Common questions

Which values does prefers-reduced-motion have?
It has two values. The value no-preference means the user has expressed no known preference, and the value reduce means reduced motion is turned on.
Is interaction-triggered motion always forbidden?
No. Success Criterion 2.3.3 allows motion triggered by interaction to be disabled unless the animation is essential, and it is Level AAA, so it is not required for Level AA conformance. Movement that comes from the user’s own scrolling is allowed.
Why does the override have to come later in the stylesheet?
MDN notes that the override works because it has the same specificity and comes later in the source order, so it takes precedence over the default animation.

Sources

  1. prefers-reduced-motion, MDN Web Docs. Accessed 24 November 2026
  2. Understanding Success Criterion 2.3.3: Animation from Interactions, W3C (WCAG 2.2). Accessed 14 November 2026

Further reading

Have an idea that should exist? Or a working product that needs more customers, a new website or a complete rework? Bring us anything. Apply with your idea

All notes