Default font size Increase font size  |   Decrease font size   |  
Skip to main content

Success Criterion 2.2.2 Pause, Stop, Hide: [Level A]

The intent of this Success Criterion is to avoid distracting users during their interaction with a Web page so it would seem useful for those without disabilities as well.

Techniques

Pausing content

As with SC 2.2.1 some mechanism should be provided to pause any motion in the web page, animations, scrolling headlines etc.

Content that blinks for less than 5 seconds

Any blinking content on a web page should be limited to a maximum of 5 seconds regardless of the technologies being used. For instance if there is an animated image that is flashing some message repeatedly, the animation should be limited to a maximum of 5 seconds before it stops.

Using a blinking technology that the user agent can turn off

Ensure that any blinking content can be turned by the user agent. The escape key (Esc) is the most common method employed by user agents. In order for this to be successful a technology should be used that acknowledges this, for eaxample an animated GIF or APNG file.

APNG -> bouncing beach ball GIF -> irritiating animation

Regrettably W3C haven't quite done their homework here. The APNG animation does not work in Chrome (28.0.1500.95) or IE8 and the Esc key does not work in Chrome or Firefox (23.0.1). But they're fun to look at-aren't they?!

Setting limit for animated gifs

Three factors determine how long an animated gif blinks for, the number of frames, the frame rate (how long the image is displayed) and the number of repetitions for the entire animation. These three multiplied together give a time limit for the animation. This time limit should be greater than 5 seconds. If so one of the values must be amended to achieve the required timing.

using script to control content

In this example (borrowed from W3C) Javascript is being used to scroll some content. It does provide however, a mechanism by which the scrolling can be paused and restarted.

This text will scroll and a Pause/Scroll link will be present when Javascript and CSS are supported and active.

Another example of where a script is used to control content is where it initiates some blinking but inhibits execution after 5 seconds.

Refresh the page to watch me blink

Using controls to stop content movement

Another method to controlling content movement is provide a control within the web page by which the content can be controlled.

dripping blood

Control to reload page eliminating content movement

Activating a control (the link underneath the flashing text) in the web page now re-displays the page with a text alternative to the moving content.

Register now to get maximum benefits! (Not part of the example but this will automatically stop after 2 minutes or so)
Stop this blinking blinking

Failures

Scrolling content with no pause mechanism

This failure occurs when there is scrolling content on a page but no mechanism has been provided to pause and restart it.

This failure occurs when there is scrolling content on a page but no mechanism has been provided to pause and restart it.

blink element and property

HTML boasts a blink element. This is more than likely not supported in any modern browser. Even if it is don't use it. Similarly, CSS provides a blink value for its text-decoration property. Once again don'tuse it, even if it works for you.

Script causing a blink effect without any mechanism to stop it

This is much like the technique above but here there is nothing to stop the blinking, either automatically after 5 seconds or with a control. (This will stop eventually so the browser isn't confronted with an endless loop.)

Refresh the page to watch me blink
Top