ACCESIBILIDAD ≠ OVERLAY · 43
Announce what changes when a product goes into the basket
📅 18 November 2026 · ⏱ 2 min read
You activate ‘Add to basket’ with a screen reader. The counter changes and a green message appears, while the screen reader says nothing. Pressing again could add a second item. The shop needs to communicate the result while you stay on the button.
01. Say what happened
‘Blue jacket added. One item in your basket’ names the product and confirms the outcome. A bare number leaves people guessing. If the operation fails, explain what happened and how to proceed. Keep the feedback visible so it can be checked again.
02. Keep focus in place
For routine feedback, create a role="status" region before it is needed and update its text after the server confirms the operation. Use urgent alerts for incidents that need immediate attention. If a dialogue requires a decision, manage focus using the dialogue pattern and test where it returns on close.
03. Test repeat updates
A counter, toast and mini basket can update together and announce the same thing several times. Listen for duplicated or conflicting messages. Add the same item twice and check that the new quantity is announced. On slow connections, distinguish a pending operation from a confirmed result.
04. Test with assistive technology
Add an item, change its quantity and remove it using the keyboard and a screen reader. Check failures as well. Blind Reader offers guided basket review by voice in WooCommerce, PrestaShop and Odoo. Test both tools together for repeat announcements. WCAG 2.2 criterion 4.1.3 covers status messages conveyed without moving focus. WCAG 2.2 · 4.1.3
05. An example status region
Place the empty container in the page from the start. After the server confirms the action, set its message with textContent. Keep the same node for later updates and listen to the result with your usual screen reader.
<div id="cart-status" role="status"></div>
document.getElementById("cart-status").textContent =
"Blue jacket added. One item in your basket.";

