[wp-trac] [WordPress Trac] #49950: Twenty Twenty: with horizontal menu, submenu should be dismissible

WordPress Trac noreply at wordpress.org
Mon Mar 17 08:30:44 UTC 2025


#49950: Twenty Twenty: with horizontal menu, submenu should be dismissible
---------------------------+-----------------------------------------------
 Reporter:  lcarevic       |       Owner:  joedolson
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  6.8
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  accessibility, javascript, tests
  needs-testing            |
---------------------------+-----------------------------------------------
Changes (by saurabh.dhariwal):

 * focuses:  accessibility, javascript => accessibility, javascript, tests


Comment:

 Issue Summary

     Problem: Before applying the patch, when a sub-menu was opened, it did
 not close when the "Esc" key was pressed.
     Expected Behavior: Pressing the "Esc" key should close the open sub-
 menu.

 Testing Steps & Results

     Open the application and navigate to the relevant section. ✅
     Click to open the sub-menu. ✅
     Press the "Esc" key. ✅
     Verify if the sub-menu closes. ✅

 Result: After applying the patch, the sub-menu successfully closes when
 the "Esc" key is pressed.
 Attachments

     Screenshot(s) attached for reference.
     Before Patch Screenshot : https://prnt.sc/zbDmle4BfTV6
     After Patch Screenshot :  https://prnt.sc/gyCxh3RoFOhV

 Test Conclusion

     Status: ✅ Passed
     Remarks: The patch successfully resolves the issue. The functionality
 now works as expected.

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


More information about the wp-trac mailing list