CSS rule removal causes duotone to affect image block placeholder.
The issue involves a CSS regression where a duotone filter affects the image block placeholder, making text and controls hard to read. The fix likely requires restoring or adjusting the CSS rule that was removed. The scope is limited to CSS changes and testing with themes that use duotones.
When a duotone is applied to an image block that has no image yet, the duotone should show on the placeholder illustration.
But it also shows when the block is selected and you are presented with the options to add an image. This can make the text and controls difficult to read and use. Not all duotones have a low color contrast, but it is still unexpected that it should affect this part of the interface.
It looks like a CSS rule that removed the duotone filter from the placeholder was removed here: https://github.com/WordPress/gutenberg/pull/64320/changes#diff-f93477dddb6b550a7803437e4c354e47ce1925f0b9341ee23fda16f1e94776cdL13
As far as I can tell, it affects WP 6.8 and newer.
It may be worth testing other image related blocks too.
If number four is true, you encountered the bug.
The screenshot shows an image block that has a duotone applied, and the block is selected but has no image added yet:
WordPress 6.8 or newer, with or without Gutenberg.
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!