Skip to main content
Version: v6

Add to Cart modal lacks an announcement or alert

Add to Cart modal lacks an announcement or alert — rule summary
FieldValue
Rule codeManual_AddToCartAlert
WCAG conformance levelAA
WCAG success criterion4.1.3 Status Messages
Must be fixed at sourceNo

Description

The Add to Cart modal is missing a live announcement or alert for assistive technologies. Without proper alerts, screen reader users may not be informed that an important modal has appeared, affecting the overall user experience and accessibility.

How to fix

Ensure there is an announcement/alert when add to cart is activated that the product has been added to the cart or if there is an error. Use aria-live="assertive" or role="alert" to ensure the Add to Cart modal is announced to screen reader users when it appears.