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/chips): use checkmark graphic for single-selection #25890

Merged
merged 1 commit into from Nov 3, 2022

Conversation

zarend
Copy link
Contributor

@zarend zarend commented Oct 28, 2022

For mat-chip-listbox, use the checkmark component for single-selection. Fixes issue where selected state is communicated visually only using color (#25886).

For mat-chip-listbox, use the checkmark component for single-selection.
Fixes issue where selected state is communicated visually only using
color (angular#25886).
@zarend zarend added Accessibility This issue is related to accessibility (a11y) area: material/chips target: rc This PR is targeted for the next release-candidate labels Oct 28, 2022
@zarend
Copy link
Contributor Author

zarend commented Oct 28, 2022

Creating a draft to test how feasible this is to land internally.
image

@zarend zarend marked this pull request as ready for review October 31, 2022 21:53
@zarend
Copy link
Contributor Author

zarend commented Oct 31, 2022

@crisbeto I've converted this from draft to a PR, and it's ready for you eyes

@zarend zarend added the action: merge The PR is ready for merge by the caretaker label Nov 3, 2022
@zarend zarend merged commit a999a52 into angular:main Nov 3, 2022
zarend added a commit that referenced this pull request Nov 3, 2022
For mat-chip-listbox, use the checkmark component for single-selection.
Fixes issue where selected state is communicated visually only using
color (#25886).

(cherry picked from commit a999a52)
crisbeto added a commit to crisbeto/material2 that referenced this pull request Nov 8, 2022
Fixes that chips that were selected programmatically, but were set as `selectable="false"` weren't showing the checkmark as intended in angular#25890. Also removes some of the logic now that we can assume that the checkmark will always be present.
crisbeto added a commit that referenced this pull request Nov 9, 2022
…#25942)

Fixes that chips that were selected programmatically, but were set as `selectable="false"` weren't showing the checkmark as intended in #25890. Also removes some of the logic now that we can assume that the checkmark will always be present.
crisbeto added a commit that referenced this pull request Nov 9, 2022
…#25942)

Fixes that chips that were selected programmatically, but were set as `selectable="false"` weren't showing the checkmark as intended in #25890. Also removes some of the logic now that we can assume that the checkmark will always be present.

(cherry picked from commit 871f8f2)
@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 Dec 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accessibility This issue is related to accessibility (a11y) action: merge The PR is ready for merge by the caretaker area: material/chips target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants