[wp-trac] [WordPress Trac] #49950: Twenty Twenty (1.2) Horizontal menu - Submenu

WordPress Trac noreply at wordpress.org
Sat Apr 18 16:04:32 UTC 2020


#49950: Twenty Twenty (1.2) Horizontal menu - Submenu
---------------------------------------+-----------------------------
 Reporter:  lcarevic                   |      Owner:  (none)
     Type:  defect (bug)               |     Status:  new
 Priority:  normal                     |  Milestone:  Awaiting Review
Component:  General                    |    Version:  5.4
 Severity:  normal                     |   Keywords:
  Focuses:  accessibility, javascript  |
---------------------------------------+-----------------------------
 Hi there!

 I've tried adding a submenu in the horizontal menu but there is some issue
 regarding accessibility when I tested it.

 It fails the Success Criterion 1.4.13 Content on Hover or Focus of WCAG :
 https://www.w3.org/TR/WCAG21/#content-on-hover-or-focus

 The submenu cannot be dismissed. If there are many links in the submenu,
 keyboard navigation is tedious since the person will have to tab all of
 the content of the submenu before reaching the next item of the menu.

 Expected fix:

 The submenu should be dismissable with the Esc key for example.

 Here is a menu with a submenu that implements the SC 1.4.13 :
 https://www.eesc.europa.eu/


 It's my first ticket, so I hope I'v done it properly.

 Regards,

 Luce

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


More information about the wp-trac mailing list