-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(material-experimental/mdc-checkbox): remove extra a11y tree node … …for the <label/> #24907
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
Conversation
2f60f2b to
40b345d
Compare
317cc09 to
5401dd8
Compare
|
Deployed dev-app to: https://ng-comp-dev--pr-24907-59d0c3ceea4ecc0c1cc89c0b003e39d1-0camutqd.web.app |
66b4fe6 to
cfe526c
Compare
crisbeto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change LGTM, but the lint check is failing and my approval will be invalidated when it's fixed.
cfe526c to
c67de2a
Compare
crisbeto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c67de2a to
84aae0c
Compare
84aae0c to
8413a3a
Compare
…for the <label/> 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 (angular#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 angular#14385
8413a3a to
59d0c3c
Compare
crisbeto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
In the mdc checkbox component, removes the click handler on
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
corresponds to the
<label>element.A11y tree with this commit applied
fixes #14385