Accessible 3D, Parallax, and Motion Effects

Mobile & Accessibility2 min readBy the Monopage team

Depth and motion can make a site feel premium: cards that tilt toward the pointer, layers that drift as you scroll, animated gradients behind a hero. For some visitors, the same effects cause dizziness, nausea, headaches, or distraction. The goal is to keep the delight and remove the harm.

Who is affected

  • People with vestibular disorders, who may feel ill from parallax, zooming, and large moving areas
  • People with migraines or sensitivity to motion
  • People with attention or cognitive differences, for whom moving content is distracting
  • Anyone using a slow device, where heavy effects stutter

Respect the reduced motion setting

Operating systems let people request less motion. Websites can read that preference with the prefers-reduced-motion media query. The simplest robust approach is to apply the effect only for visitors who have not asked for reduced motion:

  • Wrap motion CSS in @media (prefers-reduced-motion: no-preference)
  • Check the same preference in JavaScript before starting pointer or scroll-driven effects
  • For canvases and shader backgrounds, draw one still frame instead of animating

See reduced motion and animation accessibility.

Give people control

The system setting is not enough on its own, because some visitors do not know about it. For anything that moves on its own for more than five seconds, WCAG 2.2.2 (level A) requires a way to pause, stop, or hide it, unless the motion is essential. A simple "Pause animation" button satisfies this and helps everyone.

Avoid the worst offenders

  • Large-scale parallax and zooming that fills the viewport
  • Scroll-jacking, where the page scrolls differently from the user's expectation
  • Flashing: content should not flash more than three times in any one second (WCAG 2.3.1), which can trigger seizures
  • Looping motion near text, which makes reading harder

Keep effects optional and decorative

Make sure nothing essential depends on motion. A card that only reveals its information when it tilts would fail keyboard and touch users. Tilt effects tied to a mouse pointer should not run for touch devices and should not hide content. The card should work identically when the effect is off.

Maintain readability

When text sits over moving or shaded backgrounds, check contrast at the lightest and darkest points, including any glare or highlight that appears on hover. See color contrast for accessible websites.

Support keyboard users equally

Do not give hover effects that have no keyboard equivalent. If a hover reveals extra information, show it on focus as well. See accessible focus styles.

Keep screen readers informed

Decorative canvases and 3D objects should be hidden from assistive technology so they do not add noise. Interactive 3D viewers need names, instructions, and keyboard controls.

Mind performance

Smooth, light effects are friendlier to everyone. See animation performance: keeping motion smooth and using WebGL and heavy visuals without hurting speed.

Test it

Turn on reduced motion in your system settings and reload. Everything should still work and read well. Test with a keyboard and on a phone. See animation and motion in web design.

Common mistakes

  • Ignoring the reduced motion preference
  • No way to pause moving content
  • Effects that hide information from keyboard or touch users
  • Low contrast over animated backgrounds

Motion is one thing a visitor may need to change. Another is text size and spacing. Read text spacing and zoom for low vision users.