Invalid Fields
- Add
aria-invalid="true"
to the invalid INPUTs. - Add
aria-describedby
to the invalid INPUTs. Set the value to the appropriate error message text.
Example
<form aria-label="Account Sign-Up">
<label for="username">Username</label>
<input type="text" id="username"
aria-describedby="Username is required."
aria-invalid="true" />
...
</form>