Contrast Checker should work for all text / background color pair settings for all blocks #60824
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Block editor
/packages/block-editor
[Type] Bug
An existing feature does not function as intended
Description
Discovered while exploring #58936 (comment)
Some blocks have a setting to change the text and background colors. The Contrast Checker should work for all these settings for all blocks. It appears it doesn't.
Note: there may be different reasons why it doesn't work for some blocks. Some guessing:
The Contrast Checker is an important feature that should work 'out of the box' for all color paris that apply to text and background.
Since WordPress 6.6 is supposed to be a 'bug fixes' release, I'd like to propose to fix the Contrast Checker and make it work reliably for 6.6. Some e2e tests would be nice.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: