Info |
---|
Add your comments directly to the page. Include links to any relevant research, data, or feedback. |
Page Properties | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||
|
Background
As part of our guidance on “writing for the web”, we should include best practice on developing error messages. This will provide consistency across applications, as well as improving accessibility and user experience.
...
Sample messages for common errors
Error example | Message text |
---|---|
Mandatory field | <field> is required and cannot be left blank. |
Invalid postal code | Postal code must be in the format of M1M 1M1. |
Invalid phone number | The phone number must in the format of ###-###-####. |
Invalid email address | The value is not a valid email address. |
Email addresses do not match | The email addresses must match. |
References:
AODA Compliance: Form Validation
Options considered
Option 1: | Option 2: | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description | ||||||||||||||
Pros and cons | ||||||||||||||
Estimated cost |
|
|