Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(material/form-field): changes show/hide mechanism of mat-error for screenreaders #29831

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

essjay05
Copy link
Contributor

@essjay05 essjay05 commented Oct 4, 2024

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

…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant