Insufficient color contrast for the post list title badge and the post card title badge #66322
Closed
3 of 6 tasks
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Design Feedback
Needs general design feedback.
[Package] Edit Site
/packages/edit-site
[Package] Editor
/packages/editor
[Type] Bug
An existing feature does not function as intended
Description
Some special Pages (and potentially other objects edited in the editor) show a 'badge' with an additional label to clarify the special nature fo the edited object. For example: The page set as home page and the page set as posts page.
These badges belong to different components but they use the same design pattern. The color contrast is insufficient gor both:
Text color:
#757575
Background color:
#f0f0f0
That gives a color contrast of only 4.04:1. It should be at least 4.6:1
To help search through the c odebase, the CSS selectors for these are:
edit-site-post-list__title-badge
editor-post-card-panel__title-badge
Cc @WordPress/gutenberg-design
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: