You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
Beyond the normal notification alert pattern, make an error notification pattern.
Example
When errors can be detected programmatically, provide clear informative messages that succinctly tell the user where the error is and suggestions, tips or instructions on how to correct it. Ensure it is easy for the user to return to the input/control that needs correcting, and other content.
For example, on a form submission, a list of all fields needing correction could be added to an aria-live area above the form, with aria-invalid and inline visual cues to provide guidance. Be careful to avoid a keyboard trap and use ARIA or standard operating system notifications for users of assistive technology, such as screen readers.
Issue
Beyond the normal notification alert pattern, make an error notification pattern.
Example
When errors can be detected programmatically, provide clear informative messages that succinctly tell the user where the error is and suggestions, tips or instructions on how to correct it. Ensure it is easy for the user to return to the input/control that needs correcting, and other content.
For example, on a form submission, a list of all fields needing correction could be added to an aria-live area above the form, with aria-invalid and inline visual cues to provide guidance. Be careful to avoid a keyboard trap and use ARIA or standard operating system notifications for users of assistive technology, such as screen readers.
https://designsystem.digital.gov/components/alerts/
The text was updated successfully, but these errors were encountered: