Thank you for your order
Your order number is 48213. We will email you when it ships.
Understandable · 3.2 Predictable
Changes of context must happen only when the user requests them, or a mechanism must be available to turn automatic changes off. Without such a control, timed redirects, automatic page reloads, and unrequested pop-up windows fail, while content updates that are not changes of context are allowed.
Live demo
The same task, done two ways: switch between the version that passes and the one that fails, or put them side by side. Everything in the box is live, so try it with a keyboard, a pointer or a screen reader.
Activate the links in each version. Only the passing version tells you before you choose that a new window will open.
Your order number is 48213. We will email you when it ships.
Your order number is 48213. We will email you when it ships.
The tools follow the version you last used.
What happened
Why it passes
Each link says it opens a new window, so you expect the change before it happens and know how to get back.
Why it fails
The links open a new window with no warning, so you may not notice you have left the order page, and the Back button will not bring you back.
Examples
Five examples, each one running: the usual ways this criterion fails, and code that passes. Listen to them, measure them, or copy the code.
Fails
Live preview
<head> <meta charset="utf-8"> <meta http-equiv="refresh" content="5; url=/offers/"> <title>This sale has ended</title></head>
After five seconds the page replaces itself with another one, whether or not the person has finished reading. They never asked for the change.
Passes
Live preview
// Express: answer the old address with a permanent redirectapp.get("/summer-sale/", (req, res) => { res.redirect(301, "/offers/");});
The server sends the browser straight to the new address before anything is shown, so no page changes under the reader. This is technique SVR1.
Fails
Live preview
<a href="/returns-policy/" target="_blank">Returns policy</a>
The person asked for the page, not for a new window. Without a warning they may not notice the switch, and the Back button will not bring them back. WCAG documents this as failure F22.
Passes
Live preview
<a href="/returns-policy/" target="_blank"> Returns policy (opens in a new window)</a>
The link text says what will happen before the person activates it, so the new window is something they chose. This is technique H83.
Passes
Live preview
<label> <input type="checkbox" id="auto-refresh"> Reload this page automatically every minute</label>
The page reloads on its own only after the person turns this on, so every reload is one they asked for. It starts unchecked.
Why it matters
Screen reader users and people with visual or cognitive disabilities can lose their place or become confused when the page changes without their action. Keeping changes under user control helps them stay oriented.
W3C: Understanding 3.2.5Level AAA
Level AAA is the highest level. It is not required for whole sites, but it is worth meeting where you can.
Where it is required
No law on this site requires Level AAA criteria for whole sites.
How to test
A few concrete steps. Automated tools find some failures; most need a person.
Common failures