[wp-trac] [WordPress Trac] #52558: Menu items need more classes

WordPress Trac noreply at wordpress.org
Wed Feb 17 17:36:21 UTC 2021


#52558: Menu items need more classes
----------------------------+------------------------------
 Reporter:  ericgreenfield  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Menus           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  dev-feedback    |     Focuses:  template
----------------------------+------------------------------

Comment (by ericgreenfield):

 Woah. I almost forgot. Would be also nice if besides a top-level-item
 class, we had classes for the .last-sub-menu, and .first-sub-menu

 Tabbing out of the last submenu should close it and this requires adding
 classes manually via a walker or js. If more classes existed on key
 elements in the menu it would be very helpful!

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


More information about the wp-trac mailing list