[wp-trac] [WordPress Trac] #60808: Twenty Twenty-Four: Black outline around the Navigation block submenu-expanding button

WordPress Trac noreply at wordpress.org
Fri Apr 19 01:53:16 UTC 2024


#60808: Twenty Twenty-Four: Black outline around the Navigation block submenu-
expanding button
-------------------------------------------------+-------------------------
 Reporter:  jordesign                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.5.3
Component:  Bundled Theme                        |     Version:  6.5
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion needs-testing needs-     |     Focuses:
  patch                                          |  accessibility
-------------------------------------------------+-------------------------

Comment (by wildworks):

 I submitted a `60808-2.diff` trying a more limited solution. This
 accomplishes the following for the Navigation Submenu block with "Open on
 click" enabled:

 - When clicking or right-clicking a menu that has a submenu via the mouse,
 the outline will be displayed as before.
 - When a submenu is opened, the menu has `aria-expanded="true"` applied.
 This will apply the newly added CSS from the patch and the menu's focus
 outline will disappear.
 - If the focus is moved using only the tab key on the keyboard, the focus
 outline of the menu will not disappear even if a submenu is opened.

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


More information about the wp-trac mailing list