WordPress.org

Make WordPress Core

Changeset 49760


Ignore:
Timestamp:
12/06/2020 10:04:56 PM (11 months ago)
Author:
peterwilsoncc
Message:

Twenty Twenty-One: Fix the nesting of the main element.

The main element must not appear as a descendant of the section element. Correct markup is the first requirement to make user agents and assistive technologies work properly.

Changes the <section> element that was wrapping the <main> element to a <div>.

Follow-up to [45942] for Twenty Nineteen.

Props albertomake, poena.
Reviewed by SergeyBiryukov, peterwilsoncc.
Merges [49759] to the 5.6 branch.
Fixes #51944.

Location:
branches/5.6
Files:
3 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.