Add Clear button for Overlay color option in Cover Block#63580
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @EldarAgalarov. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
@EldarAgalarov, do you have a WordPress.org account? If so, can you link it to your GitHub account (see the instructions). This will ensure you get the appropriate props for the original issue. Thanks! |
|
@afercia, I think you created a similar issue to make this action consistent in editor color pickers. Sorry if I'm misremembering something 🙇 |
|
@Mamaduka yes, thanks for the ping. In #63310 I'm illustrating how all these popovers with no explicit buttons to 'Cancel' and 'Save' are extremely confusing for keyboard users. When using the keyboard, there are some expected behaviors:
|
|
@ndiego, it's not a blocker. I was just connecting the dots. Feel free to merge this ✅ |
|
@ndiego having a Clear button is definitely an improvement. 👍🏽 |



Fixes #63571
What?
This PR adds a clear button for the overlay color in the Cover block inspector controls, similar to the existing clear buttons for text and heading colors.
Why?
The Cover block currently lacks a clear button for the overlay color, which is inconsistent with other color settings like text and heading colors.
How?
Added
clearable: truein ColorGradientSettingsDropdown componentTesting Instructions
Screenshots or screencast