Error Management

This section defines our approach to preventing, detecting, and enabling user recovery from issues encountered within our digital products.

Accessibility

Accessibility is a cornerstone of effective error management. Our goal is to ensure that all users, regardless of their abilities or assistive technologies, can perceive, understand, and recover from errors seamlessly. This section outlines key practices for making error handling accessible.

 

Key Accessibility Considerations for Errors

  • Add aria-invalid="true" to any input field that contains an error.
  • Link the error message to the input field using aria-describedby (or aria-errormessage for newer support) to ensure screen readers announce the error contextually.
  • For real-time announcements, add aria-live role="status" or role="alert" to the notification container. Make sure the content is truly hidden when no error is present.