- ๐บ๐ธUnited States itmaybejj
My suggestion is to simplify and get rid of the live audio feedback altogether:
- Just toggle an aria-invalid attribute on the field. Don't try to associate it directly with the dynamic suggestions.
- After the field, where you have the validation error -- "Password does not meet the site requirements" -- make that a details/summary tag rather than plain text. That way the validation error, if present, will be the summary -- the next item in the tabindex for screen readers to find -- and users can choose to show the live validation list of remaining requirements in the
<details>
if they want.