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

WordPress Trac noreply at wordpress.org
Fri May 3 08:01:10 UTC 2024


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

 * keywords:  needs-testing has-patch => needs-testing has-patch changes-
     requested needs-refresh


Comment:

 Hi @rcreators
 I tested PR 6150 using Chrome on macOS, and the update breaks the menu.
 ----

 When I navigate to the menu using the tab key, the visible focus is on the
 first parent menu item, and the submenu shows.
 Pressing tab again, I am expecting to be able to use the submenu, but the
 submenu is no longer visible, and I can't see where the focus is.

 ----

 I can only the escape key once to close a submenu.
 When I navigate to the menu using the tab key, the visible focus is on the
 first parent menu item, and the submenu shows.
 When I press escape, the submenu no longer shows.
 if I tab forwards from there, the visible focus os on parent menu item
 two, and its submenu shows.
 When I press escape, nothing happens.

 ----

 If I navigate with they keyboard past the menu and navigate backwards with
 Shift + Tab, focus moves to the wrong element. It moves to the parent menu
 item, not the the last item in the submenu.

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


More information about the wp-trac mailing list