Short answer
Parallax scrolling is a motion effect where background and foreground layers move at different speeds. The W3C describes it that way and treats it as animation that is often non-essential. Ordinary page scrolling is still allowed. Extra motion from that scroll should be something people can turn off.
Last verified against the sources listed below.
Key takeaways
- WCAG's parallax note says backgrounds move at a different rate than foregrounds.
- Success Criterion 2.3.3 is Level AAA and covers motion started by interaction.
- MDN's background-attachment property does not call itself a parallax feature.
- Scroll-driven animations tie CSS changes to scrolling, which is not the same label.
- The W3C page names prefers-reduced-motion as one way to honor a reduce-motion setting.
What is parallax scrolling? It is a visual effect in which layers move at different speeds, so a background shifts at a different rate from the foreground while the page scrolls.
The meaning is that rate difference, not a particular CSS property name. Web design covers layout in general. This guide stays with the motion effect, how related CSS actually behaves, and the accessibility rule that covers extra movement.
What does parallax scrolling mean?
Parallax scrolling means backgrounds move at a different rate from foregrounds.
That wording comes from the W3C understanding page for Success Criterion 2.3.3, updated 16 September 2025. The page gives parallax scrolling as an example of animation that is often non-essential. The effect is the relative movement, whether the layers are photos, illustrations, or blocks of text.
In web design, people usually notice it as depth. A far layer creeps. A near layer travels farther as you scroll.
The page content itself still has to move into view. That part is ordinary scrolling, not an extra trick.
The W3C page says motion animation adds steps between conditions to create an illusion of movement or a smooth transition. A layer that changes position as you scroll fits that idea. A layer that only changes color does not, on that page’s definition, unless size, shape, or position also changes.
How does the effect relate to CSS?
CSS can fix a background or tie animation to scroll, and the docs opened here do not name those features parallax.
MDN’s background-attachment page says the property sets whether a background image is fixed within the viewport or scrolls with its containing block. It has been widely available since July 2015. The initial value is scroll.
The CSS Backgrounds spec says fixed means the image is fixed with regard to the viewport. Scroll means it scrolls with the box. Local means it scrolls with the contents.
A fixed image can look slower than scrolling text because the image stays put while the text moves. That is a visual result of those keywords. It is not a sentence in the spec that says the property implements parallax.
background-attachment: fixed;
MDN’s scroll-driven animations guide describes a different tool. You animate property values on a scroll timeline instead of a time timeline. The scroller can be the element, its scroll container, or the root.
Properties named there include animation-timeline, scroll-timeline, and the scroll() and view() functions. You could use that to move a layer as someone scrolls. The guide itself does not call the module a parallax feature.
A cubic bezier generator previews an easing curve and copies the CSS. Easing changes how a transition progresses. It does not, by itself, create layers that move at different speeds. Use it only if you are already animating something else.
Why does the motion need an off switch?
The motion needs an off switch because non-essential movement can make some people sick.
The W3C page says scrolling that moves elements, other than the essential movement of scrolling, can trigger vestibular disorders. It lists dizziness, nausea, and headaches. It also says the essential movement of bringing new content into view is allowed, because the person controls that scrolling.
Success Criterion 2.3.3 is Level AAA. The criterion says motion animation triggered by interaction can be disabled, unless the animation is essential. The page’s practical options are: avoid unnecessary animation, provide a control to turn non-essential animation off, or use the reduce-motion feature in the browser or operating system.
The same page mentions prefers-reduced-motion. One example is a page-flip transition that respects the prefers-reduced-motion CSS media query and turns the flip off when the person has asked for reduced motion. Technique C39 is “Using the CSS prefers-reduced-motion query to prevent motion.” Technique SCR40 uses that query from JavaScript. A third sufficient technique is letting people set a preference that prevents animation.
Web accessibility is the broader guide. Parallax is one motion choice inside that larger set of rules, not the whole of accessibility.
Where does the effect help, and where does it get in the way?
The effect helps when the rate difference explains depth, and it gets in the way when it is only decoration on a task.
| Situation | What the person needs | Motion choice |
|---|---|---|
| A story page with a distant scene and a near figure | A sense that the scene has depth | A small rate difference, with a way to turn it off |
| A form, a price table, or a menu | Stable targets and readable labels | No extra movement tied to scroll |
| A hero photo behind a headline | The headline to stay readable | A still image, or a fixed background only if contrast holds |
| An animation the tool must preview | The motion itself is the information | Essential motion, which 2.3.3 allows |
Responsive web design changes how much of a layer is on screen. A shift that feels small on a desktop can feel large on a phone because the layer fills more of the view. Test the rate with the reduce-motion setting on, not only with it off.
Microsoft’s Windows app design overview does not define this effect. It does list motion as something designers plan, next to other interaction choices. That is a reminder to decide whether the movement communicates anything.
What mistakes make parallax scrolling harder to use?
The mistakes are adding movement that carries no information, and shipping it with no way to stop.
- Moving many decorative objects sideways while the person scrolls vertically, which is the W3C’s own parallax example, and offering no site-wide off switch.
- Assuming background-attachment: fixed is a complete parallax system because a background stays still. The spec only describes attachment.
- Animating position on a scroll timeline and never checking prefers-reduced-motion, even though the W3C page names that query.
- Putting essential instructions inside a layer that moves away before someone can read them.
- Using a long easing curve so the motion continues after the scroll has stopped. The person asked to move the page, not to watch an extra animation.
If the layer’s speed difference does not explain depth or sequence, leave the layer still. The page will still scroll. That essential movement is the part the W3C page says to keep.
Frequently asked questions
What level is WCAG 2.3.3, and what does essential mean there?
The understanding page for Success Criterion 2.3.3 labels it Level AAA. Essential means that removing the motion would fundamentally change the information or functionality, and that the same information cannot be achieved another way that still conforms. The page's essential example is an animation-authoring tool whose preview has to show the animation. Decorative layer movement on a marketing page is the kind of effect the page calls often non-essential.
What is the difference between scroll, fixed, and local backgrounds?
MDN defines three background-attachment keywords. Scroll, the initial value, fixes the background relative to the element, not to the element's contents. Fixed fixes it relative to the viewport, and background-origin is ignored. Local fixes it relative to the contents, so it scrolls with those contents. The CSS Backgrounds spec uses the same three keywords. None of those pages rename the property to parallax.
Does a color or opacity change count as motion animation?
The WCAG 2.3.3 page says motion animation adds steps between conditions to create the illusion of movement or a smooth transition. It says motion animation does not include changes of color, blurring, or opacity that do not change the perceived size, shape, or position. An errata note says the definition was amended so it does not exclude blurring. A background that only fades is a different case from a layer that shifts position.
How is 2.3.3 different from animation that starts by itself?
The same understanding page says 2.3.3 applies when a person's interaction starts non-essential animation. It points to Success Criterion 2.2.2 Pause, Stop, Hide for animation the page starts on its own, not in response to an intentional action. It also says one animation can fail both criteria. Scrolling is an interaction, so extra movement tied to scroll is in 2.3.3's scope.
What did Microsoft's design overview say about parallax?
The Windows app design overview opened for this guide does not define parallax scrolling. It says Windows app experiences should be clear, accessible, responsive, and consistent with Fluent Design, and it lists motion among the design topics beside haptics and commanding. That is a vendor map of topics, not a technique for moving layers at different speeds. Do not treat a design-system menu as a definition of the effect.
Sources
- Understanding SC 2.3.3 Animation from Interactions · W3C Web Accessibility Initiative, 2025
- background-attachment · MDN, 2026
- CSS scroll-driven animations · MDN, 2026
- CSS Backgrounds and Borders Module Level 3 · CSS Working Group, 2026
- Design Windows apps · Microsoft Learn, 2026