Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/04/2016 02:11:28 AM (8 years ago)
Author:
mercime
Message:

Alert screen readers about new messages inserted through template_notices.

See #3263.

File:
1 edited

Legend:

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

    r11146 r11171  
    119119 * @since 1.2.0
    120120 */
    121 do_action( 'bp_after_group_header' );
     121do_action( 'bp_after_group_header' ); ?>
    122122
    123 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    124 do_action( 'template_notices' ); ?>
     123<div id="template-notices" role="alert" aria-atomic="true">
     124    <?php
     125
     126    /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     127    do_action( 'template_notices' ); ?>
     128
     129</div>
Note: See TracChangeset for help on using the changeset viewer.