Skip to:
Content

BuddyPress.org

Changeset 10250


Ignore:
Timestamp:
10/11/2015 06:31:14 PM (9 years ago)
Author:
mercime
Message:

Move label texts for screen readers after the checkbox fields.

The label of a checkbox field is part of the control and should
be positioned to the right of the input where it normally expected
to be read by assistive technologies.

Fixes #6618.

Location:
trunk/src/bp-templates/bp-legacy/buddypress/members/single
Files:
2 edited

Legend:

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

    r10181 r10250  
    5252            <thead>
    5353                <tr>
    54                     <th scope="col" class="thread-checkbox bulk-select-all"><label class="bp-screen-reader-text" for="select-all-messages"><?php _e( 'Select all', 'buddypress' ); ?></label><input id="select-all-messages" type="checkbox"></th>
     54                    <th scope="col" class="thread-checkbox bulk-select-all"><input id="select-all-messages" type="checkbox"><label class="bp-screen-reader-text" for="select-all-messages"><?php _e( 'Select all', 'buddypress' ); ?></label></th>
    5555                    <th scope="col" class="thread-from"><?php _e( 'From', 'buddypress' ); ?></th>
    5656                    <th scope="col" class="thread-info"><?php _e( 'Subject', 'buddypress' ); ?></th>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/notifications-loop.php

    r10181 r10250  
    1313            <tr>
    1414                <th class="icon"></th>
    15                 <th class="bulk-select-all"><label class="bp-screen-reader-text" for="select-all-notifications"><?php _e( 'Select all', 'buddypress' ); ?></label><input id="select-all-notifications" type="checkbox"></th>
     15                <th class="bulk-select-all"><input id="select-all-notifications" type="checkbox"><label class="bp-screen-reader-text" for="select-all-notifications"><?php _e( 'Select all', 'buddypress' ); ?></label></th>
    1616                <th class="title"><?php _e( 'Notification', 'buddypress' ); ?></th>
    1717                <th class="date"><?php _e( 'Date Received', 'buddypress' ); ?></th>
Note: See TracChangeset for help on using the changeset viewer.