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/core): mat-optgroup labels are read twice during screen-reader page navigation.
Fixed by adding aria-hidden="true" to the <label> elements, so that while screenreaders will still announce the label text for the group (due to the aria-labelledby property on mat-optgroup), they will skip over the actual label element. Additionally, changed the <label> to a <span> to make it clear that the text is visual only and not carrying any special semantic meaning for the a11y tree.
0 commit comments