We'd like to set Google Analytics cookies to learn how people use the Knowledge Base, so we can improve it. We set them only if you accept.

Skip to main content
Digital Accessibility Knowledge Base

blink

Web validation

<blink> elements must not be used.

Blinking content distracts readers, reduces comprehension, and rapid flashing can trigger photosensitive seizures. Modern browsers no longer support the blink tag, but legacy code may still include it. Remove the effect, or make sure any blinking lasts fewer than five seconds. This keeps information readable and safe for everyone.

Pass Patterns

Emphasizing text with styling

CSS weight and color draw attention without any motion.

HTML
<p class="alert-text">Limited-time offer</p>


<style>
    .alert-text {
        font-weight: 700;
        color: #c00;
    }
</style>

A CSS animation blinks the text a few times, then stops on its own.

HTML
<style>
    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }
    .notice {
        animation: blink 1s linear 4;
    }
</style>
<p class="notice">New message</p>

Fail Patterns

The <blink> element is obsolete. Browsers that still support it blink the text indefinitely with no way to stop it, so it must be removed.

HTML
<blink>Sale ends soon!</blink>

WCAG techniques

Sufficient techniques

Failure techniques

ACT Rules

Try It Yourself

Inspecting the browser dev-tools

  1. Open the page in a desktop browser.
  2. Search the DOM for <blink> elements or content that blinks.
  3. Watch any blinking content for more than five seconds.

Expected results: No content blinks for more than five seconds, or a mechanism lets you stop it.

Actual results: Blinking content continues past five seconds with no way to stop it.

FAQ

How does this issue relate to 2.2.2 Pause, Stop, Hide?

SC 2.2.2 requires a way to pause, stop, or hide any blinking content that starts automatically and lasts more than five seconds. An uncontrolled blink effect fails this because it continues indefinitely and gives users no way to stop it.

Why is this issue marked as Serious?

Continuous blinking can cause headaches and impede reading. It also disrupts assistive technology output and makes it hard for everyone to concentrate on the page content.

Standards and Regulations

StandardSuccess CriterionReference
WCAG 2.22.2.2 Pause, Stop, Hide (A)For moving, blinking, scrolling, or auto-updating information, a mechanism exists to pause, stop, or hide it, with specific exceptions for essential activity and time-based media.
EN 301 5499.2.2.2 Pause, Stop, HideSame as the WCAG text.
Section 5081194.22(j)Pages shall be designed to avoid causing the screen to flicker with a frequency greater than 2 Hz and lower than 55 Hz.
508 Trusted Tester2.2.2-blinking-moving-scrolling, 2.BThe user can pause, stop, or hide moving, blinking, or scrolling content.

Personas impacted by this issue