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

High Contrast Checkbox Web Component fix #31157

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

procload
Copy link
Contributor

@procload procload commented Apr 23, 2024

Previous Behavior

High contrast styles for the checkbox were missing for the disabled state and mixed, indeterminate states:

image

New Behavior

Adds specific colors, backgrounds, and border colors for high contrast disabled and checked/mixed states:
image

@procload procload requested a review from a team as a code owner April 23, 2024 20:15
@procload procload changed the title Users/procload/high contrast checkbox fix High contrast checkbox fix Apr 23, 2024
@fabricteam
Copy link
Collaborator

fabricteam commented Apr 23, 2024

📊 Bundle size report

✅ No changes found

Copy link

codesandbox-ci bot commented Apr 23, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@procload procload requested a review from chrisdholt April 23, 2024 23:31
@procload procload changed the title High contrast checkbox fix High Contrast Checkbox Web Component fix Apr 30, 2024
@radium-v radium-v force-pushed the web-components-v3 branch from 3287714 to 3d89250 Compare May 6, 2024 22:02
@procload procload enabled auto-merge (squash) May 17, 2024 16:44
@procload
Copy link
Contributor Author

@chrisdholt Thanks for the review. Feedback addressed by updating the selectors to use :is()

@procload
Copy link
Contributor Author

procload commented Jun 4, 2024

@chrisdholt Did you have any other feedback on this, or can we merge this?

@chrisdholt
Copy link
Member

@chrisdholt Did you have any other feedback on this, or can we merge this?

The DOM is changing quite a bit in #31468 and I believe that should be updated for High Contrast. We may just want to defer to the checkbox refactor PR for this to be resolved. @radium-v can advise on how close we are there (I think it's right there...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants