Reviewed December 4, 2026
Accessibility of marketing popups: causes, diagnosis, and the fix order that works
The marketing popup is where a store's accessibility goes to be tested in public. It interrupts by design, which means it has to handle focus, keyboard, and screen reader behavior correctly at exactly the moment it is least welcome. Most do not. The failures are not exotic edge cases; they are the same four defects repeated across the industry, because popups are usually installed from apps, styled by marketers, and tested by nobody using a keyboard.
The cost is not abstract. Keyboard and screen reader users who hit a broken popup do not file a report; they leave, or they stay trapped in a focus loop behind a discount offer, which is worse. And the legal exposure around inaccessible commerce experiences keeps growing teeth.
The cause: interruption is an accessibility event
A modal dialog makes promises the moment it opens. Focus moves into it. Focus stays inside it while it is open. Escape closes it. Closing returns focus to whatever triggered it. Screen readers announce what it is and what it wants. Break any one of these and the popup stops being an offer and becomes an obstacle. WCAG names the underlying requirements: No Keyboard Trap (2.1.2), Focus Order (2.4.3), Name, Role, Value (4.1.2) for the controls, and Content on Hover or Focus (1.4.13) for the dismiss behavior. The standards are not ambiguous about popups; the implementations are just rarely checked against them.
Diagnosis: five minutes, keyboard only
Put the mouse away. Tab to the popup trigger or wait for the timed popup with your hands on the keyboard. Can you reach the email field and the close control in a sensible order? Does Escape close it? When it closes, where does focus land, back on the page where you were, or dumped at the top of the document? Then repeat with a screen reader and listen to what gets announced when the popup opens. This five-minute pass finds the overwhelming majority of real-world popup defects, which is precisely why it is so damning that it is so rarely done.
The usual defects, in the order you will find them
Focus never enters the popup, so keyboard users tab through the page behind it while it sits on screen asking for an email. Or focus enters and cannot leave, a genuine keyboard trap if there is no working close route. The close control is a bare X with no accessible name, announced as "button" or nothing. The popup opens on a timer and yanks focus mid-task from wherever the user was reading. And the background page remains fully interactive and readable behind the modal, so the dialog exists visually but not programmatically. Each defect is small. Together they describe most popups on most stores.
The fix order: behavior before styling, native before custom
First, use components that already behave: the native dialog element with showModal supplies focus containment, Escape handling, and backdrop semantics that hand-rolled divs routinely get wrong, and any popup app worth keeping should be evaluated on whether its dialog behaves this way out of the box. Second, fix the close control: a real button, a real accessible name, reachable early in the tab order. Third, focus management: in on open, back to the trigger on close. Fourth, timing: a popup that fires mid-task and steals focus fails the spirit even when it passes the letter, so trigger on intent signals or section boundaries rather than a raw timer. Styling, the part everyone starts with, comes last, because a beautiful trap is still a trap.
The business case nobody should need
An inaccessible popup does not merely exclude; it underperforms for everyone. Keyboard traps generate support contacts and abandoned sessions from users who never identify the cause. The same focus and labeling fixes that make the popup accessible make it more usable on mobile, clearer under distraction, and easier to dismiss, which paradoxically raises its conversion quality: the people who stay are the people who meant to. Accessibility here is not a compliance tax on the marketing program. It is the marketing program, working for the whole audience.
Popup capture practice more broadly is covered in email capture and popups and storefront accessibility.
Frequently asked questions
What makes a popup accessible?
Focus moves into it when it opens and stays inside while it is open, Escape closes it, closing returns focus to the element that triggered it, the close control is a real button with an accessible name, and screen readers announce the dialog and its purpose. The native dialog element with showModal provides most of this behavior by default.
Which WCAG rules apply to popups?
The core ones are 2.1.2 No Keyboard Trap, 2.4.3 Focus Order, 4.1.2 Name Role Value for the controls, and 1.4.13 Content on Hover or Focus. Together they cover the trap, the tab order, the unlabeled button, and the dismissal behavior, which are the four defects most popups actually have.
How do I test a popup's accessibility quickly?
Keyboard only, five minutes. Tab through it: can you reach the field and the close button in order, does Escape close it, and does focus return to where you were? Then listen with a screen reader to what is announced on open. That pass catches most real defects.
Our popup comes from an app. Is it still our problem?
Yes. The store presents the popup to its customers, so the experience and the exposure belong to the store. Evaluate popup apps on dialog behavior before design features, and if the app cannot produce an accessible modal, the fix is a different app, not a hope.