Error description (error-description)
If an input error is automatically detected, the error must be described to the user in text.
Placeholder as error message:
This <input> has a placeholder instead of an actual, separate error message element:
The (DOM/programmatic) structure of the above input field looks like this:
<input type="text" placeholder="This is a sample error message"
name="text" style="min-width: 400px" id="text" />