[wp-meta] [Making WordPress.org] #4123: Proposal to improve the main navigation menu accessibility

Making WordPress.org noreply at wordpress.org
Wed Jan 30 20:47:27 UTC 2019


#4123: Proposal to improve the main navigation menu accessibility
---------------------+---------------------
 Reporter:  afercia  |       Owner:  (none)
     Type:  defect   |      Status:  new
 Priority:  normal   |   Milestone:
Component:  General  |  Resolution:
 Keywords:           |
---------------------+---------------------

Comment (by Otto42):

 Okay, let's take these menus one at a time.

 The main menu's markup:

 {{{
 <ul id="wporg-header-menu" class=" nav-menu">
 <li class="menu-item">...
 </ul>
 }}}

 So, wrap a `<nav aria-label="Main menu">` around this?

 Similar for other menus, obviously, but is there any other markup changes
 that would be needed?

 Converting it to a plain nav would require a more extensive change to the
 CSS (possibly on all subsites), but could be feasible.

 Would it be preferable to use a role=navigation on the ul instead, to
 minimize the CSS adjustments?

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4123#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list