-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Site editor: show color warning if poor contrast colors are picked #29457
Copy link
Copy link
Closed
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
If you select a color for the site title that results in poor contrast, no notice is given. This is feedback from the FSE Outreach Program's second call for testing.
Step-by-step reproduction instructions
Please list the steps needed to reproduce the bug. For example:
- Use a block based theme and the latest version of Gutenberg to setup the FSE experience.
- Go to "Site Editor (beta)"
- Select the Site Title block and change the block settings so that the color contrast is poor for the text (or vice versa for the background).
- See no notice.
Expected behaviour
I expect a notice about poor contrast similar to what happens when you do so in the post/page editor:
Actual behaviour
No warning given.
Screenshots or screen recording (optional)
contrast.warning.mov
WordPress information
- WordPress version: 5.6.2
- Gutenberg version: 10.0.2
- Are all plugins except Gutenberg deactivated? Yes
- Are you using a default theme (e.g. Twenty Twenty-One)? TT1 Blocks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
