This is a complex application and user errors will occur. An on-screen prompt is used to alert users of errors, warnings and other notifications that are of importance to a specific transaction. Alert prompts instruct users to return to the top of the page for more detailed information. For screen reader users an invisible "Error Summary" link is automatically added to the top of the page when an alert occurs. This becomes the first link on the page and precedes the Skip to Main Content link. The "Error Summary" link navigates to the area of the page where the error or warning is detailed. This is called the error list.
Alerts are provided for the following conditions:
Errors: Errors or omissions were made and must be corrected before the user can continue the process. (If you are using Internet Explorer with JavaScript turned on, the error list will usually be represented as a list of links. Selecting each link will take you to the specific form field that needs to be corrected. Some exceptions to this link rule occur when form fields are conditionally required in response to another form entry. In that instance, the error message will not be in the form of a
hyperlink.)
Warnings: These vary according to context, but alert the user to potential problems related to the data entered or selections made. Alternative options may be presented. However, unlike errors, the user can ignore the warning and continue the transaction without making changes. Warnings are not represented as
hyperlinks.
Notifications: These are mainly instructional and are designed to provide additional information to the user. The user can continue without taking further action.
Screen reader users should follow this sequence when responding to alert prompts.
- Read the alert message completely and select OK to close the alert.
- Use Ctrl + Home to go to the top of the page and the Error Summary link. (Alternately, the screen reader user can use the Access Key combination (ALT+C) to go directly to the Error Summary link; or, they can use JAWS short cut keys to list all page links. The Error Summary link is always the first link on the page when JavaScript is enabled. If you have JavaScript disabled, you would hear the warning message informing the user of features in the application that will not work without JavaScript, before the error summary
link.).
- 3. The user should follow the Error Summary hyperlink to the error list. The user can optionally address single or multiple errors on the form. However, many users prefer to address one error at a time and then use one of the methods above to return to the error list to deal with the next error on the list. (If you are using Internet Explorer with JavaScript turned on, the error list will be represented as a list of links. Selecting each link will take you to the specific form field that applies to that error and needs
corrected.).
- After completing all errors, re-submit the page. If there are any new errors on the page, you will be notified in the same manner.