From fcf096f4b9369fcf7d9d404b3865637ec3993635 Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Thu, 4 Nov 2021 18:18:01 +0000 Subject: [PATCH] Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. With IE11 no longer supported, the primary problem with assistive technology support for native HTML5 elements no longer applies. This commit removes the `role` attribute from the following HTML5 elements with default landmark roles, per formerly required role attributes and W3C. Follow-up to [17669], [21261], [23452], [24832], [29892], [38833], [40851], [43842], [46271], [49216]. Props costdev, craigfrancis, joedolson, mukesh27, ryokuhi, sabernhardt. Fixes #54079. Built from https://develop.svn.wordpress.org/trunk@52013 git-svn-id: http://core.svn.wordpress.org/trunk@51604 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/footer.php | 2 +- wp-content/themes/twentyeleven/header.php | 2 +- wp-content/themes/twentyfifteen/404.php | 2 +- wp-content/themes/twentyfifteen/archive.php | 2 +- wp-content/themes/twentyfifteen/footer.php | 2 +- wp-content/themes/twentyfifteen/header.php | 2 +- wp-content/themes/twentyfifteen/image.php | 2 +- wp-content/themes/twentyfifteen/index.php | 2 +- wp-content/themes/twentyfifteen/page.php | 2 +- wp-content/themes/twentyfifteen/search.php | 2 +- wp-content/themes/twentyfifteen/single.php | 2 +- wp-content/themes/twentyfourteen/footer.php | 2 +- wp-content/themes/twentyfourteen/header.php | 2 +- .../twentynineteen/template-parts/footer/footer-widgets.php | 2 +- wp-content/themes/twentyseventeen/404.php | 2 +- wp-content/themes/twentyseventeen/archive.php | 2 +- wp-content/themes/twentyseventeen/footer.php | 2 +- wp-content/themes/twentyseventeen/front-page.php | 2 +- wp-content/themes/twentyseventeen/header.php | 2 +- wp-content/themes/twentyseventeen/index.php | 2 +- wp-content/themes/twentyseventeen/page.php | 2 +- wp-content/themes/twentyseventeen/search.php | 2 +- wp-content/themes/twentyseventeen/sidebar.php | 2 +- wp-content/themes/twentyseventeen/single.php | 2 +- .../twentyseventeen/template-parts/footer/footer-widgets.php | 2 +- wp-content/themes/twentysixteen/404.php | 2 +- wp-content/themes/twentysixteen/archive.php | 2 +- wp-content/themes/twentysixteen/footer.php | 2 +- wp-content/themes/twentysixteen/header.php | 2 +- wp-content/themes/twentysixteen/image.php | 2 +- wp-content/themes/twentysixteen/index.php | 2 +- wp-content/themes/twentysixteen/page.php | 2 +- wp-content/themes/twentysixteen/search.php | 2 +- wp-content/themes/twentysixteen/sidebar-content-bottom.php | 2 +- wp-content/themes/twentysixteen/sidebar.php | 2 +- wp-content/themes/twentysixteen/single.php | 2 +- wp-content/themes/twentythirteen/footer.php | 2 +- wp-content/themes/twentythirteen/header.php | 2 +- wp-content/themes/twentytwelve/header.php | 2 +- wp-content/themes/twentytwenty/404.php | 2 +- wp-content/themes/twentytwenty/footer.php | 2 +- wp-content/themes/twentytwenty/header.php | 2 +- wp-content/themes/twentytwenty/index.php | 2 +- wp-content/themes/twentytwenty/singular.php | 2 +- .../themes/twentytwenty/template-parts/footer-menus-widgets.php | 2 +- wp-content/themes/twentytwenty/templates/template-cover.php | 2 +- wp-content/themes/twentytwentyone/footer.php | 2 +- wp-content/themes/twentytwentyone/header.php | 2 +- .../twentytwentyone/template-parts/header/site-header.php | 2 +- wp-includes/version.php | 2 +- 50 files changed, 50 insertions(+), 50 deletions(-) diff --git a/wp-content/themes/twentyeleven/footer.php b/wp-content/themes/twentyeleven/footer.php index 041ec2822f..7883f14fe7 100644 --- a/wp-content/themes/twentyeleven/footer.php +++ b/wp-content/themes/twentyeleven/footer.php @@ -12,7 +12,7 @@ -