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:
parent
dd33fc9301
commit
2669a8f16e
@ -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 -->
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user