Move to Trash: hover and focus have difrerent colors #19841
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Type] Bug
An existing feature does not function as intended
Describe the bug
The new "Move to Trash" button (styled like a link) uses different colors on
:hover
and:focus
.Previous implementation (WP 5.3.2):
New implementation (WP trunk) with or without the Gutenberg plugin activated:
Normal state:
Hover state:
Focus state:
Expected behavior
The button to use the same color change on
:hover
and:focus
.I'm not sure why on
:hover
it becomes blue in the first place. "Move to Trash" is a destructive action and should always use red.WordPress has always used red for all the states of destructive action controls. For example, the legacy "Move to Trash" in the Classic Editor is always red: on
:hover
and:focus
there's a slight change of the hue and brightness but it's still a red.The text was updated successfully, but these errors were encountered: