Skip to:
Content

BuddyPress.org

Changeset 10085


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

Add label tags for Activity post form controls.

Accessibility fix which adds label tags for textarea and select fields
in the Activity status update form for logged in users.

See #6531.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/post-form.php

    r9819 r10085  
    3535    <div id="whats-new-content">
    3636        <div id="whats-new-textarea">
     37            <label for="whats-new" class="bp-screen-reader-text"><?php _e( 'Post what\'s new', 'buddypress' ); ?></label>
    3738            <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"
    3839                <?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?>
     
    5152                    <?php _e( 'Post in', 'buddypress' ); ?>:
    5253
     54                    <label for="whats-new-post-in" class="bp-screen-reader-text"><?php _e( 'Post in', 'buddypress' ); ?></label>
    5355                    <select id="whats-new-post-in" name="whats-new-post-in">
    5456                        <option selected="selected" value="0"><?php _e( 'My Profile', 'buddypress' ); ?></option>
Note: See TracChangeset for help on using the changeset viewer.