Error messages persistent
supplemental
Normative Text
Error messages persist at least until the error is resolved or the user dismisses them.
Methods & best practices
- Method: Keep track of the state of the error and make visibility of the error message depending on this state.
- Method: In a form, revalidate all fields when the form is submitted and remove all error messages that are no longer relevant.
- Method: Add a “Dismiss” button to the error that makes the error message disappear.
- Best Practice: [1-2 sentence description or a link to an example]
Tests
This section is non-normative.
Procedure
For each error messages:
- Check that the error message persists until the user fixes the error or dismisses the message.
Expected results
- #1 is true.
Tests
This content needs to be written.