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/groups/index.php

    r11048 r11128  
    5454        do_action( 'template_notices' ); ?>
    5555
    56         <div class="item-list-tabs" role="navigation">
     56        <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Groups directory main navigation' ); ?>">
    5757            <ul>
    5858                <li class="selected" id="groups-all"><a href="<?php bp_groups_directory_permalink(); ?>"><?php printf( __( 'All Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count() . '</span>' ); ?></a></li>
     
    7474        </div><!-- .item-list-tabs -->
    7575
    76         <div class="item-list-tabs" id="subnav" role="navigation">
     76        <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Groups directory secondary navigation', 'buddypress' ); ?>" role="navigation">
    7777            <ul>
    7878                <?php
Note: See TracChangeset for help on using the changeset viewer.