Make WordPress Core

Ticket #54079: 54079.1.diff

File 54079.1.diff, 25.3 KB (added by costdev, 4 years ago)

Option 1 - Keep role="contentinfo" for Twenty Twelve footer.

  • src/wp-content/themes/twentyeleven/footer.php

    diff --git a/src/wp-content/themes/twentyeleven/footer.php b/src/wp-content/themes/twentyeleven/footer.php
    index 041ec2822f..7883f14fe7 100644
    a b  
    1212
    1313        </div><!-- #main -->
    1414
    15         <footer id="colophon" role="contentinfo">
     15        <footer id="colophon">
    1616
    1717                        <?php
    1818                                /*
  • src/wp-content/themes/twentyeleven/header.php

    diff --git a/src/wp-content/themes/twentyeleven/header.php b/src/wp-content/themes/twentyeleven/header.php
    index 075222be99..b94fa18215 100644
    a b if ( is_singular() && get_option( 'thread_comments' ) ) { 
    7676<body <?php body_class(); ?>>
    7777<?php wp_body_open(); ?>
    7878<div id="page" class="hfeed">
    79         <header id="branding" role="banner">
     79        <header id="branding">
    8080                        <hgroup>
    8181                                <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
    8282                                <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
  • src/wp-content/themes/twentyfifteen/404.php

    diff --git a/src/wp-content/themes/twentyfifteen/404.php b/src/wp-content/themes/twentyfifteen/404.php
    index 43ff16d494..e5ca57380b 100644
    a b  
    1010get_header(); ?>
    1111
    1212        <div id="primary" class="content-area">
    13                 <main id="main" class="site-main" role="main">
     13                <main id="main" class="site-main">
    1414
    1515                        <section class="error-404 not-found">
    1616                                <header class="page-header">
  • src/wp-content/themes/twentyfifteen/archive.php

    diff --git a/src/wp-content/themes/twentyfifteen/archive.php b/src/wp-content/themes/twentyfifteen/archive.php
    index 425a74ac71..9942add271 100644
    a b  
    1919get_header(); ?>
    2020
    2121        <section id="primary" class="content-area">
    22                 <main id="main" class="site-main" role="main">
     22                <main id="main" class="site-main">
    2323
    2424                <?php if ( have_posts() ) : ?>
    2525
  • src/wp-content/themes/twentyfifteen/footer.php

    diff --git a/src/wp-content/themes/twentyfifteen/footer.php b/src/wp-content/themes/twentyfifteen/footer.php
    index 0265485e48..d66a915693 100644
    a b  
    1212
    1313        </div><!-- .site-content -->
    1414
    15         <footer id="colophon" class="site-footer" role="contentinfo">
     15        <footer id="colophon" class="site-footer">
    1616                <div class="site-info">
    1717                        <?php
    1818                                /**
  • src/wp-content/themes/twentyfifteen/header.php

    diff --git a/src/wp-content/themes/twentyfifteen/header.php b/src/wp-content/themes/twentyfifteen/header.php
    index 614cca89e2..b6d7535216 100644
    a b  
    2727        <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyfifteen' ); ?></a>
    2828
    2929        <div id="sidebar" class="sidebar">
    30                 <header id="masthead" class="site-header" role="banner">
     30                <header id="masthead" class="site-header">
    3131                        <div class="site-branding">
    3232                                <?php
    3333                                        twentyfifteen_the_custom_logo();
  • src/wp-content/themes/twentyfifteen/image.php

    diff --git a/src/wp-content/themes/twentyfifteen/image.php b/src/wp-content/themes/twentyfifteen/image.php
    index 0b9c4bbb7a..e226a4c6e9 100644
    a b  
    1010get_header(); ?>
    1111
    1212        <div id="primary" class="content-area">
    13                 <main id="main" class="site-main" role="main">
     13                <main id="main" class="site-main">
    1414
    1515                        <?php
    1616                        // Start the loop.
  • src/wp-content/themes/twentyfifteen/index.php

    diff --git a/src/wp-content/themes/twentyfifteen/index.php b/src/wp-content/themes/twentyfifteen/index.php
    index b8f812786a..a3ffee150c 100644
    a b  
    1717get_header(); ?>
    1818
    1919        <div id="primary" class="content-area">
    20                 <main id="main" class="site-main" role="main">
     20                <main id="main" class="site-main">
    2121
    2222                <?php if ( have_posts() ) : ?>
    2323
  • src/wp-content/themes/twentyfifteen/page.php

    diff --git a/src/wp-content/themes/twentyfifteen/page.php b/src/wp-content/themes/twentyfifteen/page.php
    index 50d0bf1c12..41d74f78c1 100644
    a b  
    1414get_header(); ?>
    1515
    1616        <div id="primary" class="content-area">
    17                 <main id="main" class="site-main" role="main">
     17                <main id="main" class="site-main">
    1818
    1919                <?php
    2020                // Start the loop.
  • src/wp-content/themes/twentyfifteen/search.php

    diff --git a/src/wp-content/themes/twentyfifteen/search.php b/src/wp-content/themes/twentyfifteen/search.php
    index f8729f8fe6..dc1206e895 100644
    a b  
    1010get_header(); ?>
    1111
    1212        <section id="primary" class="content-area">
    13                 <main id="main" class="site-main" role="main">
     13                <main id="main" class="site-main">
    1414
    1515                <?php if ( have_posts() ) : ?>
    1616
  • src/wp-content/themes/twentyfifteen/single.php

    diff --git a/src/wp-content/themes/twentyfifteen/single.php b/src/wp-content/themes/twentyfifteen/single.php
    index 2a4bb89366..be1476e5fc 100644
    a b  
    1010get_header(); ?>
    1111
    1212        <div id="primary" class="content-area">
    13                 <main id="main" class="site-main" role="main">
     13                <main id="main" class="site-main">
    1414
    1515                <?php
    1616                // Start the loop.
  • src/wp-content/themes/twentyfourteen/footer.php

    diff --git a/src/wp-content/themes/twentyfourteen/footer.php b/src/wp-content/themes/twentyfourteen/footer.php
    index c3540bf5bb..cb08f682a1 100644
    a b  
    1212
    1313                </div><!-- #main -->
    1414
    15                 <footer id="colophon" class="site-footer" role="contentinfo">
     15                <footer id="colophon" class="site-footer">
    1616
    1717                        <?php get_sidebar( 'footer' ); ?>
    1818
  • src/wp-content/themes/twentyfourteen/header.php

    diff --git a/src/wp-content/themes/twentyfourteen/header.php b/src/wp-content/themes/twentyfourteen/header.php
    index 744abbd117..a9e92d8a42 100644
    a b  
    4141        </div>
    4242        <?php endif; ?>
    4343
    44         <header id="masthead" class="site-header" role="banner">
     44        <header id="masthead" class="site-header">
    4545                <div class="header-main">
    4646                        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    4747
  • src/wp-content/themes/twentynineteen/template-parts/footer/footer-widgets.php

    diff --git a/src/wp-content/themes/twentynineteen/template-parts/footer/footer-widgets.php b/src/wp-content/themes/twentynineteen/template-parts/footer/footer-widgets.php
    index d66183f816..992fb46fc7 100644
    a b  
    99
    1010if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
    1111
    12         <aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
     12        <aside class="widget-area" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
    1313                <?php
    1414                if ( is_active_sidebar( 'sidebar-1' ) ) {
    1515                        ?>
  • src/wp-content/themes/twentyseventeen/404.php

    diff --git a/src/wp-content/themes/twentyseventeen/404.php b/src/wp-content/themes/twentyseventeen/404.php
    index 3bbae9567a..2807db1a88 100644
    a b get_header(); ?> 
    1414
    1515<div class="wrap">
    1616        <div id="primary" class="content-area">
    17                 <main id="main" class="site-main" role="main">
     17                <main id="main" class="site-main">
    1818
    1919                        <section class="error-404 not-found">
    2020                                <header class="page-header">
  • src/wp-content/themes/twentyseventeen/archive.php

    diff --git a/src/wp-content/themes/twentyseventeen/archive.php b/src/wp-content/themes/twentyseventeen/archive.php
    index 574efd37c7..05737b24c2 100644
    a b get_header(); ?> 
    2424        <?php endif; ?>
    2525
    2626        <div id="primary" class="content-area">
    27                 <main id="main" class="site-main" role="main">
     27                <main id="main" class="site-main">
    2828
    2929                <?php
    3030                if ( have_posts() ) :
  • src/wp-content/themes/twentyseventeen/footer.php

    diff --git a/src/wp-content/themes/twentyseventeen/footer.php b/src/wp-content/themes/twentyseventeen/footer.php
    index 1772bf717b..c69385bbd2 100644
    a b  
    1616
    1717                </div><!-- #content -->
    1818
    19                 <footer id="colophon" class="site-footer" role="contentinfo">
     19                <footer id="colophon" class="site-footer">
    2020                        <div class="wrap">
    2121                                <?php
    2222                                get_template_part( 'template-parts/footer/footer', 'widgets' );
  • src/wp-content/themes/twentyseventeen/front-page.php

    diff --git a/src/wp-content/themes/twentyseventeen/front-page.php b/src/wp-content/themes/twentyseventeen/front-page.php
    index 225792677f..ceeb10037c 100644
    a b  
    1515get_header(); ?>
    1616
    1717<div id="primary" class="content-area">
    18         <main id="main" class="site-main" role="main">
     18        <main id="main" class="site-main">
    1919
    2020                <?php
    2121                // Show the selected front page content.
  • src/wp-content/themes/twentyseventeen/header.php

    diff --git a/src/wp-content/themes/twentyseventeen/header.php b/src/wp-content/themes/twentyseventeen/header.php
    index c041fd0779..5a8e88879f 100644
    a b  
    2727<div id="page" class="site">
    2828        <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyseventeen' ); ?></a>
    2929
    30         <header id="masthead" class="site-header" role="banner">
     30        <header id="masthead" class="site-header">
    3131
    3232                <?php get_template_part( 'template-parts/header/header', 'image' ); ?>
    3333
  • src/wp-content/themes/twentyseventeen/index.php

    diff --git a/src/wp-content/themes/twentyseventeen/index.php b/src/wp-content/themes/twentyseventeen/index.php
    index 5df8f0231f..21964295f1 100644
    a b get_header(); ?> 
    2929        <?php endif; ?>
    3030
    3131        <div id="primary" class="content-area">
    32                 <main id="main" class="site-main" role="main">
     32                <main id="main" class="site-main">
    3333
    3434                        <?php
    3535                        if ( have_posts() ) :
  • src/wp-content/themes/twentyseventeen/page.php

    diff --git a/src/wp-content/themes/twentyseventeen/page.php b/src/wp-content/themes/twentyseventeen/page.php
    index fee6a8e49c..c0d41caace 100644
    a b get_header(); ?> 
    1919
    2020<div class="wrap">
    2121        <div id="primary" class="content-area">
    22                 <main id="main" class="site-main" role="main">
     22                <main id="main" class="site-main">
    2323
    2424                        <?php
    2525                        while ( have_posts() ) :
  • src/wp-content/themes/twentyseventeen/search.php

    diff --git a/src/wp-content/themes/twentyseventeen/search.php b/src/wp-content/themes/twentyseventeen/search.php
    index ee62b22112..248e387ff5 100644
    a b get_header(); ?> 
    2828        </header><!-- .page-header -->
    2929
    3030        <div id="primary" class="content-area">
    31                 <main id="main" class="site-main" role="main">
     31                <main id="main" class="site-main">
    3232
    3333                <?php
    3434                if ( have_posts() ) :
  • src/wp-content/themes/twentyseventeen/sidebar.php

    diff --git a/src/wp-content/themes/twentyseventeen/sidebar.php b/src/wp-content/themes/twentyseventeen/sidebar.php
    index 8233b23357..2aaf97c66f 100644
    a b if ( ! is_active_sidebar( 'sidebar-1' ) ) { 
    1515}
    1616?>
    1717
    18 <aside id="secondary" class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Blog Sidebar', 'twentyseventeen' ); ?>">
     18<aside id="secondary" class="widget-area" aria-label="<?php esc_attr_e( 'Blog Sidebar', 'twentyseventeen' ); ?>">
    1919        <?php dynamic_sidebar( 'sidebar-1' ); ?>
    2020</aside><!-- #secondary -->
  • src/wp-content/themes/twentyseventeen/single.php

    diff --git a/src/wp-content/themes/twentyseventeen/single.php b/src/wp-content/themes/twentyseventeen/single.php
    index 541e2d24a9..9f8bcf0a76 100644
    a b get_header(); ?> 
    1414
    1515<div class="wrap">
    1616        <div id="primary" class="content-area">
    17                 <main id="main" class="site-main" role="main">
     17                <main id="main" class="site-main">
    1818
    1919                        <?php
    2020                        // Start the Loop.
  • src/wp-content/themes/twentyseventeen/template-parts/footer/footer-widgets.php

    diff --git a/src/wp-content/themes/twentyseventeen/template-parts/footer/footer-widgets.php b/src/wp-content/themes/twentyseventeen/template-parts/footer/footer-widgets.php
    index 68ad2165b1..fa675edcaa 100644
    a b if ( is_active_sidebar( 'sidebar-2' ) || 
    1515        is_active_sidebar( 'sidebar-3' ) ) :
    1616        ?>
    1717
    18         <aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentyseventeen' ); ?>">
     18        <aside class="widget-area" aria-label="<?php esc_attr_e( 'Footer', 'twentyseventeen' ); ?>">
    1919                <?php
    2020                if ( is_active_sidebar( 'sidebar-2' ) ) {
    2121                        ?>
  • src/wp-content/themes/twentysixteen/404.php

    diff --git a/src/wp-content/themes/twentysixteen/404.php b/src/wp-content/themes/twentysixteen/404.php
    index 59907be91d..bb122f2f41 100644
    a b  
    1010get_header(); ?>
    1111
    1212        <div id="primary" class="content-area">
    13                 <main id="main" class="site-main" role="main">
     13                <main id="main" class="site-main">
    1414
    1515                        <section class="error-404 not-found">
    1616                                <header class="page-header">
  • src/wp-content/themes/twentysixteen/archive.php

    diff --git a/src/wp-content/themes/twentysixteen/archive.php b/src/wp-content/themes/twentysixteen/archive.php
    index 68a97fc537..d332049273 100644
    a b  
    1919get_header(); ?>
    2020
    2121        <div id="primary" class="content-area">
    22                 <main id="main" class="site-main" role="main">
     22                <main id="main" class="site-main">
    2323
    2424                <?php if ( have_posts() ) : ?>
    2525
  • src/wp-content/themes/twentysixteen/footer.php

    diff --git a/src/wp-content/themes/twentysixteen/footer.php b/src/wp-content/themes/twentysixteen/footer.php
    index 9f1621ff93..39d955c5c2 100644
    a b  
    1212
    1313                </div><!-- .site-content -->
    1414
    15                 <footer id="colophon" class="site-footer" role="contentinfo">
     15                <footer id="colophon" class="site-footer">
    1616                        <?php if ( has_nav_menu( 'primary' ) ) : ?>
    1717                                <nav class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Primary Menu', 'twentysixteen' ); ?>">
    1818                                        <?php
  • src/wp-content/themes/twentysixteen/header.php

    diff --git a/src/wp-content/themes/twentysixteen/header.php b/src/wp-content/themes/twentysixteen/header.php
    index 4f5a4d6af0..4291825533 100644
    a b  
    2727        <div class="site-inner">
    2828                <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentysixteen' ); ?></a>
    2929
    30                 <header id="masthead" class="site-header" role="banner">
     30                <header id="masthead" class="site-header">
    3131                        <div class="site-header-main">
    3232                                <div class="site-branding">
    3333                                        <?php twentysixteen_the_custom_logo(); ?>
  • src/wp-content/themes/twentysixteen/image.php

    diff --git a/src/wp-content/themes/twentysixteen/image.php b/src/wp-content/themes/twentysixteen/image.php
    index 5929161a3c..2f18cd5566 100644
    a b  
    1010get_header(); ?>
    1111
    1212        <div id="primary" class="content-area">
    13                 <main id="main" class="site-main" role="main">
     13                <main id="main" class="site-main">
    1414
    1515                        <?php
    1616                        // Start the loop.
  • src/wp-content/themes/twentysixteen/index.php

    diff --git a/src/wp-content/themes/twentysixteen/index.php b/src/wp-content/themes/twentysixteen/index.php
    index 0a1a3e0173..87efb51b60 100644
    a b  
    1717get_header(); ?>
    1818
    1919        <div id="primary" class="content-area">
    20                 <main id="main" class="site-main" role="main">
     20                <main id="main" class="site-main">
    2121
    2222                <?php if ( have_posts() ) : ?>
    2323
  • src/wp-content/themes/twentysixteen/page.php

    diff --git a/src/wp-content/themes/twentysixteen/page.php b/src/wp-content/themes/twentysixteen/page.php
    index f5d6b7adb9..496f11d282 100644
    a b  
    1414get_header(); ?>
    1515
    1616<div id="primary" class="content-area">
    17         <main id="main" class="site-main" role="main">
     17        <main id="main" class="site-main">
    1818                <?php
    1919                // Start the loop.
    2020                while ( have_posts() ) :
  • src/wp-content/themes/twentysixteen/search.php

    diff --git a/src/wp-content/themes/twentysixteen/search.php b/src/wp-content/themes/twentysixteen/search.php
    index 37aed86331..f83758e3e9 100644
    a b  
    1010get_header(); ?>
    1111
    1212        <section id="primary" class="content-area">
    13                 <main id="main" class="site-main" role="main">
     13                <main id="main" class="site-main">
    1414
    1515                <?php if ( have_posts() ) : ?>
    1616
  • src/wp-content/themes/twentysixteen/sidebar-content-bottom.php

    diff --git a/src/wp-content/themes/twentysixteen/sidebar-content-bottom.php b/src/wp-content/themes/twentysixteen/sidebar-content-bottom.php
    index d561eb7d1d..1e562328a5 100644
    a b if ( ! is_active_sidebar( 'sidebar-2' ) && ! is_active_sidebar( 'sidebar-3' ) ) 
    1313
    1414// If we get this far, we have widgets. Let's do this.
    1515?>
    16 <aside id="content-bottom-widgets" class="content-bottom-widgets" role="complementary">
     16<aside id="content-bottom-widgets" class="content-bottom-widgets">
    1717        <?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
    1818                <div class="widget-area">
    1919                        <?php dynamic_sidebar( 'sidebar-2' ); ?>
  • src/wp-content/themes/twentysixteen/sidebar.php

    diff --git a/src/wp-content/themes/twentysixteen/sidebar.php b/src/wp-content/themes/twentysixteen/sidebar.php
    index 45aff971ab..291daa062b 100644
    a b  
    99?>
    1010
    1111<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
    12         <aside id="secondary" class="sidebar widget-area" role="complementary">
     12        <aside id="secondary" class="sidebar widget-area">
    1313                <?php dynamic_sidebar( 'sidebar-1' ); ?>
    1414        </aside><!-- .sidebar .widget-area -->
    1515<?php endif; ?>
  • src/wp-content/themes/twentysixteen/single.php

    diff --git a/src/wp-content/themes/twentysixteen/single.php b/src/wp-content/themes/twentysixteen/single.php
    index 77a44d8692..dcf1094131 100644
    a b  
    1010get_header(); ?>
    1111
    1212<div id="primary" class="content-area">
    13         <main id="main" class="site-main" role="main">
     13        <main id="main" class="site-main">
    1414                <?php
    1515                // Start the loop.
    1616                while ( have_posts() ) :
  • src/wp-content/themes/twentythirteen/footer.php

    diff --git a/src/wp-content/themes/twentythirteen/footer.php b/src/wp-content/themes/twentythirteen/footer.php
    index c4002d644e..5a24fcdf2f 100644
    a b  
    1111?>
    1212
    1313                </div><!-- #main -->
    14                 <footer id="colophon" class="site-footer" role="contentinfo">
     14                <footer id="colophon" class="site-footer">
    1515                        <?php get_sidebar( 'main' ); ?>
    1616
    1717                        <div class="site-info">
  • src/wp-content/themes/twentythirteen/header.php

    diff --git a/src/wp-content/themes/twentythirteen/header.php b/src/wp-content/themes/twentythirteen/header.php
    index 7fdf9c791b..6385894aa6 100644
    a b  
    3333<body <?php body_class(); ?>>
    3434        <?php wp_body_open(); ?>
    3535        <div id="page" class="hfeed site">
    36                 <header id="masthead" class="site-header" role="banner">
     36                <header id="masthead" class="site-header">
    3737                        <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    3838                                <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
    3939                                <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
  • src/wp-content/themes/twentytwelve/header.php

    diff --git a/src/wp-content/themes/twentytwelve/header.php b/src/wp-content/themes/twentytwelve/header.php
    index 8f15a76176..e6c3021c79 100644
    a b  
    3434<body <?php body_class(); ?>>
    3535<?php wp_body_open(); ?>
    3636<div id="page" class="hfeed site">
    37         <header id="masthead" class="site-header" role="banner">
     37        <header id="masthead" class="site-header">
    3838                <hgroup>
    3939                        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    4040                        <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
  • src/wp-content/themes/twentytwenty/404.php

    diff --git a/src/wp-content/themes/twentytwenty/404.php b/src/wp-content/themes/twentytwenty/404.php
    index 7e7e0cdc6f..77cfd31054 100644
    a b  
    1010get_header();
    1111?>
    1212
    13 <main id="site-content" role="main">
     13<main id="site-content">
    1414
    1515        <div class="section-inner thin error404-content">
    1616
  • src/wp-content/themes/twentytwenty/footer.php

    diff --git a/src/wp-content/themes/twentytwenty/footer.php b/src/wp-content/themes/twentytwenty/footer.php
    index afe204b629..65126eb269 100644
    a b  
    1212 */
    1313
    1414?>
    15                         <footer id="site-footer" role="contentinfo" class="header-footer-group">
     15                        <footer id="site-footer" class="header-footer-group">
    1616
    1717                                <div class="section-inner">
    1818
  • src/wp-content/themes/twentytwenty/header.php

    diff --git a/src/wp-content/themes/twentytwenty/header.php b/src/wp-content/themes/twentytwenty/header.php
    index dd63f33767..2bc977c3a2 100644
    a b  
    3030                wp_body_open();
    3131                ?>
    3232
    33                 <header id="site-header" class="header-footer-group" role="banner">
     33                <header id="site-header" class="header-footer-group">
    3434
    3535                        <div class="header-inner section-inner">
    3636
  • src/wp-content/themes/twentytwenty/index.php

    diff --git a/src/wp-content/themes/twentytwenty/index.php b/src/wp-content/themes/twentytwenty/index.php
    index fb0a5d809a..2efda3596f 100644
    a b  
    1717get_header();
    1818?>
    1919
    20 <main id="site-content" role="main">
     20<main id="site-content">
    2121
    2222        <?php
    2323
  • src/wp-content/themes/twentytwenty/singular.php

    diff --git a/src/wp-content/themes/twentytwenty/singular.php b/src/wp-content/themes/twentytwenty/singular.php
    index 857bc6f460..b52ea8ca8d 100644
    a b  
    1212get_header();
    1313?>
    1414
    15 <main id="site-content" role="main">
     15<main id="site-content">
    1616
    1717        <?php
    1818
  • src/wp-content/themes/twentytwenty/template-parts/footer-menus-widgets.php

    diff --git a/src/wp-content/themes/twentytwenty/template-parts/footer-menus-widgets.php b/src/wp-content/themes/twentytwenty/template-parts/footer-menus-widgets.php
    index bb3e69678e..d14e3b587d 100644
    a b if ( $has_footer_menu || $has_social_menu || $has_sidebar_1 || $has_sidebar_2 ) 
    8686
    8787                        <?php if ( $has_sidebar_1 || $has_sidebar_2 ) { ?>
    8888
    89                                 <aside class="footer-widgets-outer-wrapper" role="complementary">
     89                                <aside class="footer-widgets-outer-wrapper">
    9090
    9191                                        <div class="footer-widgets-wrapper">
    9292
  • src/wp-content/themes/twentytwenty/templates/template-cover.php

    diff --git a/src/wp-content/themes/twentytwenty/templates/template-cover.php b/src/wp-content/themes/twentytwenty/templates/template-cover.php
    index 20e20cf51d..f527167d8c 100644
    a b  
    1111get_header();
    1212?>
    1313
    14 <main id="site-content" role="main">
     14<main id="site-content">
    1515
    1616        <?php
    1717
  • src/wp-content/themes/twentytwentyone/footer.php

    diff --git a/src/wp-content/themes/twentytwentyone/footer.php b/src/wp-content/themes/twentytwentyone/footer.php
    index 63ecd99ac0..eac1082932 100644
    a b  
    1818
    1919        <?php get_template_part( 'template-parts/footer/footer-widgets' ); ?>
    2020
    21         <footer id="colophon" class="site-footer" role="contentinfo">
     21        <footer id="colophon" class="site-footer">
    2222
    2323                <?php if ( has_nav_menu( 'footer' ) ) : ?>
    2424                        <nav aria-label="<?php esc_attr_e( 'Secondary menu', 'twentytwentyone' ); ?>" class="footer-navigation">
  • src/wp-content/themes/twentytwentyone/header.php

    diff --git a/src/wp-content/themes/twentytwentyone/header.php b/src/wp-content/themes/twentytwentyone/header.php
    index 9e41346468..1e3b588aeb 100644
    a b  
    2929
    3030        <div id="content" class="site-content">
    3131                <div id="primary" class="content-area">
    32                         <main id="main" class="site-main" role="main">
     32                        <main id="main" class="site-main">
  • src/wp-content/themes/twentytwentyone/template-parts/header/site-header.php

    diff --git a/src/wp-content/themes/twentytwentyone/template-parts/header/site-header.php b/src/wp-content/themes/twentytwentyone/template-parts/header/site-header.php
    index caa6d46cbf..b0fbbac2d0 100644
    a b $wrapper_classes .= ( true === get_theme_mod( 'display_title_and_tagline', true 
    1313$wrapper_classes .= has_nav_menu( 'primary' ) ? ' has-menu' : '';
    1414?>
    1515
    16 <header id="masthead" class="<?php echo esc_attr( $wrapper_classes ); ?>" role="banner">
     16<header id="masthead" class="<?php echo esc_attr( $wrapper_classes ); ?>">
    1717
    1818        <?php get_template_part( 'template-parts/header/site-branding' ); ?>
    1919        <?php get_template_part( 'template-parts/header/site-nav' ); ?>