Make WordPress Core

Ticket #42056: 42056.patch

File 42056.patch, 1.2 KB (added by sami.keijonen, 7 years ago)
  • src/wp-content/themes/twentyseventeen/sidebar.php

     
    1515}
    1616?>
    1717
    18 <aside id="secondary" class="widget-area" role="complementary">
     18<aside id="secondary" class="widget-area" role="complementary" aria-label="<?php _e( 'Blog Sidebar', 'twentyseventeen' ); ?>">
    1919        <?php dynamic_sidebar( 'sidebar-1' ); ?>
    2020</aside><!-- #secondary -->
  • src/wp-content/themes/twentyseventeen/template-parts/footer/footer-widgets.php

     
    1515         is_active_sidebar( 'sidebar-3' ) ) :
    1616?>
    1717
    18         <aside class="widget-area" role="complementary">
     18        <aside class="widget-area" role="complementary" aria-label="<?php _e( 'Footer', 'twentyseventeen' ); ?>">
    1919                <?php
    2020                if ( is_active_sidebar( 'sidebar-2' ) ) { ?>
    2121                        <div class="widget-column footer-widget-1">