Skip to:
Content

BuddyPress.org

Changeset 10086


Ignore:
Timestamp:
09/01/2015 09:25:54 PM (9 years ago)
Author:
mercime
Message:

Add label for checkbox in Messages > Compose.

Accessibility fix adds label tag for checkbox input field to send the
notice to all users in the Messages > Compose screen.

See #6531.

Location:
trunk/src/bp-templates/bp-legacy
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php

    r10078 r10086  
    1919
    2020    <?php if ( bp_current_user_can( 'bp_moderate' ) ) : ?>
    21         <input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", "buddypress" ); ?>
     21        <p><label for="send-notice"><input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", "buddypress" ); ?></label></p>
    2222    <?php endif; ?>
    2323
  • trunk/src/bp-templates/bp-legacy/css/buddypress-rtl.css

    r10045 r10086  
    656656    width: auto;
    657657}
     658#buddypress .standard-form p label {
     659    font-weight: normal;
     660    margin: auto;
     661}
    658662#buddypress .standard-form div.checkbox label:nth-child(n+2),
    659663#buddypress .standard-form div.radio div label {
  • trunk/src/bp-templates/bp-legacy/css/buddypress.css

    r10045 r10086  
    656656    width: auto;
    657657}
     658#buddypress .standard-form p label {
     659    font-weight: normal;
     660    margin: auto;
     661}
    658662#buddypress .standard-form div.checkbox label:nth-child(n+2),
    659663#buddypress .standard-form div.radio div label {
Note: See TracChangeset for help on using the changeset viewer.