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

WordPress Trac noreply at wordpress.org
Sun Apr 28 22:21:20 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:  needs-patch    |     Focuses:  accessibility, template
---------------------------+--------------------------------------
Changes (by afercia):

 * keywords:   => needs-patch
 * type:  enhancement => defect (bug)
 * focuses:  template => accessibility, template
 * component:  Themes => Bundled Theme
 * milestone:  Awaiting Review => 5.2.1


Comment:

 @albertomake thanks for your report and welcome to Trac. Looks like this
 was introduced in https://github.com/WordPress/twentynineteen/pull/190.

 Suggestion: When in doubt about correct usage of HTML5 semantic elements,
 a good reading of the specs may help, together with passing the generated
 markup through the W3C validator at https://validator.w3.org/nu/#textarea
 /Cc @allancole @kjellr

 I'd like to propose to fix this as soon as possible in the next minor
 release.

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


More information about the wp-trac mailing list