Foldwren

Animation on websites: when it helps and when it hurts

How to tell purposeful website animation from distraction, what motion costs in speed, and why reduced motion settings deserve respect.

Animation helps a website when it explains something or confirms that an action worked. It hurts when it is only there to impress. That one distinction settles most arguments about whether a particular effect belongs on your site.

Small business owners are often shown sites full of movement and told this is what "modern" looks like. Some of that motion is useful. A lot of it makes pages slower and more tiring to use.

Motion that earns its place

Good animation is usually so small you would only notice if it were missing. It answers a question the visitor didn't know they were asking.

  • "Did that work?" A button that changes shade when pressed. A tick that appears after a form is sent. An item that visibly drops into the cart.
  • "Where did that come from?" A menu that slides in from the side where the icon was. A panel of answers that unfolds beneath the question you tapped.
  • "Is something happening?" A simple spinner or progress bar while a booking is processed, so nobody taps the button a second time.
  • "Can I click this?" A link or card that shifts slightly when the pointer moves over it.
  • "What changed?" A price that briefly highlights when a different option is selected.

In each case the motion carries information. Take it away and the site becomes a little harder to understand.

Motion that gets in the way

Problem animation tends to share one feature: it makes people wait or pulls their eyes from what they were reading.

  • Everything fades in as you scroll. Each heading, paragraph and image floats up and appears. One or two is fine. When every element does it, visitors spend their time waiting for content to arrive, and fast scrollers see blank space.
  • The page takes over the scroll. Sections that lock, slide sideways or zoom while you try to move down. People expect to be in control of scrolling.
  • Things that move while you read. Rotating banners, ticking counters, floating shapes in the background. The eye is drawn to movement whether it wants to be or not, so reading beside it is hard work.
  • Bouncing and pulsing buttons. Meant to attract clicks, more likely to irritate. They also make a business look a little desperate.
  • Background video. Heavy to load and distracting behind text.

A handy test: imagine seeing the effect for the twentieth time. Useful motion still feels fine. Decorative motion has worn out its welcome by the third visit, and your best customers are the ones who come back most.

What animation costs in speed

Motion isn't free. Complex effects usually rely on extra code that has to be downloaded and run before the page is ready. On a new phone with a fast connection you may not notice. On a four year old phone using mobile data in a regional town, the page can feel sluggish and jerky.

The costs show up in a few ways:

  • Slower loading, because of animation libraries and video files.
  • Stuttering, when a phone can't keep up and the motion skips.
  • Content jumping about as elements arrive late and push others down the page. This is how people end up tapping the wrong thing.
  • Battery drain from effects that run continuously.

Speed matters to visitors and is one of the things search engines look at. An effect that adds a second to your loading time needs to be doing something very valuable to justify itself.

Ask your designer to demonstrate animations on an ordinary phone, not a new laptop. If it stutters there, simplify or remove it.

Respect reduced motion settings

For some people, animation is a physical problem. Large movement on screen, especially zooming, sliding and parallax effects, can trigger dizziness, nausea or migraines in people with vestibular conditions. Flashing content can be dangerous for people with photosensitive epilepsy.

Phones and computers have a system setting, usually called "reduce motion", that people can switch on. A properly built website can detect that setting and tone its animation down or turn it off.

A few things worth asking for:

  • The site respects the reduce motion setting.
  • Nothing flashes rapidly, ever.
  • Anything that moves by itself for more than a few seconds, such as a slideshow, has a visible pause control. Accessibility guidelines call for this.
  • All content is still available with animation off. Nothing should exist only as an effect.

Rules of restraint

If you want some motion on your site, these limits keep it on the helpful side.

  1. Give each animation a job. If you can't say what it tells the visitor, cut it.
  2. Keep it quick. Most interface animation should be over in a fraction of a second. Anything approaching a full second feels slow.
  3. Keep it small. Things should move a short distance, not fly across the screen.
  4. Never make content wait. Text and images people need should be visible straight away.
  5. Animate one thing at a time.
  6. Be consistent. The same action should produce the same motion on every page.
  7. Leave reading areas still. Nothing should move near body text.

Questions to ask about any proposed effect

  • What does this animation tell the visitor?
  • What happens if we remove it?
  • How much does it add to loading time?
  • How does it behave on a mid range phone?
  • What do people with reduced motion switched on see instead?

A site with almost no animation, where pages appear instantly and buttons respond the moment they are pressed, feels fast and well made. That impression is worth more than any effect, and it suits every kind of business.

Your order