Skip to main content
Vially Logo

WCAG 2.1 Criteria Documentation

3.3.1 Error Identification (Level A)

High-Level Description

This success criterion requires that when a user makes an input error, it is clearly identified and described to them in text. The aim is to ensure that users know what went wrong and where, so they can take steps to correct it.

Detailed Description

Applies to:

  • All forms - login, sign-up, search, payment, and contact forms.
  • Interactive processes requiring user input or decision-making.

This allows:

  • Users to easily identify and correct mistakes.
  • Assistive technologies to communicate what went wrong.
  • A smoother, more inclusive experience for users who may struggle with memory, attention, or vision.

Indicators of Non-Compliance:

  • A form submission fails but does not indicate which field is incorrect.
  • Errors are shown only via color, icon, or visual styling.
  • Screen readers are not informed of validation messages or error locations.

Real World Examples

ScenarioNon-CompliantCompliant
Required field left blankPage reloads, but no message shown."Email address is required" appears near the field.
Incorrect format (e.g., phone)Field highlights red, but no message appears."Please enter a valid phone number in the format (123) 456-7890”.
Passwords dont matchForm clears with no explanation.“Passwords do not match. Please re-enter.”
Multiple form errorsNo indication of errors or only shows one.Each affected field displays a clear, readable message.
Colour-only error indicationA field turns red, but screen reader users get no feedback.Text message is present and focus moves to the first error automatically.

Disability Impact

Disability GroupWithout ComplianceWith Compliance
Blind / Screen Reader UsersNo verbal cue that an error occurred or where.Clear text error read aloud with screen reader.
Low Vision UsersRely on colour or visual styling only.Text message and visible error indicator help ensure understanding.
Cognitive DisabilitiesMay not understand vague or missing error info.Descriptive messages clarify next steps.
Motor ImpairmentsRepeating tasks due to unclear errors wastes time and energy.Accurate messages reduce unnecessary navigation or typing.

Supporting Documentation

Remediation Strategies

    < label for="email" >Email< /label >
    < input id="email" name="email" type="email" aria-describedby="emailError" >
    < span id="emailError" class="error" >Please enter a valid email address.< /span >

    Don’t rely solely on red borders or icons, always include a text explanation.

    Use ARIA live regions or programmatic focus to alert screen reader users:

    < div aria-live="assertive" >There was an error with your submission. Please correct the highlighted fields.< /div >

    < div role="alert" >There was an error with your submission. Please correct the highlighted fields.< /div >

    Consider placing a summary message at the top of the form in addition to inline messages.