Skip to:
Content

BuddyPress.org

Ticket #7546: 7546.patch

File 7546.patch, 1.8 KB (added by mercime, 8 years ago)
  • src/bp-templates/bp-legacy/buddypress/members/single/settings/general.php

     
    2727        <input type="email" name="email" id="email" value="<?php echo bp_get_displayed_user_email(); ?>" class="settings-input" <?php bp_form_field_attributes( 'email' ); ?>/>
    2828
    2929        <label for="pass1"><?php _e( 'Change Password <span>(leave blank for no change)</span>', 'buddypress' ); ?></label>
    30         <input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small password-entry" <?php bp_form_field_attributes( 'password' ); ?>/> &nbsp;<?php _e( 'New Password', 'buddypress' ); ?><br />
     30        <input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small password-entry" aria-describedby="change-new-password" <?php bp_form_field_attributes( 'password' ); ?>/>
     31        <span id="change-new-password"><?php _e( 'New Password', 'buddypress' ); ?></span>
    3132        <div id="pass-strength-result"></div>
    32         <label for="pass2" class="bp-screen-reader-text"><?php
    33                 /* translators: accessibility text */
    34                 _e( 'Repeat New Password', 'buddypress' );
     33        <label for="pass2"><?php _e( 'Repeat New Password', 'buddypress' );
    3534        ?></label>
    36         <input type="password" name="pass2" id="pass2" size="16" value="" class="settings-input small password-entry-confirm" <?php bp_form_field_attributes( 'password' ); ?>/> &nbsp;<?php _e( 'Repeat New Password', 'buddypress' ); ?>
     35        <input type="password" name="pass2" id="pass2" size="16" value="" class="settings-input small password-entry-confirm" <?php bp_form_field_attributes( 'password' ); ?>/>
    3736
    3837        <?php
    3938