Skip to:
Content

BuddyPress.org

Changeset 11127


Ignore:
Timestamp:
09/21/2016 07:57:37 AM (7 years ago)
Author:
mercime
Message:

Accessibility: live regions for back-end template admin screens.

Fixes #7222.

Location:
trunk/src/bp-xprofile
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-admin.php

    r11062 r11127  
    114114            <?php endif; ?>
    115115
    116             <div id="tabs">
     116            <div id="tabs" aria-live="polite" aria-atomic="true" aria-relevant="all">
    117117                <ul id="field-group-tabs">
    118118
     
    184184                        <?php endif; ?>
    185185
    186                         <fieldset id="<?php echo esc_attr( $group->id ); ?>" class="connectedSortable field-group">
     186                        <fieldset id="<?php echo esc_attr( $group->id ); ?>" class="connectedSortable field-group" aria-live="polite" aria-atomic="true" aria-relevant="all">
    187187                            <legend class="screen-reader-text"><?php
    188188                            /** This filter is documented in bp-xprofile/bp-xprofile-template.php */
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type.php

    r11041 r11127  
    323323        <div id="<?php echo esc_attr( $type ); ?>" class="postbox bp-options-box" style="<?php echo esc_attr( $class ); ?> margin-top: 15px;">
    324324            <h3><?php esc_html_e( 'Please enter options for this Field:', 'buddypress' ); ?></h3>
    325             <div class="inside">
     325            <div class="inside" aria-live="polite" aria-atomic="true" aria-relevant="all">
    326326                <p>
    327327                    <label for="sort_order_<?php echo esc_attr( $type ); ?>"><?php esc_html_e( 'Sort Order:', 'buddypress' ); ?></label>
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php

    r11079 r11127  
    15251525        <div class="postbox">
    15261526            <h2><label for="fieldtype"><?php esc_html_e( 'Type', 'buddypress'); ?></label></h2>
    1527             <div class="inside">
     1527            <div class="inside" aria-live="polite" aria-atomic="true" aria-relevant="all">
    15281528                <select name="fieldtype" id="fieldtype" onchange="show_options(this.value)">
    15291529
Note: See TracChangeset for help on using the changeset viewer.