Skip to:
Content

bbPress.org

Changeset 6836


Ignore:
Timestamp:
07/15/2018 11:17:57 AM (15 months ago)
Author:
netweb
Message:

BuddyPress: Add a for attribute to the new forum form label improving accessibility

Props mercime.
Fixes #3208.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/groups.php

    r6808 r6836  
    540540
    541541        <div class="checkbox">
    542             <label><input type="checkbox" name="bbp-create-group-forum" id="bbp-create-group-forum" value="1"<?php checked( $checked ); ?> /> <?php esc_html_e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label>
     542            <label for="bbp-create-group-forum"><input type="checkbox" name="bbp-create-group-forum" id="bbp-create-group-forum" value="1"<?php checked( $checked ); ?> /> <?php esc_html_e( 'Yes. I want this group to have a forum.', 'bbpress' ); ?></label>
    543543        </div>
    544544
Note: See TracChangeset for help on using the changeset viewer.