Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Add your comments directly to the page. Include links to any relevant research, data, or feedback.

Page Properties
label

Status

Status
colourYellow
titleIN PROGRESS

Impact

Status
colourGreen
titleLow

Driver

Sara Greenwood 

Approver

Contributors

Informed

Due date

Outcome

Documented: Validation

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:

Options considered

Option 1:

Option 2:

Description

Pros and cons

(plus)

(minus)

(plus)

(minus)

Estimated cost

Status
colourRed
titleLarge

Status
colourYellow
titleMedium

Action items

  •  

Outcome