[wp-trac] [WordPress Trac] #48920: role="navigation" no longer necessary on <nav> element in the_posts_navigation

WordPress Trac noreply at wordpress.org
Mon Dec 9 15:32:59 UTC 2019


#48920: role="navigation" no longer necessary on <nav> element in
the_posts_navigation
---------------------------+-----------------------------
 Reporter:  philbuchanan   |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Formatting     |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 With widespread support for HTML5 elements the redundant `role` attribute
 is no longer necessary on a <nav> element and may result in screen readers
 announcing the element as "navigation navigation."

 [https://core.trac.wordpress.org/browser/tags/4.1/src/wp-includes/link-
 template.php#L2364 See line 2364 of wp-includes/link-template.php]

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


More information about the wp-trac mailing list