Aria-errormessage link for input fields (4.1.2.aria-errormessage)
Input fields with invalid inputs and corresponding
aria-invalid attributes are linked to
their corresponding error messages using
aria-errormessage, or a combination of
aria-invalid and
aria-describeby is used.
(This violation is missing both aria-errormessage or aria-describeby.
To fix this violation use one of those variations.)
Missing aria-errormessage:
This input field is missing
aria-errormessage value:
Note: Auto-testing is possible. An auto-test can be performed by checking
if element with aria-invalid="true" has either aria-errormessage or
aria-describedby attributes. If both are missing, the test fails.