WordPress.org

Make WordPress Core

Changeset 49759 for trunk


Ignore:
Timestamp:
12/06/2020 04:20:10 PM (12 months ago)
Author:
SergeyBiryukov
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.
Fixes #51944.
}}}

Location:
trunk/src/wp-content/themes/twentytwentyone
Files:
2 edited

Legend:

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