Skip to content
2.3.1 · Level A · WCAG 2.0 · Operable → Seizures and Physical Reactions

Three Flashes or Below Threshold

Nothing on the page flashes more than three times in any one second, unless the flashing area is small and dim enough to fall below the general and red flash thresholds.

Why it matters

Flashing content can trigger a seizure in someone with photosensitive epilepsy. This is the one criterion where a failure causes direct physical harm, and it cannot be undone by the user after the fact.

Needs manual testing

Automated rules do not analyse video frames or animation timing. Review any video, GIF, or animation with a tool such as the Photosensitive Epilepsy Analysis Tool, or remove the flashing.

Fails

<style>
  @keyframes strobe { 0%, 50% { background: #fff; } 51%, 100% { background: #000; } }
  .alert { animation: strobe 0.2s infinite; }
</style>
<div class="alert">Sale ends tonight</div>

The background alternates black and white five times a second, across the full element, with no way to stop it.

Passes

<style>
  .alert { background: #fff3cd; border-left: 4px solid #b45309; }
</style>
<div class="alert">Sale ends tonight</div>

A static highlight draws attention without flashing. If motion is wanted, keep it to a single gentle transition and respect prefers-reduced-motion.

Openwell finds violations like this one across your whole site, clusters them by the component that caused them, and generates a fix that's re-validated before you see it.

Scan your site free
WCAG 2.3.1 Three Flashes or Below Threshold — what it requires and how to fix it — Openwell