What this means
An error message should identify the problem and help the person correct it. A color change or 'Invalid' alone gives too little help.
Passing examples
- A missing name produces 'Enter your name'.
- An email error says 'Enter an email address in the format name@example.com'.
- An unavailable booking date produces a message explaining which dates can be chosen.
Failing examples
- The form displays 'Error 102' without naming the problem.
- A field turns red with no written explanation.
- An error says 'Something went wrong' when it could clearly identify the missing answer.
