Skip to content

Errors That Are Easy to Find

After submission fails, people should be directed to what needs correcting.

What this means

After submission fails, people should be directed to what needs correcting. A form can move keyboard focus to an error summary or the first invalid field. Summary links should lead to the affected fields.

Passing examples

  • Focus moves to a summary saying 'Email address is required', with a link to that field.
  • Focus moves to the first invalid field and its error explanation is available there.
  • A summary lists three errors, and each link takes the person to the correct field.

Failing examples

  • An error appears far above the visible area, with no direction to it.
  • An error-summary link takes the person to the wrong field.
  • Submission fails but focus moves to an unrelated section, leaving the errors difficult to find.

What a maintenance sign-off means