You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(material/input): Do not set aria-invalid on empty matInputs
Updates the logic for setting `aria-invalid` on `matInput` to not set
the value at all if the input has no value.
Prior to this PR `matInput` sets `aria-invalid="false"` for any empty
`matInput`, including `required` ones. This suppresses screen readers'
announcement to users that such inputs are in an invalid state.
Fixes#22777
0 commit comments