WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.48k stars 4.18k forks source link

Improve text color discoverability by using the industry name "Text color" and the "A" icon #64539

Open paulopmt1 opened 2 months ago

paulopmt1 commented 2 months ago

What problem does this address?

Currently, our text color button is called "Highlight" which doesn't reflect its function properly:

image

What is your proposed solution?

Historically, software editors use the A icon to change a text color. My proposal is that we change:

Some examples

image image
t-hamano commented 2 months ago

Thanks for the report.

The Highlight allows us to change both the text color and the text background color. If they are changed, the icon will change to an "A" icon and the text color and background color will be applied:

image

I would be grateful if you could let me know if there is anything we can improve about this UI.

paulopmt1 commented 2 months ago

Oh, now I understand why we call it Highlight. In that case, I'd keep the Highlight and add a new Item called Text color before it since it's more used than the Highlight itself.

If adding another menu is a problem, I'd just rename it to Text color (and change the icon) because is better to have a highlight feature hidden inside a Text color than the opposite as we have currently, as changing the text color is something more used than changing a text background color.

For future readers, this is what @t-hamano is talking about, we have two tabs inside the same button:

image
snehapatil2001 commented 2 months ago

@paulopmt1 @t-hamano I propose renaming the 'Highlight' button to 'Color'. This would make the interface clearer and more intuitive by grouping both color-related options under a single, neutral label.

t-hamano commented 2 months ago

@snehapatil2001 Thank you for your suggestion.

In #34680, where this feature was implemented, the original label was "Color", but it seems that the final label was decided to be "Highlight" based on the feedback from this comment.

I think we need copy feedback and design feedback on whether to change this label to "Color". Personally, I think the label "color" is easier to understand.

cc @WordPress/gutenberg-design @annezazu

jasmussen commented 2 months ago

I'd not rename to Color, as that's used for the panel and refers to colors of a block level nature. "Text color" or "Highlight color" could be fine.

An icon change can also work, as can the "A", though I would not change the colors of the icon itself as here, it doesn't have precedence in the UI elsewhere to do that, and might disorient. What we can do is the same as the examples mentioned, where there's a color-bar (or two, if you want to show both foreground and background) below the A.

t-hamano commented 2 months ago

This is just a simple mockup, but does it make sense to have separate text and highlight colors?

image

I used Google Docs as a reference:

image

jasmussen commented 2 months ago

Might work.

paulopmt1 commented 2 months ago

does it make sense to have separate text and highlight colors?

This seems ideal, so users don't need to click on one of them to learn there is a "Text" or "Background" color to change.

autumnfjeld commented 2 months ago

This is just a simple mockup, but does it make sense to have separate text and highlight colors?

Yes, this mockup is great @t-hamano. It is so much clearer. This labeling follows what is standard in editing software.

kristastevens commented 2 months ago

Hello from Editorial! 👋 Just jumping in to respond to the "Needs Copy Review" ping.

It looks like you've come up with a great solution here—no input needed on our end.