• Success Criterion 3.3.1
  • Conformance level A

Generic ‘There Were Errors’ Message With No Field Named

3.3.1 — Error Identification

Scenario

Setting

A food-delivery app's order-tracking screen

What’s wrong

Generic "There were errors" with no identification of which fields.

Example

<input class="error" type="text">

Why it matters

Everyone submitting forms — especially screen-reader and color-blind users who miss color-only cues.

How to test

Submit invalid data: if a generic 'There were errors' message appears without identifying which field(s), it fails.

How to fix

A text error message must identify each field in error and be exposed to assistive technology (announced automatically or focused).

<input class="error" type="text" aria-describedby="err-1">
<span id="err-1">Enter a valid email address</span>

A text message identifying the field and the problem must be exposed to assistive tech, not just shown as a red border.

Outcome

On a food-delivery app's order-tracking screen, this barrier is gone for everyone submitting forms — they no longer have to work around this.

Who is affected

Everyone submitting forms — especially screen-reader and color-blind users who miss color-only cues.

Learn more