[wp-trac] [WordPress Trac] #54054: Remove role="navigation" from `nav` elements
WordPress Trac
noreply at wordpress.org
Mon Nov 1 21:45:59 UTC 2021
#54054: Remove role="navigation" from `nav` elements
-------------------------------------+-------------------------------------
Reporter: ilovewpcom | Owner: joedolson
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.9
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev- | Focuses: accessibility, coding-
note commit | standards
-------------------------------------+-------------------------------------
Changes (by joedolson):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"51967" 51967]:
{{{
#!CommitTicketReference repository="" revision="51967"
General: Remove role="navigation" from nav elements.
Role="navigation" was required for assistive technology to recognize HTML5
element's native ARIA roles while HTML5 and ARIA were being introduced.
With the deprecation of IE11, the role attribute is only required when
mapping elements that don't have native role.
Props costdev, mukesh27.
Fixes #54054.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54054#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list