Skip to content
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

fix(material/checkbox): add aria-checked #27970

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

andrewseguin
Copy link
Contributor

Adding aria-checked to the checkbox input. Technically this is redundant but Material Web's new styling requires indeterminate mode to have aria-checked=mixed when enabled.

@andrewseguin
Copy link
Contributor Author

andrewseguin commented Oct 20, 2023

Another option is to change Material Web's styling to use &:indeterminate instead of the aria attribute

EDIT: This was not possible since indeterminate property cannot be set via HTML, necessary for the other framework

@andrewseguin andrewseguin added the target: patch This PR is targeted for the next patch release label Oct 23, 2023
@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Oct 23, 2023
@andrewseguin andrewseguin merged commit cc2f2c5 into angular:main Oct 23, 2023
23 of 25 checks passed
andrewseguin added a commit that referenced this pull request Oct 23, 2023
* fix(material/checkbox): add aria-checked

* fix(material/checkbox): move aria-checked test

(cherry picked from commit cc2f2c5)
andrewseguin added a commit that referenced this pull request Oct 23, 2023
* fix(material/checkbox): add aria-checked

* fix(material/checkbox): move aria-checked test

(cherry picked from commit cc2f2c5)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants