-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
feat(mat/checkbox): add new aria properties to MatCheckbox #29457
feat(mat/checkbox): add new aria properties to MatCheckbox #29457
Conversation
Sorry for the delay here. Can you rebase the PR? |
ab35145
to
6d97933
Compare
Added three new aria properties to MatCheckbox: `aria-expanded`: Indicates whether the checkbox controls the visibility of another element. This should be a boolean value (true or false). `aria-controls`: Specifies the ID of the element that the checkbox controls. `aria-owns`: Specifies the ID of the element that the checkbox visually owns. These attributes will be added to the generated checkbox element if they are specified and won't be present in the HTML if not provided. Also added a small paragraph at the end of the checkbox.md file. Fixes angular#28761
Added three new aria properties to MatCheckbox: `aria-expanded`: Indicates whether the checkbox controls the visibility of another element. This should be a boolean value (true or false). `aria-controls`: Specifies the ID of the element that the checkbox controls. `aria-owns`: Specifies the ID of the element that the checkbox visually owns. These attributes will be added to the generated checkbox element if they are specified and won't be present in the HTML if not provided. Also added a small paragraph at the end of the checkbox.md file. Fixes angular#28761
8166cfc
to
8a6e2d1
Compare
No problem @crisbeto! It's done now :) There is this |
You just need to run |
Added three new aria properties to MatCheckbox: `aria-expanded`: Indicates whether the checkbox controls the visibility of another element. This should be a boolean value (true or false). `aria-controls`: Specifies the ID of the element that the checkbox controls. `aria-owns`: Specifies the ID of the element that the checkbox visually owns. These attributes will be added to the generated checkbox element if they are specified and won't be present in the HTML if not provided. Also added a small paragraph at the end of the checkbox.md file. Fixes angular#28761
Done, @crisbeto! Thanks for reviewing it and also the public API info. |
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. |
Added three new aria properties to MatCheckbox:
aria-expanded
: Indicates whether the checkbox controls the visibility of another element. This should be a boolean value (true or false).aria-controls
: Specifies the ID of the element that the checkbox controls.aria-owns
: Specifies the ID of the element that the checkbox visually owns. These attributes will be added to the generated checkbox element if they are specified, and won't be present in the HTML if not provided. Also added a small paragraph at the end of the checkbox.md file.Fixes #28761