Controls, forms and feedback
Can a reader match an error to its field?
If a form rejects a value, the person filling it in needs to know which field to change. Check that the error message is connected to that field.
Source review

What to do
Associate relevant help and error text with the field. Make validation messages explain the problem and preserve valid input.
Practical example
A quantity field can reference a message explaining that the minimum quantity is ten.
Implementation example
<label for="quantity">Quantity</label>
<input id="quantity" name="quantity" aria-invalid="true" aria-describedby="quantity-error">
<p id="quantity-error">Enter a whole number of at least 10.</p>Adapting the example
This is an error-state example. Set and clear the state as validation changes, and test the actual announcement and recovery.
How to verify the result
Submit an invalid test value, confirm the message is associated with that field and correct it using the stated instruction.
What this check cannot prove
Static labels do not demonstrate keyboard operation, visual focus, announced validation or successful form submission.
Where this advice comes from
The linked primary guidance informs these steps. Anonymous Analysts defines the test interpretation and its acceptance criteria.