Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 06:31:14 PM (10 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.

File:
1 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>
Note: See TracChangeset for help on using the changeset viewer.