Skip to main content

3.3.1 Error Identification

Level A Since WCAG 2.0 How it is checked: Manual test

In plain language

When input is wrong, point out which field is wrong and describe the error in text, not just with a red outline.

Who is affected

Examples

Fails

After clicking submit, the invalid field gets a red border, with no error message at all.

Passes

<input id="id-number" aria-invalid="true" aria-describedby="id-number-error">
<p id="id-number-error">ID number must be 12 digits.</p>

How to fix

How to test it yourself

What WCAG.win checks

Automated tools cannot decide this criterion. WCAG.win reports list it under "What a person needs to check" with the test steps above.

W3C documentation: Understanding Success Criterion 3.3.1: Error Identification

Check a web page for free