Assistive technology error suggestions (programmatic-link)

The error messages and suggestions are programmatically linked to the input field using appropriate attributes (aria-describedby, aria-errormessage aria-invalid, etc.)


Missing error linkage:

This input field, when erroneous, is not programmatically linked to its corresponding error message and suggestion (i.e. it lacks aria-describeby, aria-errormessage attributes):



Sample error: this is an example error used to demonstrate the test case! (This is error message should be programmatically linked using aria-errormessage or aria-describedby)


Note: Partial auto-testing may be possible. An auto-test can be performed by programmatically detecting if a valid (i.e. links to an actual element) aria-errormessage attribute co-exists with an aria-invalid="true" attribute.