---
name: review-form-error-messages
description: "Check each form error after submission: is there a text message, can the person tell which field it belongs to, and does it say what is wrong? Use when reviewing validation messages, error summaries or red-outline errors against WCAG 3.3.1 Error Identification and 3.3.3 Error Suggestion."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/review-form-error-messages
---

# Review form error messages

Check whether a person can identify which input failed and what was wrong after the form detects an error.

## When to use this skill

- Someone has screenshots or notes of a form's error state and wants to know whether the errors are accessible.
- A form marks errors only with red borders or icons and the team wants to know what to add.
- An error summary at the top of a page lists problems and the team wants to check that each one leads to the right field.

## When not to use it

- Designing the validation rules themselves, such as which postcode formats are valid. That belongs to the product owner or the relevant data standard.
- Errors announced while typing, or success messages after submission. Those raise WCAG 4.1.3 Status Messages and need a screen-reader test.
- Preventing mistakes on legal, financial or data-changing forms, which is WCAG 3.3.4 Error Prevention (reversible, checked or confirmed submissions).

## What you need

- The submitted values, field labels and validation rules used on a test form.
- The exact visible error text and how each message is linked visually or programmatically to its field.

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- Which values were submitted, and which validation rule did each rejected field fail? Without the detected error, a message cannot be judged accurate.
- What exact text appears, where, and how is it connected to its field: beside it, linked from a summary, or referenced with aria-describedby? A screenshot and the markup both help.
- Is there anything a message must not reveal, such as whether an account exists? WCAG 3.3.3 allows a suggestion to be withheld when giving it would put security at risk.

## Method

1. List every field the application rejected and the condition it detected: blank, wrong format, out of range or a failed rule. Keep a business rule you cannot see separate from a message that fails to explain it.
2. For each rejected field, look for an error description in text: beside the field, in a summary, an alert or a dialog. Colour, a red border or an icon alone is not a text description (WCAG 3.3.1, and 1.4.1 Use of Color). With no text, the result is no-text.
3. Check that the person can tell which field the text is about: it names the field by its visible label, sits unambiguously beside it, or links from a summary to it. If more than one field could match, such as two date fields, the result is unidentified-field.
4. Check that the words describe the detected problem. Mark vague where the text would not tell the person what to change, such as 'Invalid entry' for a date outside the booking window. Be careful about calling this a 3.3.1 failure: W3C's own example accepts 'Email is not valid' for 3.3.1, and the correction is covered by 3.3.3.
5. Where the fix is known, such as a format, a range or a required value, check that the message suggests it, as WCAG 3.3.3 Error Suggestion (Level AA) expects, unless that would compromise security.
6. Check the connection for assistive technology: the field is marked invalid (for example aria-invalid) and its message is programmatically associated with it, and a summary links to each field. W3C places these under 1.3.1 and 4.1.2 rather than 3.3.1.
7. Submit again with several errors at once and confirm that each message still belongs to exactly one field.

## Checks before you deliver

- A generic banner can indicate that submission failed while leaving every rejected field unidentified.
- An inline message can identify its field through a clear association without repeating the full label inside every message.
- A field-level error that the server returned but the page never displayed is not a message. Check what the person actually sees and hears, not the API response.
- Native browser validation messages meet 3.3.1 in most browser and screen-reader pairings, but W3C notes they may disappear, are not enlarged with page zoom and are generic. Check them in the browsers in scope and against 3.3.3.

## How to present the result

Start with how many rejected fields have a clear, identifiable message. Then give a table with each field, the error detected, the text shown and where, the result (clear, vague, unidentified-field or no-text) and a replacement message. Write replacements ready to paste, naming the field and the fix, such as 'Enter a start date between 1 June and 30 September'.

## Worked example

**Request:** Review the recorded error state.

**Supplied material:**

```text
Postcode: mandatory but blank. Only a red border, no text.
Email: contains no @. Message attached to Email: Enter an address with an @ sign.
```

**Answer:** Add a visible message such as “Enter your postcode” and associate it with Postcode. Retest a blank submission to confirm the field and error are identifiable. The Email message already explains the missing @ sign.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

Return errors in field order as {field,result}. Use no-text if no error text is presented to the user, unidentified-field if text is present but the affected field cannot be identified, vague if the field is clear but the text does not describe its error, and clear when both are identifiable. When a generic banner identifies neither the field nor the cause, use unidentified-field in the JSON. In an ordinary review, also describe both omissions and suggest where to render the field-level error.

## Sources

- [W3C Understanding Error Identification](https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html): Explains WCAG 2.2 success criterion 3.3.1 (Level A): when an input error is detected, the item in error is identified and the error is described in text. It allows colour or icons only in addition to text, does not mandate inline or summary placement, and discusses native browser validation and its drawbacks.
- [W3C Understanding Error Suggestion](https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html): Explains WCAG 2.2 success criterion 3.3.3 (Level AA): when an error is detected and a correction is known, the suggestion is given unless it would put the security or purpose of the content at risk. The skill uses it for messages that identify an error but not how to fix it.
- [W3C WAI forms tutorial: user notifications](https://www.w3.org/WAI/tutorials/forms/notifications/): Says each listed error should reference the field's label, describe the problem concisely, say how to correct it including any format, and link to the field. The skill's replacement messages follow this pattern.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/review-form-error-messages
