Tertiary button is-pressed
style insufficient contrast ratio on hover
#68535
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Design
Needs design efforts.
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Discovered while working on #68531
The tertiary button style variant can have (like all other variants) a
pressed
state. With this styling, the button background becomes a dark grrey. However, when hovering the button, the button text becomes blue. It is barely visible:This appears to happen only with the
tertiary
variant. For the other variants, the text stays whie on hover.Step-by-step reproduction instructions
Show button text labels
from the top bar Options > Preferences > Accessibility.Screenshots, screen recording, code snippet
No response
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: