WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.52k stars 4.21k forks source link

Global styles: Add color-contrast checks #28782

Closed aristath closed 3 years ago

aristath commented 3 years ago

Came up during a contributors day, from users testing FSE for the 1st time.

When editing a post, selecting white background with white text for a paragraph brings up a notice about the color-a11y. We should have the same behavior while in global-styles, both for the per-block-type options and for the global options.

cc @moorscode

aristath commented 3 years ago

Closing this one in favor of #29457

oandregal commented 3 years ago

There are two things here: