The Promo Code Field Fails 3.3.2 Before Anyone Types in It
The shopper removes an out of stock item, the cart total changes, a red banner appears at the top of the page, and their screen reader says nothing at all. Visually the error is handled. For a blind shopper the cart just silently changed, and the next thing they hear is a total that does not match the one they were quoted a minute ago.
WCAG 2.2 criterion 2.2.1, Timing Adjustable, is Level A. When a session has a time limit, the user must be able to turn it off, adjust it, or extend it, and a warning has to appear before expiry with at least 20 seconds to act on it. Checkout timeouts that silently clear a cart fail that criterion outright, and they fail screen reader and switch users first, because everything those users do takes more keystrokes.
WCAG 3.3.2, Labels or Instructions, Level A, requires labels or instructions when content requires user input. The promo code field is the checkout's worst offender: a placeholder doing duty as a label, no hint about where codes come from or whether spaces matter, and an error that says invalid code when the real problem is an expired campaign. Instructions belong before the typing, not in the error after it.
A placeholder is not a label and never was
Placeholder text disappears the moment typing starts, is often too low in contrast to read, and is inconsistently announced by assistive technology. WebAIM's form guidance has made this point for years: every input needs a persistent visible label tied to it in code. Promo fields routinely ship with nothing but the word code inside the box, which vanishes exactly when the shopper needs to confirm they are in the right field.
The fix is unglamorous. A real label element reading promo code, helper text stating where codes are found, in the confirmation email, on the campaign page, and a note that codes are not case sensitive if they are not. Three lines of text that prevent most of the field's failures before they happen.
Say what a valid entry looks like
Instructions under 3.3.2 include expected format when a field has one. Gift cards and promo codes have formats in everything but name: length varies, some include hyphens, some reject spaces. If your system strips spaces and ignores case, say so in the helper text and shoppers stop debugging your parser for you.
The same applies to the field next door that everyone forgets, the gift card PIN. A four-digit PIN hidden under a scratch panel is a format fact the shopper needs before submitting, not an error to earn. State it beside the field.
Errors that distinguish expired from mistyped
Most promo errors collapse three different events into one message: the code does not exist, the code expired, and the code does not apply to this basket. Each has a different shopper action. Expired means stop trying. Not applicable means check the terms, a minimum spend or a category limit. Does not exist means check the typing.
Criterion 3.3.1 requires the error described in text; it does not grade the description's usefulness, but shoppers do. A message that says this code expired on November 20 ends the guessing. A message that says invalid code starts a support chat, and support chats during checkout are abandoned baskets with extra steps.
Keep reading: Your Checkout Session Timeout Is an Accessibility Failure Before It Is a Security Feature, The Mini Cart Drawer Is Where Keyboard Users Lose the Thread, and Cart Errors That Screen Readers Never Announce Are Cart Errors That Never Get Fixed cover the nearby cases in this series.
Frequently asked questions
Why is placeholder text not an acceptable label?
It disappears when the user starts typing, it frequently fails contrast requirements, and screen readers announce it inconsistently. WCAG 3.3.2 and WebAIM guidance both point to a persistent, programmatically associated label as the reliable pattern for any field that takes input.
What instructions should a promo code field carry?
Where to find a code, whether it is case sensitive, and whether spaces or hyphens matter, stated beside the field before entry. If gift cards are accepted in the same flow, the PIN location and format deserve the same treatment.
Does 3.3.2 require instructions for every field?
It requires labels or instructions to be provided when content requires user input, with the detail scaled to what the field demands. A name field needs little; a field with a format, a code, or a constraint the shopper cannot see needs the instruction up front.
How specific should a promo code error be?
Specific enough to give the shopper their next action. Distinguish a code that does not exist from one that expired and one whose conditions the basket does not meet. Each message should name the situation in plain text, per 3.3.1, rather than a single invalid code for all three.