Status messages
The WCAG rule that updates such as “Added to cart” are announced to screen readers without moving focus.
Status messages is WCAG success criterion 4.1.3, added at Level AA in WCAG 2.1. A message that reports a result, progress, or an error without taking focus, such as “3 results found”, “Added to cart”, or “Saving”, must be marked in code so assistive technology can announce it.
People who can see the screen notice the message appear. Someone using a screen reader hears nothing unless the message is in a live region, usually through role="status" or role="alert". The fix is small, but without it a person may add the same item three times, unsure whether anything happened.
Source
Related terms
Get help with every step.
We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.