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: 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

-- 
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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2BZODaPKdBDYEO2k97Rr0ApF5aMaNkZh5XLnTwrFsVM1GiMn-w%40mail.gmail.com.

Reply via email to