[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 19:22:45 UTC 2019
#47066: The main element must not appear as a descendant of the section element.
-------------------------+-----------------------------
Reporter: albertomake | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 5.1
Severity: normal | Keywords:
Focuses: template |
-------------------------+-----------------------------
In the version 1.3 of the Twenty Nineteen theme there is a markup error in
different templates:
* 404.php
* archive.php
* image.php
* index.php
* page.php
* search.php
* single.php
where the main element appears as a descendant of a section:
{{{
...
<section id="primary" class="content-area">
<main id="main" class="site-main">
...
</main><!-- #main -->
</section><!-- #primary -->
...
}}}
I would suggest replacing ¨section¨ for ¨div¨.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47066>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list