Motion on a page: when it helps and when it hurts

Motion on a web page can show where something came from, confirm that something worked, or make a visitor dizzy. The difference is almost never the animation itself. It is whether it had a job.

October 2026

Motion animation triggered by interaction can be disabled.

WCAG 2.1, success criterion 2.3.3, 2018

I remember the first Flash sites. After years of grey pages and blue links, things moved: logos assembled themselves, menus slid open, a whole site could play like a short film. It was wonderful for about a year. Then came the annoyance, the browsers that would not show it, and a reputation that never recovered. More than once I had to talk a client out of a Flash intro.

Motion came back later, in smaller doses and with better tools. On the homepage of this site, text slides in from the right as you scroll to it. So this note is partly a confession: what I think motion is for, and why I let some of it in.

Skip intro

The Flash intro was the purest form of motion without a job. Before you reached the site, you watched an animation the site had made about itself, with music, for half a minute or more. The most important element on the page was the small link that let you skip it. In October 1999 someone made Zombo.com, a site that was nothing but an intro, a voice welcoming you to a place where anything is possible, while nothing ever loaded. Everybody who had sat through an intro understood the joke.

For a few years there were two kinds of web designers. The Flash designers made sites that moved, played sound and looked like nothing else on the web. The HTML designers made pages that loaded quickly, could be read, printed and found, and looked rather plain next to them. Clients often had to choose between the two, and the choice said a lot about what they thought a website was for. I was firmly in the second camp.

In October 2000 Jakob Nielsen published Flash: 99% Bad. His complaint was not that things moved, but what came with them: the Back button stopped working, links no longer looked like links, text could not be enlarged or searched, and the content was closed to screen readers. Motion had arrived packed inside a technology that broke the web around it. Thank God HTML5 came around to solve all that.

What motion is good for

Take the intro away and motion has real work to do. It can show where something came from and where it went: a panel that opens from the button you pressed tells you how to close it again. It can confirm that an action worked, the way a small change in a button says your message is on its way. It can draw the eye, once, to something that is new. And things that move together are seen as belonging together, which is a way of grouping without drawing a single line.

All of these share one quality: the motion carries information that would otherwise be missing. Take it away and the visitor has to work something out. Motion that only decorates leaves nothing behind when it is removed, and that is the test.

When it hurts

For most people unnecessary motion is an annoyance. For some it is physical. People with vestibular disorders, problems of the inner ear and the brain’s sense of balance, can get dizzy, nauseous or a headache from large movement on a screen, and the effect can last well after the page has stopped moving. In 2015 Val Head described in A List Apart which motion is most likely to cause it: movement across a large part of the screen, backgrounds and foregrounds moving at different speeds, motion that goes against the direction you scroll, and zooms that suggest covering a great distance.

The best-known example came from Apple. In September 2013 iOS 7 introduced zooming transitions and a background that floated behind the icons, and people started reporting that their phone made them feel sick. The system already had a setting to reduce motion, but at first it only stopped the floating background; a month later an update replaced the zooms with quiet fades.

That setting is now everywhere, on phones and computers alike, and browsers pass it on to every website as a preference called prefers-reduced-motion. A site can read it and stop its motion for anyone who asked their device for less. The accessibility guidelines ask the same in their own words: anything that moves, blinks or scrolls by itself for more than five seconds must be possible to pause or stop, and motion that starts when someone interacts should be possible to switch off.

What this site does

The motion on this site came over from its first version, built in a website builder, and I kept it because I liked the sense of a page arriving rather than simply being there. But I put rules around it. On the homepage, sections slide in from the right the first time they come into view, and never again; when a section has several parts, they arrive one after another, an eighth of a second apart. The header slides away when you scroll down to read and comes back the moment you scroll up. And at the very bottom, the footer rises into place a little behind the page as you reach it. That is all.

Two things matter more than the effect. Nothing waits for the motion: without JavaScript, every section is simply there, and the text is never hidden until an animation has played. And for anyone whose device asks for reduced motion, none of it happens at all. The sections are in place from the start, the header and the footer stay put, and the video at the top is replaced by a still image. The site is the same site, only quieter.

Whether a slide-in from the right passes my own test is a fair question. It does not explain much. What it does is mark that a new part of the page has begun, once, and then get out of the way. I can defend that. A section that slid in every time you scrolled past it, I could not.

These are the rules I would give anyone who adds motion to a site.

Motion that earns its place

  • Give it a job. Show where something came from, confirm an action or mark something new; if removing it loses nothing, remove it.
  • Never make people wait. The content is there without the motion, and no text is hidden until an animation has finished.
  • Once is enough. Motion that repeats every time a visitor passes becomes noise by the third time.
  • Keep it short and small. A fraction of a second, over a short distance; large movements across the screen are the ones that make people dizzy.
  • Nothing that moves while people read. No carousels turning by themselves and nothing that runs against the scroll; layers that move at different speeds only gently, at the edges of the page.
  • Respect reduced motion. When the device asks for less motion, switch it off entirely, not just a little slower.

Read the originals