WCAG Success Criteriawcag-2.2-AA
WCAG 4.1.3: Status Messages
WCAG 4.1.3 requires that status messages — such as form submission confirmations, error notifications, and cart updates — be programmatically determinable through role or property so assistive technologies can announce them without requiring the user to move focus. This ensures users who rely on screen readers receive important feedback even when focus does not shift to the message.