Twenty Seventeen: Add missing labels for <aside role="complementary"> widget areas.

Props sami.keijonen.
Fixes #42056.

git-svn-id: https://develop.svn.wordpress.org/trunk@41687 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-10-02 22:03:10 +00:00
parent dd33fc9301
commit 2669a8f16e
2 changed files with 2 additions and 2 deletions

View File

@ -15,6 +15,6 @@ if ( ! is_active_sidebar( 'sidebar-1' ) ) {
}
?>
<aside id="secondary" class="widget-area" role="complementary">
<aside id="secondary" class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Blog Sidebar', 'twentyseventeen' ); ?>">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- #secondary -->

View File

@ -15,7 +15,7 @@ if ( is_active_sidebar( 'sidebar-2' ) ||
is_active_sidebar( 'sidebar-3' ) ) :
?>
<aside class="widget-area" role="complementary">
<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentyseventeen' ); ?>">
<?php
if ( is_active_sidebar( 'sidebar-2' ) ) { ?>
<div class="widget-column footer-widget-1">