Component Library

Alerts - Critical Messages

Issue Description

The screen reader does not read critical alert text aloud, or does so incorrectly.

Recommendation
  • Ensure that alert text uses the <role="alert">
  • Move user focus to the element that fails validation or prompts the error.

https://developer.paciellogroup.com/blog/2014/03/screen-reader-support-aria-live-regions