Step 27 of 32

Telling customers what just happened

By the end of this step: you will be able to check that short messages like "added to cart" are also spoken to people who use a screen reader.

The short version

  • Some messages appear on a page without any warning, like "Added to cart".
  • A person who can't see the screen may never know the message appeared.
  • Your website can be built so a screen reader speaks these messages.
  • You can check this yourself, or ask your web designer to.

What is a status message?

You click Add to cart. A small note appears: "1 item in your cart". You see it and carry on.

Now picture a customer who is blind. They use a screen reader. That is a program that reads the page aloud. The note appears in a corner they aren't listening to. They hear nothing. Did the click work? They can't tell.

MDN is a respected guide for web builders. It says these changes are usually easy to see. But they may not be obvious to users of assistive technologies.[1]

W3C calls these notes status messages. A status message gives news about a result, a waiting state, progress or an error. It also does not arrive through a change in context.[2] A "change in context" means the page jumps somewhere new or grabs your attention, like a pop-up window.

Two boxes side by side. Left, Message not marked: Added to cart appears on screen, and the screen reader says nothing. Right, Message marked: Added to cart appears on screen, and the screen reader reads it aloud.
Same message on screen, but only one is heard.

The rule in plain words

WCAG 4.1.3 Status Messages is Level AA.[2] Its goal is to let assistive technology notify users about status changes that don't take focus.[2] W3C gives the reason in one line: people who do not see messages need to be informed about them.[2]

"Focus" means the spot on the page where the keyboard is working right now. A status message should not pull the customer away from that spot. It should just be spoken.

Messages a small shop might have

W3C lists real examples. Here are two that fit a shop.

  • A customer presses Add to Shopping Cart. The text "5 items" appears near the cart icon. A screen reader announces "Five items" or "Shopping cart, five items".[2]
  • A customer sends a form. The text "Your form was successfully submitted." is added to the form. The screen reader announces the same message.[2]

Other likely messages on a small business site are "Booking saved", "Code applied" and "Sorry, that time is taken".

What about pop-up boxes?

A box that opens and takes focus is already announced. W3C says a dialog that takes focus is a change of context. So it isn't a status message.[2] This rule is about quiet messages that don't take focus.

How a website does it

You don't write this code yourself. But it helps to know the name of the fix so you can ask for it.

The fix is called a live region. It is a part of the page marked so the screen reader watches it for changes. MDN says simple changes that aren't interactive should be marked as live regions.[1]

A live region has a setting for how urgent it is:

  • Polite waits. MDN says normally only polite is used, and the screen reader will speak changes whenever the user is idle.[1]
  • Assertive interrupts. MDN says it is for time-sensitive, critical notifications that absolutely require the user's immediate attention.[1]

For "added to cart", polite is the usual choice. There is one more tip for builders. MDN says to establish the live region before updating its content.[1] If the message box is added at the same moment as its text, it may not be spoken.

Two boxes. Polite waits until the listener is idle and is for most notes. Assertive interrupts what is being read and is for critical notes only.
Two urgency settings for a live region.

Check it on your own site

You can't see a live region. So the test is to listen. Step 9 shows how to start a screen reader.

Three boxes joined by arrows: 1. Press a button. 2. Stop and listen. 3. Heard it? Pass or report.
The listening test in three steps.

Try it on your site

  1. Turn on a screen reader. Use the one built into your computer or phone.
  2. Go to a page that shows a short message. A button like Add to cart, a search box or a contact form will do.
  3. Press the button, then stop and listen. Don't move around the page.
  4. Did you hear the message? If so, that message passes.
  5. If you heard nothing, write down the page and the message. Send it to your web designer or your website builder's help team. Ask: "Can this message be marked as a live region, or a status message under WCAG 4.1.3?"
  6. Repeat for each message type: cart, forms, search and bookings.

Sources

  1. ARIA live regions, MDN Web Docs (accessed 2026-11-15)
  2. Understanding Success Criterion 4.1.3: Status Messages, W3C Web Accessibility Initiative (accessed 2026-11-15)