components icon indicating copy to clipboard operation
components copied to clipboard

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

Open essjay05 opened this issue 1 year ago • 0 comments
trafficstars

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

essjay05 avatar Oct 04 '24 21:10 essjay05