[wp-meta] [Making WordPress.org] #3927: Remove the aria-expanded form the ul wporg-header-menu in the header menu

Making WordPress.org noreply at wordpress.org
Fri Nov 16 10:33:03 UTC 2018


#3927: Remove the aria-expanded form the ul wporg-header-menu in the header menu
--------------------------+--------------------
 Reporter:  rianrietveld  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:
Component:  General       |   Keywords:
--------------------------+--------------------
 The unordered list with the menu items in the header has an `aria-
 expanded` toggle. This can be removed.

 The toggle should only be on the focusable element, in this case the
 button.
 The open/closed state of the menu is announced when the button gets focus.
 Adding it also to the ul is not necessary, because the ul doesn't get
 focus itself.


 {{{
 <ul id="wporg-header-menu" aria-expanded="false" class=" nav-menu">
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3927>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list