Skip to:
Content

Ignore:
Timestamp:
09/21/2016 08:39:08 AM (3 years ago)
Author:
mercime
Message:

Accessibility: Differentiate navigation landmarks for screen readers.

Fixes #7256.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/index.php

    r11126 r11128  
    4242    do_action( 'template_notices' ); ?>
    4343
    44     <div class="item-list-tabs activity-type-tabs" role="navigation">
     44    <div class="item-list-tabs activity-type-tabs" aria-label="<?php esc_attr_e( 'Sitewide activities navigation', 'buddypress' ); ?>" role="navigation">
    4545        <ul>
    4646            <?php
     
    138138    </div><!-- .item-list-tabs -->
    139139
    140     <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
     140    <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Activity secondary navigation', 'buddypress' ); ?>" role="navigation">
    141141        <ul>
    142142            <li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li>
Note: See TracChangeset for help on using the changeset viewer.