[wp-trac] [WordPress Trac] #64075: Focus trap and screen reader issue when navigation menu opened in mobile view

WordPress Trac noreply at wordpress.org
Mon Oct 6 13:13:08 UTC 2025


#64075: Focus trap and screen reader issue when navigation menu opened in mobile
view
--------------------------+----------------------------------------
 Reporter:  kymhaugen     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Menus         |     Version:  6.8.2
 Severity:  normal        |  Resolution:  reported-upstream
 Keywords:                |     Focuses:  accessibility, javascript
--------------------------+----------------------------------------

Comment (by kymhaugen):

 Replying to [comment:4 joedolson]:
 > I've reported this upstream at
 https://github.com/WordPress/gutenberg/issues/72088.
 >
 > I didn't address the focus trap in that report, because I think that's
 really just a side-effect of other things that are wrong. The main issue
 here is that if the submenu is going to default to open, there shouldn't
 be a button with `aria-expanded` or any state manipulation.
 >
 > There have been many requests to make submenus respect the open on click
 setting, and I think that if that moves forward, the focus behavior should
 be closely examined as part of that feature addition.


 Thank you for helping me report it to the correct team.

 +1 for the feature where the submenus can open on click in the mobile
 overlay, but just having that button removed when the menu can't actually
 be opened or closed in that state would be perfect.

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


More information about the wp-trac mailing list