From f51bcff2f1774e9a966da0966cab864a89695182 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 6 Dec 2020 16:20:10 +0000 Subject: [PATCH] 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 `
` element that was wrapping the `
` element to a `
`. Follow-up to [45942] for Twenty Nineteen. Props albertomake, poena. Fixes #51944. }}} git-svn-id: https://develop.svn.wordpress.org/trunk@49759 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwentyone/footer.php | 2 +- src/wp-content/themes/twentytwentyone/header.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentytwentyone/footer.php b/src/wp-content/themes/twentytwentyone/footer.php index b0c26e4fe6..08a0c2524f 100644 --- a/src/wp-content/themes/twentytwentyone/footer.php +++ b/src/wp-content/themes/twentytwentyone/footer.php @@ -13,7 +13,7 @@ ?>
-
+ diff --git a/src/wp-content/themes/twentytwentyone/header.php b/src/wp-content/themes/twentytwentyone/header.php index 9f0433a43a..d627de453c 100644 --- a/src/wp-content/themes/twentytwentyone/header.php +++ b/src/wp-content/themes/twentytwentyone/header.php @@ -28,5 +28,5 @@
-
+