[wp-trac] [WordPress Trac] #27638: Bad value navigation for attribute role on element ul

WordPress Trac noreply at wordpress.org
Tue Mar 17 19:09:53 UTC 2015


#27638: Bad value navigation for attribute role on element ul
----------------------------+-----------------------------
 Reporter:  gigimuschi      |       Owner:  helen
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  3.8.1
 Severity:  minor           |  Resolution:
 Keywords:  has-patch       |     Focuses:  accessibility
----------------------------+-----------------------------

Comment (by afercia):

 Sorry first time I see this ticket, we're covering this and more landmark
 roles to add in the admin in #31450. For reference, to support old
 Assistive Technologies and old browsers, it's still recommended to use
 DIVs so instead of
 {{{
 <nav role="navigation">
 }}}
 we're proposing
 {{{
 <div role="navigation" aria-label="Main menu">
 }}}
 In the future, it will be possible to use just `<nav>` which has an
 implicit `role="navigation"`

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


More information about the wp-trac mailing list