Skip to content

Errors That Explain What to Correct

Test the form with a required answer missing and with an answer in the wrong format.

What to check

Test the form with a required answer missing and with an answer in the wrong format. Each error should name the affected field, explain the problem, and give useful correction guidance. A color change or a message such as 'Invalid' is not enough.

Passing examples

These examples meet this check:

  • Enter your name appears for an empty required name field.
  • Enter an email address in the format name@example.com appears for an invalid email.
  • Choose a date from 1 June onwards appears for an unavailable date.
  • Password must contain at least 12 characters explains the requirement.
  • Select at least one contact method identifies what is missing.

Failing examples

These examples need attention:

  • Error 102 appears without naming the problem.
  • A field turns red with no written message.
  • Invalid appears without correction guidance.
  • Something went wrong appears for a missing postcode.
  • The error message names the wrong field.

What a maintenance sign-off means