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

WordPress Trac noreply at wordpress.org
Fri Jan 10 15:54:30 UTC 2020


#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             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  accessibility
-------------------------------+------------------------------
Changes (by afercia):

 * keywords:   => reporter-feedback


Comment:

 This ticket was discussed during today's accessibility bug-scrub.
 @philbuchanan thanks for your report.

 In the admin and also in the bundled themes WordPress does use to set an
 explicit ARIA role on HTML5 elements that already carry the same semantics
 e.g. `<nav class="navigation" ...`

 This is to support old browser/assistive technologies combinations.

 We're not aware of any browse/assistive technology combo that would
 announce "navigation" twice. Do you have any more details or specific,
 reproducible, cases to report?

 ARIA roles usually overrides native semantic roles. If a double
 announcement happens, that's very likely a specific screen reader bug.

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


More information about the wp-trac mailing list