Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

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

    r10904 r11171  
    3333    <?php endif; ?>
    3434
    35     <?php
    36 
    37     /**
    38      * Fires towards the top of template pages for notice display.
    39      *
    40      * @since 1.0.0
    41      */
    42     do_action( 'template_notices' ); ?>
    43 
    44     <div class="item-list-tabs activity-type-tabs" role="navigation">
     35    <div id="template-notices" role="alert" aria-atomic="true">
     36        <?php
     37
     38        /**
     39         * Fires towards the top of template pages for notice display.
     40         *
     41         * @since 1.0.0
     42         */
     43        do_action( 'template_notices' ); ?>
     44
     45    </div>
     46
     47    <div class="item-list-tabs activity-type-tabs" aria-label="<?php esc_attr_e( 'Sitewide activities navigation', 'buddypress' ); ?>" role="navigation">
    4548        <ul>
    4649            <?php
     
    138141    </div><!-- .item-list-tabs -->
    139142
    140     <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
     143    <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Activity secondary navigation', 'buddypress' ); ?>" role="navigation">
    141144        <ul>
    142145            <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>
     
    181184    do_action( 'bp_before_directory_activity_list' ); ?>
    182185
    183     <div class="activity">
     186    <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all">
    184187
    185188        <?php bp_get_template_part( 'activity/activity-loop' ); ?>
Note: See TracChangeset for help on using the changeset viewer.