Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Error notification pattern #218

Open
cehfisher opened this issue Feb 11, 2018 · 0 comments
Open

Error notification pattern #218

cehfisher opened this issue Feb 11, 2018 · 0 comments
Assignees
Labels

Comments

@cehfisher
Copy link
Owner

cehfisher commented Feb 11, 2018

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/

@scottaohara scottaohara self-assigned this Nov 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants