gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Standardize 'Back' and 'Go back' labels and icons

Open afercia opened this issue 3 years ago • 8 comments

Description

There's a bit of inconsistency in the usage of labels for the various 'back' icon buttons used across the interface. Icons are a bit inconsistent as well: sometimes it's the arrow left icon, sometimes it's the chevron left icon.

For better clarity and usability, the labels should be consistent: either always use 'Back' or 'Go back'.

Ideally, the icons should be consistent as well. I'd leave this point to some design feedback though.

A few examples:

In most of the components for mobile and most of the .native files, the label is 'Go back`. Not sure how to provide screenshots example for these cases but you can always do a search in the codebase.

Label: 'Go back to the Dashboard' - Chevron icon

Screenshot 2023-04-26 at 16 11 18

Label: 'Back' - Chevron icon (see also https://github.com/WordPress/gutenberg/pull/50104)

Screenshot 2023-04-26 at 16 03 27

Label (visible text): 'Back' - Chevron icon

Back text

Label: 'Navigate to the previous view' - Chevron icon

Navigate to the previous view - no tooltip

Label (visible text): 'Back' - Arrow left icon

post - template editor - text

Label (visible text): 'Back' - Arrow left icon

editing template part from template

Step-by-step reproduction instructions

  • Search the codebase for translatable strings that start with either 'back' or 'go back'.
  • Navigate the Post Editor and Site Editor interface and observe the various 'back' buttons to have inconsistent labels and icons.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

afercia avatar Apr 26 '23 14:04 afercia

Hi, I would love to work on this one. I am new and this seems like something which I could do

xerpa43 avatar Apr 26 '23 16:04 xerpa43

@xerpa43 Hi and welcome. Do feel free to go ahead and submit a pull request! 🎉 For some initiali guidance: https://github.com/WordPress/gutenberg/blob/trunk/docs/contributors/README.md

afercia avatar May 03 '23 11:05 afercia

Good one. I'd personally lean towards standardizing on the chevron and the "Back" tooltip across as many instances as possible.

The "← Back" in focused editing could probably use a bit of a re-think. It seems like it is duplicating the W button in its behavior now, and might even be possible to retire. It does also, as far as I recall, serve as a "back to the page editor" when you enter this section from editing a page, so this is worth looking at with care.

The "Back to the dashboard" tooltip, is it sufficient to replace this with just "Back"?

jasmussen avatar May 08 '23 09:05 jasmussen

Does anyone know why an icon has been used in the top left to represent "Back to the Dashboard"? This is no intuitive and from my point of view is only learned thru "accidental button clicking". Why isn't a clear Back icon or Back text used here?

In this example the green thing is my site icon, serving as "Back" image

In this example the WordPress logo is the "Back" image


Also this is odd behavior, a bug? I'm clicking on my green-flower icon repeatedly and caught in a loop. https://d.pr/v/i9q4IC

https://github.com/WordPress/gutenberg/assets/5665959/f742306f-ced0-47f3-b2c1-954d2b001ac4


Repeating one of the above comments, in the Site Editor browser view, both the W icon and the < go back to the Dashboard:

image image

autumnfjeld avatar Aug 11 '23 20:08 autumnfjeld

@autumnfjeld good point. Personally, I find the W logo / Site icon button very confusing and inconsistent. Depending on the editor and its state, it is used for different actions which is less than ideal. Basically, you click on it and you never know what is going to happen. Does it open the navigation panel? Does it go back to the Dashboard? Does it go back to the Posts list? Also, the default W logo isn't the best image to communicate the udnerlying functionality. Historically, in WordPress core the W logo has always been used for other purposes and users are used to that. In my opinion, it is even worse when the W logo gets replaced by the Site icon. To me, a button or link with the Site icon just means thtat clicking on it I g'm brought to the front end site. That said, I'd think all these points are slightly off-toopic as this issue only aims to make the Back label and icon consistent across the editor. Please do feel free to create a separate issue, if you like, and report your thoughts / struggles witht the W logo / Site icon.

afercia avatar Aug 24 '23 08:08 afercia

Related to https://github.com/WordPress/gutenberg/issues/54628.

richtabor avatar Dec 07 '23 19:12 richtabor

We should revisit this now that consistent navigation has been merged - https://make.wordpress.org/core/2026/07/13/consistent-navigation-in-wordpress-7-1-with-persistent-toolbar/.

cc @fushar

Mamaduka avatar Jul 21 '26 07:07 Mamaduka

I opened a PR for this issue: https://github.com/WordPress/gutenberg/pull/79211. I'd appreciate any feedback on it. I'll work on addressing the feedback so we can move this forward.

im3dabasia avatar Jul 21 '26 12:07 im3dabasia