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

WordPress Trac noreply at wordpress.org
Fri Oct 29 06:36:45 UTC 2021


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

 * Attachment "54079.2.diff" added.

 Option 2 - Keep `role="contentinfo"` for Twenty Twelve `footer` and add
 `contentinfo` class with CSS selector adjustments.

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


More information about the wp-trac mailing list