[wp-trac] [WordPress Trac] #43633: Duplicate links to edit profile dropdown in toolbar

WordPress Trac noreply at wordpress.org
Thu Jun 10 17:33:23 UTC 2021


#43633: Duplicate links to edit profile dropdown in toolbar
-------------------------------------------------+-------------------------
 Reporter:  danieltj                             |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Toolbar                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:  ui
-------------------------------------------------+-------------------------

Comment (by sabernhardt):

 Adding a link to the author archive page likely is more appropriate with a
 plugin.

 However, combining the two links seems possible with something like
 [attachment:"43633.3.diff"].
 1. "Edit profile" is included within the 'user-info' link with the
 `display-name` class to keep the same styling. That span also has a `edit-
 profile-link` class for plugin authors who might wish to change those
 styles.
 2. I don't think the username adds any value for screen reader users, so
 it has `aria-hidden` (if I'm wrong, that attribute can be removed).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43633#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list