Open
Description
Latest version
- I have tested the latest version
Steps to reproduce
Steps:
- create an autocomplete and set tit to error state (i.e. set the
error
property - inspect the
<input>
HTMLElement in the rendered Autocomplete and see its attributearia-invalid
set totrue
- see the same input element lacking an
aria-errormessage
attribute
Current behavior
the <input>
HTMLElement does not contain an aria-errormessage
attribute
Expected behavior
the <input>
HTMLElement should contain an aria-errormessage
attribute holding the id
attribute of the Autocompletes helper-text
Context
Screenreaders like NVDA would read the autocomplete to be invalid but would not give any more information. In implementation scenarios the helper text usually does. Unfortunately that helper text is not accessible in this error scenario
Activity