-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Check Mark is not visible inside the checkbox in the users section of the Admin in Windows High Contrast Mode #8334
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
Comments
Hello,
|
@anujaraj what if we did something like
Then adjusted the colors manually as needed. Similar to how it is done in My guess is you will need to do this in |
Oh, that would have to be worked on client/scss/components/_bulk_actions.scss, |
no need to close this bug, and my suggestion may not be the right place, just guessing based on the screenshot. |
Yes, so I think this particular checkbox element is in core.css. It has a svg that has a check mark which is called perfectly on clicking while in normal mode yet in windows high Contrast it doesn't work. Possible solutions I have tried
|
@anujaraj let's get to the bottom of this.
input[type='checkbox']:checked:before {
background: $color-teal;
mask-image: url('#{$images-root}icons/tick.svg');
mask-repeat: no-repeat;
width: 1rem;
height: 1rem;
top: 2px;
// Remove once we drop support for Safari 13.
// stylelint-disable-next-line property-disallowed-list
left: 2px;
inset-inline-start: 2px;
}
|
@lb-
I have tried making changes in the client/scss/core.scss, yet I didn't see any changes on the browser. Yet I feel if we can provide a border to the SVG checkbox that will allow a contrast color border visible in Windows High Contrast Mode, could be useful It shall be visible in windows with high contrast. |
@anujaraj it looks like you may not have your local dev running correctly. You should be able to run Are you able to get to that stage? if not - you may need to reach out on the Slack channel in |
@lb- I am sorry, I think I missed a few steps to see my changes. Thank you for pointing them. I shall definitely seek help at support incase if needed. I think it should work with scss |
I have committed changes with the following pull request - #8677 |
…ings The format strings generated previously would not work correctly in macOs Preview and Numbers
Issue Summary
On the Admin Interface of the Wagtail website with the url point - /admin/users. While we click on the checkbox near the user details one can find a check mark in the checkbox, as attached below in the screenshot

While on using the Windows High contrast mode the check box doesnt appear as shown in the screenshot

Steps to Reproduce
Technical details
Related PR
#7573 Bulk action
#7605 Fix checkboxes appearing always checked in Windows high contrast mode
The text was updated successfully, but these errors were encountered: