Skip to:
Content

BuddyPress.org

Changeset 10099


Ignore:
Timestamp:
09/12/2015 06:02:03 AM (5 years ago)
Author:
mercime
Message:

Bind label to the Remember Me checkbox.

Accessibility fix for the BuddyPress Log In Widget.

See #6617.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-widgets.php

    r10052 r10099  
    116116                <input type="password" name="pwd" id="bp-login-widget-user-pass" class="input" value="" <?php bp_form_field_attributes( 'password' ) ?> />
    117117
    118                 <div class="forgetmenot"><label><input name="rememberme" type="checkbox" id="bp-login-widget-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ); ?></label></div>
     118                <div class="forgetmenot"><label for="bp-login-widget-rememberme"><input name="rememberme" type="checkbox" id="bp-login-widget-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ); ?></label></div>
    119119
    120120                <input type="submit" name="wp-submit" id="bp-login-widget-submit" value="<?php esc_attr_e( 'Log In', 'buddypress' ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.