Ticket #3263: 3263-aria-live-backend.patch
File 3263-aria-live-backend.patch, 2.5 KB (added by , 9 years ago) |
---|
-
src/bp-xprofile/bp-xprofile-admin.php
113 113 114 114 <?php endif; ?> 115 115 116 <div id="tabs" >116 <div id="tabs" aria-live="polite" aria-atomic="true" aria-relevant="all"> 117 117 <ul id="field-group-tabs"> 118 118 119 119 <?php if ( !empty( $groups ) ) : foreach ( $groups as $group ) : ?> … … 183 183 184 184 <?php endif; ?> 185 185 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"> 187 187 <legend class="screen-reader-text"><?php 188 188 /** This filter is documented in bp-xprofile/bp-xprofile-template.php */ 189 189 /* translators: accessibility text */ -
src/bp-xprofile/classes/class-bp-xprofile-field-type.php
322 322 323 323 <div id="<?php echo esc_attr( $type ); ?>" class="postbox bp-options-box" style="<?php echo esc_attr( $class ); ?> margin-top: 15px;"> 324 324 <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"> 326 326 <p> 327 327 <label for="sort_order_<?php echo esc_attr( $type ); ?>"><?php esc_html_e( 'Sort Order:', 'buddypress' ); ?></label> 328 328 <select name="sort_order_<?php echo esc_attr( $type ); ?>" id="sort_order_<?php echo esc_attr( $type ); ?>" > -
src/bp-xprofile/classes/class-bp-xprofile-field.php
1524 1524 1525 1525 <div class="postbox"> 1526 1526 <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"> 1528 1528 <select name="fieldtype" id="fieldtype" onchange="show_options(this.value)"> 1529 1529 1530 1530 <?php bp_xprofile_admin_form_field_types( $this->type ); ?>