-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material/form-field): changes show/hide mechanism of mat-error fo…
…r screenreaders Attempts to fix a bug with Angular Components Form-field component where the mat-error and mat-hint component are just visually hidden in the DOM, but visibility is toggled depending on the form field state. Also updates the .mat-mdc-form-field-subscript-wrapper to have aria-live=assertive in order to prioritize the error/hint being read when it appears. Fixes b/370743693
- Loading branch information
Showing
2 changed files
with
71 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters