Cart Errors That Screen Readers Never Announce Are Cart Errors That Never Get Fixed
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.
What the standard actually requires
WCAG 2.2 covers this in two places. Success Criterion 3.3.1, Error Identification, requires that an input error is described in text and the item in error is identified. Success Criterion 4.1.3, Status Messages, requires that status updates, like a changed total or a removed item notice, are programmatically determinable through role or properties so assistive technology can announce them without moving focus. A banner that only exists visually fails the second one outright.
The failure pattern is consistent: the message is injected into the DOM as a plain div, no role="alert", no aria-live region, and focus stays wherever it was. The WebAIM screen reader user surveys have found for years that most respondents use a screen reader as their primary tool on desktop, which means the unannounced error is not an edge case. It is the main road, unmarked.
The three cart moments that break most often
Quantity updates first. The shopper changes a quantity, the line total recalculates, and nothing announces the new figure. Second, promo codes: an invalid code produces a visual shake or a red line of text, while the screen reader user hears the page reload and assumes the discount applied, discovering otherwise at payment. Third, the stock removal: an item vanishes between cart and checkout with a notice rendered once, visually, above the fold the user is not looking at.
Each fix is small and specific. Put cart status updates inside a persistent aria-live="polite" region that exists in the DOM on page load, not one injected with the message, because some screen reader and browser combinations miss live regions created at the moment of the update. Move focus to the error summary only when the shopper must act, and link each summary item to its field. These are afternoon fixes, not rebuilds. Our earlier piece on free Shipping Threshold Messages covers the quantity control itself; this is the announcement layer underneath it.
How to test without guessing
Test with one real screen reader, not a checklist. NVDA with Chrome or Firefox on Windows and VoiceOver on iOS cover most of your traffic between them, and both are free. Run the three moments: change a quantity, enter a bad promo code, and trigger a stock removal if you can stage one. Write down exactly what was announced, word for word. Silence is a fail, a doubled announcement is a fail, and the total read without context is a fail.
Then log it like any other compliance metric. Cart error announcement belongs in the same audit pass as focus order and accessible names, because it sits in the purchase path where an unannounced change costs a sale and, under the European Accessibility Act's ecommerce requirements now in force, carries regulatory weight too. cart Quantity Steppers covers how threshold and shipping messages should be announced, which is the same live region doing a second job.
Frequently asked questions
What does WCAG require for cart error messages?
Two things. Errors must be identified and described in text under Success Criterion 3.3.1, and status messages must be programmatically determinable under 4.1.3 so assistive technology can announce them without moving the user's focus. A visual only banner meets neither requirement fully.
Why does an injected alert div not get announced?
Many screen reader and browser combinations only monitor live regions that exist in the page when it loads. An aria-live region created at the same moment as the message is often missed. Keep a persistent, empty live region in the cart markup and write messages into it.
Which screen readers should I test a cart with?
NVDA on Windows and VoiceOver on iOS cover the majority of screen reader shoppers between them, and both are free. Test the quantity change, the invalid promo code, and the stock removal, and record what is announced word for word.
Should focus move to the error message?
Only when the shopper must act to proceed, such as a failed form submission. For status updates like a recalculated total, a polite live region announcement is correct; moving focus on every quantity change makes the cart unusable.