Skip to:
Content

BuddyPress.org

Changeset 10084


Ignore:
Timestamp:
09/01/2015 09:22:07 PM (4 years ago)
Author:
mercime
Message:

Add label and 'id' in Activity admin screen.

Accessibility fix adds a label tag and 'id' attribute for the select
field in the Activity admin screen.

See #6532.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r10077 r10084  
    13931393
    13941394        <div class="alignleft actions">
    1395             <select name="activity_type">
     1395            <label for="activity-type" class="screen-reader-text"><?php _e( 'Filter by activity type', 'buddypress' ); ?></label>
     1396            <select name="activity_type" id="activity-type">
    13961397                <option value="" <?php selected( ! $selected ); ?>><?php _e( 'View all actions', 'buddypress' ); ?></option>
    13971398
Note: See TracChangeset for help on using the changeset viewer.