Accessibility overlays versus fixing the code
An overlay is one line of JavaScript that promises to make a site accessible. It is an easy thing to buy and a hard thing to evaluate. Here is what it does in the browser, where that falls short, and what the alternative looks like for a development team.
What an overlay is
An accessibility overlay is a third-party script added to every page, usually with a
single <script> tag. Once the page has loaded, it typically does two things:
- Shows a toolbar of display options: larger text, higher contrast, a different font, paused animations, a reading guide.
- Patches the page at runtime: adding
alttext it has generated for images, adding ARIA attributes, labelling form fields and buttons it decides are unlabelled.
Neither of these changes your code. The HTML your server sends, and the components it is built from, stay as they were. The repairs exist only in browsers where the script has loaded and run.
Where runtime repair falls short
It is guessing. A script that meets an unlabelled icon button has to infer what the button does from the page around it. Sometimes it is right. When it is wrong, the button now has a confident, incorrect name, which is worse than none: a screen reader user who hears "Close" on a button that deletes something has no reason to doubt it. The same goes for generated alt text, which can describe what is in a photo without knowing why the photo is there.
The toolbar duplicates what people already have. People who need larger text, higher
contrast or reduced motion usually set it once, in their operating system or browser, and
expect every site to respect it. A site that honours prefers-reduced-motion and scales
with the browser's text size serves them better than a per-site toolbar they have to find
first.
It can get in the way of assistive technology. Screen readers, switch access and voice control already sit between the person and the page. A script that changes roles, focus and markup after load is one more layer that can disagree with them, and many disabled users and accessibility practitioners have reported exactly that. The Overlay Fact Sheet (opens in a new tab), signed by a large number of practitioners, sets out the objections in detail.
Many problems are not patchable from outside. Focus order that follows the DOM and not the layout, a custom dropdown that traps the keyboard, an error message that a screen reader never announces, a video without captions: these are fixed in the component, the template or the content, not by a script that arrives afterwards.
It only covers the page it loads on. The same components often ship elsewhere too: in a mobile app, an email, a PDF. A fix in the source reaches them; a runtime patch does not.
The claims problem
The marketing around overlays has been the subject of regulatory action. In 2025 the US Federal Trade Commission fined accessiBe, one of the best-known overlay vendors, $1 million over claims that its product could make websites compliant with WCAG, along with reviews presented as independent that were not.
This is not legal advice, and this guide makes no claim about any particular product's current behaviour. The practical lesson for a buyer is narrower: be sceptical of any tool, ours included, that says it makes a site compliant. No automated tool can establish that.
What fixing the code looks like
The alternative is less exciting to sell and more effective to do: find the violations, fix them where they are written, and stop new ones arriving.
- Find what a machine can find. An axe-core scan of each page template lists contrast failures, missing labels, unnamed buttons, invalid ARIA and the rest, each with a selector and the offending HTML. Most clusters are one fix: a colour token used in forty places, one icon-button component used on every page.
- Fix it in the source. A label on the input, a name on the button, a contrast-safe value for the token. Our guides on icon buttons, form labels and colour contrast go through the common ones.
- Stop it coming back. A check in CI with a committed baseline fails the build on new violations without demanding the old ones are fixed first. See checks in CI on an existing site.
- Have a person test the rest. Keyboard use, screen reader behaviour, whether alt text and error messages make sense. Automated testing covers part of WCAG, and a qualified reviewer covers what it cannot.
Removing an overlay
If a site already has an overlay installed, a few practical points:
- Scan without it. An axe-core scan runs against the page as the browser builds it, scripts included. If the overlay's changes land before the scan runs, the result describes the patched page, not your code. Scan a build without the script, such as a staging site, to see what the source actually contains.
- Expect the scan to find more. That is not a regression. It is the list of fixes the overlay was standing in for.
- Fix the critical and serious findings first, then remove the script, so there is no window in which the guesses are gone and the fixes are not yet there.
What Skiplink does and does not do
Skiplink is a scanner and a CI gate. It tells you which automatically detectable WCAG violations are on a page, where they are, and whether they are new. It does not change your site, it has no widget, and it never will. A clean scan means no automatically detectable violations were found, not that the site conforms to WCAG or meets any law. What a scan does not tell you explains the limits, and the criteria no scanner detects lists them.
Related
- Alternatives: Pa11y CI, Lighthouse CI and axe CLI
- Adding accessibility checks to a site that already has violations
- Automated Scan Accuracy & Limitations
Try it on your own site: scan a URL for free, or read the docs to add a baseline to your pipeline.