Commit f595c78
committed
fix(material/core): Fix MacOS Hover feature compatibility with optgroup (#27239)
Corrects ARIA semantics for the mat-optgroup component. Add
role="presentation" to the label and remove aria-hidden="true" from the
label.
Fix compatibility issue with MAC Hover text a11y feature #27080. The
label of the option group does not need to be aria-hidden, and the Mac
Hover text feature seems to rely on it.
Previous PR#27081 fixed this issue for legacy component. This PR fixes it for
the non-legacy optgroup component.
Fix #27080
(cherry picked from commit 91fbe76)1 parent 2c660bb commit f595c78
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments