Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

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

    r10150 r11166  
    99?>
    1010
    11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
     11<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
    1212    <ul>
    1313
     
    3737         */
    3838        do_action( 'bp_before_member_messages_content' ); ?>
     39
     40        <?php if ( bp_is_messages_inbox() ) : ?>
     41            <h2 class="bp-screen-reader-text"><?php
     42                /* translators: accessibility text */
     43                _e( 'Messages inbox', 'buddypress' );
     44            ?></h2>
     45        <?php elseif ( bp_is_messages_sentbox() ) : ?>
     46            <h2 class="bp-screen-reader-text"><?php
     47                /* translators: accessibility text */
     48                _e( 'Sent Messages', 'buddypress' );
     49            ?></h2>
     50        <?php endif; ?>
    3951
    4052        <div class="messages">
     
    7284        do_action( 'bp_before_member_messages_content' ); ?>
    7385
     86        <h2 class="bp-screen-reader-text"><?php
     87            /* translators: accessibility text */
     88            _e( 'Sitewide Notices', 'buddypress' );
     89        ?></h2>
     90
    7491        <div class="messages">
    7592            <?php bp_get_template_part( 'members/single/messages/notices-loop' ); ?>
Note: See TracChangeset for help on using the changeset viewer.