-
Notifications
You must be signed in to change notification settings - Fork 418
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 mode not working with diagram SVG #635
Comments
As a workaround for the black high contrast mode we've added a css media query: @media (forced-colors: active) {
g.viewport {
filter: invert(1);
}
} However, for other color schemes, I don't know how this can be worked around. Maybe using |
@smbea Let us investigate if this is a quick fix we can adopt, and if so, adopt it. |
Marked as a spring cleaning topic. |
I believe we can use your suggestion to make this better for Windows users, so I'm moving this to backlog for now. |
Describe the Bug
Visually impaired users, who use e.g. Windows high contrast mode, cannot properly perceive diagram representations in the browser.
Steps to Reproduce
Expected Behavior
Colors of the diagrams SVG elements (arrows, outlines of elements, text) should be inverted. They also should respect the user selected high contrast color scheme. Instead what you observe is that the diagram remains in it's default colors.
Default contrast settings:
Expected high contrast look with black high contrast color scheme:
Actual high contrast look with black high contrast color scheme:
Environment
The text was updated successfully, but these errors were encountered: