Known-answer test suite
Every flash blocker says it follows WCAG 2.3.1. These are the cases that prove it, including the ones naive detectors get wrong: slow ramps, boundary frequencies, small areas, red-only flashes and dropped frames. The clips are synthetic frame arrays generated in your browser and are never shown. The expected answers are locked in core/__tests__/expected.json.
Running…
| # | Case | Expected | Actual | Peak transitions / s | Match |
|---|
How to read this
- A transition is a change in relative luminance of at least 0.10 where the darker side is below 0.80. Two opposing transitions make a flash.
- FAIL means 7 or more transitions (more than 3 flashes) in some 1-second window, over more than 25% of a 10° field of view (21,824 px² at 1024×768).
- Case 15 runs case 2 through Calm Mode (
grayscale(1) brightness(0.32)). It passes because Calm Mode caps white at relative luminance 0.084, below the 0.10 needed for any transition.