[wp-trac] [WordPress Trac] #48894: Improve the small user sub window at the right corner on the admin bar a.k.a. the Howdy fly-out

WordPress Trac noreply at wordpress.org
Fri May 15 13:57:26 UTC 2020


#48894: Improve the small user sub window at the right corner on the admin bar
a.k.a. the Howdy fly-out
-------------------------------------------------+-------------------------
 Reporter:  ixkaito                              |       Owner:  afercia
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.5
Component:  Toolbar                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-design-feedback has-patch      |     Focuses:  ui,
  has-screenshots                                |  accessibility
-------------------------------------------------+-------------------------
Changes (by afercia):

 * keywords:  needs-design-feedback has-patch has-screenshots needs-refresh
     => needs-design-feedback has-patch has-screenshots


Comment:

 [attachment:"48894.2.diff"] tries to solve the issue on mobile by removing
 the click event listener for touch devices. Some testing would be nice
 (see comment:18).

 Apart from that, I'd think we should consider a few more things:
 - the toggle link should have a `button` semantics and work also with the
 Space Bar when JS is on
 - this should be implemented via JavaScript with a new function, something
 like `setupMyAccountToggle`
 - see also the CSS class `aria-button-if-js` and what it does
 - as a user, I would expect the menu to close when I click outside of it

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


More information about the wp-trac mailing list