High Contrast Black mode in Chrome under Linux

105 views
Skip to first unread message

Jakub Pawlik

unread,
Nov 13, 2023, 10:24:08 AM11/13/23
to blin...@chromium.org
Hello Blink Dev Team!

I’m reaching out to the Google Web Accessibility Team. I’d like to ask your team for help with an issue I’ve been struggling to find a solution for.
I’m trying to find a way to emulate high contrast black (HCB) mode in web tests running under Linux using the Chrome browser.

What I would like to achieve is a high contrast black mode, which normally I can easily activate in Dev Tools UI in the Rendering tab by activating "prefers-color-scheme: dark" and "forced-colors: active".
image.png
It would be great to know a set of command line flags that I can pass while opening Chrome so that it activates the same mode as by setting prefers-color-scheme and forced-colors via the UI.

I have tried to achieve this using the following flags:
--force-high-contrast
--enable-features=ForcedColors
--blink-settings=preferredColorScheme=0,forceDarkModeEnabled=true
However, this does not give the desired effect.

I would be very grateful for any advice on this.

Thanks a lot in advance and regards!
Jakub Pawlik

Jakub Pawlik

unread,
Nov 15, 2023, 12:46:22 PM11/15/23
to blin...@chromium.org
Hi Blink Dev Team,

I hope you are doing well. I'm writing to follow up on the case I described in my previous email, since I haven't received any response.
I was wondering if you had the opportunity to take a look at it?
I would appreciate any advice you can provide on this matter.

Thank you in advance for your time.

Best regards,
Jakub

Jakub Pawlik

unread,
Nov 22, 2023, 4:08:55 PM11/22/23
to blink-dev, Jakub Pawlik
Hi,

I'm hoping to get in touch with someone who can provide some guidance on the issue. I'm still locked out and would really appreciate some help getting this resolved.
If you know anyone who might help please let me know.

Thanks!

Mike Taylor

unread,
Nov 22, 2023, 4:09:43 PM11/22/23
to Jakub Pawlik

Hi Jakub (moving blink-dev to bcc),

Let me reach out off-list to see if I can help connect the dots.

thanks,
Mike

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/debd2594-eaf0-4cf0-a787-4e4cb47708b5n%40chromium.org.

Jakub Pawlik

unread,
Nov 27, 2023, 4:26:29 AM11/27/23
to blink-dev, mike...@chromium.org, Jakub Pawlik
Hi Mike,

thank you for doing that, I'll be waiting for any update on this.

Regards!

Reply all
Reply to author
Forward
0 new messages