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-experimental/mdc-checkbox): remove extra a11y tree node for the <label/> (#24907)
In the mdc checkbox component, removes the click handler on <label/>
and handles stoping propgation of clicks on the label in the label's
parent. This removes the extra a11y tree node on the label and fixes
TalkBack having an extra navigation stop (#14385).
A11y tree before this commit. It has an un-necessary node, which
coresponds to the `<label>` element.
```
- Generic
- Checkbox, "Field A"
- Textlabel, "Field A"
```
A11y tree with this commit applied
```
- Generic
- Checkbox, "Field A"
```
fixes#14385
0 commit comments