[wp-trac] [WordPress Trac] #47066: The main element must not appear as a descendant of the section element.

WordPress Trac noreply at wordpress.org
Thu May 9 17:56:36 UTC 2019


#47066: The main element must not appear as a descendant of the section element.
-----------------------------------+--------------------------------------
 Reporter:  albertomake            |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  5.2.1
Component:  Bundled Theme          |     Version:  5.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  accessibility, template
-----------------------------------+--------------------------------------
Changes (by desrosj):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 I'm concerned about the potential for negative side effects this could
 have on sites.

 Any site that targets `section#primary anythingelse {}` would see their
 theme break, and potentially severely because this is a high level element
 in the DOM.

 Any site that uses Twenty Nineteen and has any custom CSS defined either
 in a child theme that does not override all of these templates, or added
 through the Customizer could be effected.

 This could be a low number of sites since Twenty Nineteen is relatively
 new, but I don't know that we can safely roll out this change without very
 advanced notice.

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


More information about the wp-trac mailing list