Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/21/2016 08:39:08 AM (8 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/members/index.php

    r11048 r11128  
    5757    <form action="" method="post" id="members-directory-form" class="dir-form">
    5858
    59         <div class="item-list-tabs" role="navigation">
     59        <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Members directory main navigation', 'buddypress' ); ?>" role="navigation">
    6060            <ul>
    6161                <li class="selected" id="members-all"><a href="<?php bp_members_directory_permalink(); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li>
     
    7777        </div><!-- .item-list-tabs -->
    7878
    79         <div class="item-list-tabs" id="subnav" role="navigation">
    80             <ul>
     79        <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Members directory secondary navigation', 'buddypress' ); ?>" role="navigation">
    8180                <?php
    8281
Note: See TracChangeset for help on using the changeset viewer.