WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/02/2017 10:03:10 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Props sami.keijonen.
Fixes #42056.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/sidebar.php

    r38833 r41687  
    1616?>
    1717
    18 <aside id="secondary" class="widget-area" role="complementary">
     18<aside id="secondary" class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Blog Sidebar', 'twentyseventeen' ); ?>">
    1919    <?php dynamic_sidebar( 'sidebar-1' ); ?>
    2020</aside><!-- #secondary -->
Note: See TracChangeset for help on using the changeset viewer.