Skip to:
Content

BuddyPress.org


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

Accessibility: Add headings for screen readers in template files.

See #7216.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups.php

    r11128 r11129  
    5555        do_action( 'bp_before_member_groups_content' ); ?>
    5656
     57        <?php if ( is_user_logged_in() ) : ?>
     58            <h2 class="bp-screen-reader-text"><?php _e( 'My groups', 'buddypress' ); ?></h2>
     59        <?php else : ?>
     60            <h2 class="bp-screen-reader-text"><?php _e( 'Member\'s groups', 'buddypress' ); ?></h2>
     61        <?php endif; ?>
     62
    5763        <div class="groups mygroups">
    5864
Note: See TracChangeset for help on using the changeset viewer.