[wp-trac] [WordPress Trac] #46307: Custom admin menu items don't provide their title on medium breakpoint

WordPress Trac noreply at wordpress.org
Fri Feb 22 06:52:05 UTC 2019


#46307: Custom admin menu items don't provide their title on medium breakpoint
-------------------------------+-----------------------------
 Reporter:  garrett-eclipse    |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Administration     |    Version:
 Severity:  normal             |   Keywords:
  Focuses:  ui, accessibility  |
-------------------------------+-----------------------------
 With custom admin menus if no submenu is provided for them they don't have
 a flyout on hover which on medium breakpoint leaves them only identified
 by their icon.

 Note: Core menus all have submenus so this only affects custom menus
 developers introduce.

 It would be nice to still provide the submenu flyout with only the wp-
 submenu-head item present as that would provide the title of the item.

 The submenu items are introduced here with the first item being the wp-
 submenu-head. Am thinking moving the empty check into the ul would leave
 the flyout providing the title.
 https://github.com/WordPress/WordPress/blob/92aa2f9e92a4e1ad5471d87d5292587c5cee5702
 /wp-admin/menu-header.php#L178-L250

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46307>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list