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/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.