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

Props sami.keijonen.
Fixes #42056.
Built from https://develop.svn.wordpress.org/trunk@41687


git-svn-id: http://core.svn.wordpress.org/trunk@41521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-10-02 22:04:46 +00:00
parent 9fdbe6538e
commit c5c5fb1cd3
3 changed files with 3 additions and 3 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">

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41686';
$wp_version = '4.9-alpha-41687';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.