Add aria-describedby for md-error and md-hint #6131
Labels
Accessibility
This issue is related to accessibility (a11y)
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
We currently don't have anything that associates the content of
md-error
andmd-hint
with the input. We should generate IDs for these elements and point to them on the input'saria-describedby
.We'll need to be sure not to clobber any existing describedby when adding/removing these IDs.
We should also test out whether we should add
aria-hidden
to themd-error
andmd-hint
elements so that they aren't repeated in an annoying way.The text was updated successfully, but these errors were encountered: