[wp-trac] [WordPress Trac] #54079: Remove "role" attribute on HTML5 elements with a default landmark role.

WordPress Trac noreply at wordpress.org
Thu Nov 4 18:17:00 UTC 2021


#54079: Remove "role" attribute on HTML5 elements with a default landmark role.
-------------------------+-------------------------------------------------
 Reporter:  costdev      |       Owner:  hellofromTonya
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.9
Component:  Bundled      |     Version:
  Theme                  |
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  accessibility, css, coding-
  commit                 |  standards
-------------------------+-------------------------------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52013" 52013]:
 {{{
 #!CommitTicketReference repository="" revision="52013"
 Bundled Themes: Remove the "role" attribute on HTML elements with a
 default landmark role.

 With IE11 no longer supported, the primary problem with assistive
 technology support for native HTML5 elements no longer applies.

 This commit removes the `role` attribute from the following HTML5 elements
 with default landmark roles, per formerly required role attributes and
 W3C.

 Follow-up to [17669], [21261], [23452], [24832], [29892], [38833],
 [40851], [43842], [46271], [49216].

 Props costdev, craigfrancis, joedolson, mukesh27, ryokuhi, sabernhardt.
 Fixes #54079.
 }}}

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


More information about the wp-trac mailing list