WebAIM: Animation and Carousels
Animation and Carousels
You are here:
Articles
> Animation and Carousels
Introduction
Animated elements excel at capturing and directing user attention. They also excel at distracting and frustrating users when used incorrectly. Nobody likes trying to read an article or fill out a form while half a dozen animated ads, blinking popups, or scrolling news tickers get in the way. For people with cognitive and learning disabilities, animation can make task completion difficult or even impossible.
Animation
Animated content includes anything that moves, blinks, scrolls, or updates on its own, such as animated carousels, "toast" popups, jiggling icons, or spontaneous dialog boxes. These distractions impact usability for all users, but are especially obstructive to people with cognitive and learning disabilities. For a person with ADHD (which includes
over 8% of adolescents and over 4% of adults
), even a small animated element can make it very difficult to focus or complete tasks. Animated elements can also present significant difficulty for users who need extra time to read the content, such as users with
cognitive disabilities
or
low vision
Users must have a keyboard- and mouse-accessible way to
pause, stop, or hide automatically moving, blinking, or scrolling content
(such as carousels, marquees, or animations) that lasts longer than five seconds and is presented in parallel with other content. This also includes automatically updating content like news tickers, chat messages, and so on.
The easiest and most accessible way to accomplish this is with a simple