Calculates on this device. File exports run online.
Flashing Content Checker
Fast flashes can cause seizures in some people. Check an animated GIF or a blink pattern here, or a video in the box below: you see how many times each part flashes in every second and whether it stays within the WCAG limits.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use it
- Choose Check an animated GIF and choose the file, or Check a blink pattern and type the colours and how long each stays.
- Give the width the picture has on a 1024 × 768 screen, if it is not shown at its own size.
- Press Check. The verdict and the table show the flashes in every second.
- For a video (MP4, WebM, MOV and others) or an animated PNG or WebP picture, use the box below.
The WCAG rule
WCAG 2.2 success criterion 2.3.1 (level A) says that a page must not have anything that flashes more than three times in any one second, unless the flashes stay below the general flash and red flash thresholds.
A general flash is a pair of opposite changes in relative luminance of 0.1 or more (on a scale from 0 for black to 1 for white), where the darker state is below 0.80. A red flash is a pair of opposite changes involving a saturated red. Flashes are allowed when they cover no more than 25% of a 10-degree part of the view, which WCAG estimates as 341 × 256 pixels on a 1024 × 768 screen.
How this check works
- Every frame is cut into cells of about 4 screen pixels. Each cell is followed on its own: a change counts when it reaches 0.1 from the last peak or valley.
- A cell has too many flashes when it has 7 or more changes (more than three flashes) of a kind in one second. The check then looks for a 341 × 256 area where such cells cover more than 25%.
- A saturated red is a colour whose red part is at least 80% of red + green + blue (in linear light), as the WCAG 2.2 working definition says; a red change also needs a colour distance of more than 0.2 in the CIE 1976 u′v′ diagram.
- Patterns finer than about 4 screen pixels are averaged, as the WCAG exception for fine, balanced patterns (like a checkerboard of very small squares) allows.
Limits
- This is an automated estimate, not a certification and not medical advice. Test with real viewers and an expert tool when it matters.
- The result depends on the size on the screen: content viewed larger or closer covers more of the view. Check at the largest size people may use.
- Flashes faster than half the frame rate cannot be seen in the frames. GIF frames are timed by the delays written in the file; a frame with no delay counts as 0.1 s unless you change it.