[wp-trac] [WordPress Trac] #65250: Mouse cursor interaction inconsistency for the first submenu item when “Collapse Menu” is enabled in the WP-Admin

WordPress Trac noreply at wordpress.org
Fri May 15 16:14:37 UTC 2026


#65250: Mouse cursor interaction inconsistency for the first submenu item when
“Collapse Menu” is enabled in the WP-Admin
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  (none)
  mazharulrobeen         |
     Type:  defect       |      Status:  new
  (bug)                  |
 Priority:  normal       |   Milestone:  Awaiting Review
Component:               |     Version:  5.9
  Administration         |
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  ui, accessibility, css,
                         |  administration
-------------------------+-------------------------------------------------
Changes (by sabernhardt):

 * version:  trunk => 5.9
 * component:  General => Administration


Comment:

 [51684] correctly removed the pointer cursor from //any// list item, but
 [https://github.com/WordPress/wordpress-
 develop/blob/b0990925d7d5f0ec7dfee2dcb28ec8b63541429e/src/js/_enqueues/admin/common.js#L870-L872
 common.js] makes the `.wp-submenu-head` item clickable.

 This could add the cursor rule for the special case, only when JS is
 enabled:
 {{{
 .js #adminmenu .wp-submenu .wp-submenu-head {
         cursor: pointer;
 }
 }}}

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


More information about the wp-trac mailing list