Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/04/2016 02:11:28 AM (7 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/group-header.php

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