Skip to:
Content

BuddyPress.org

Changeset 10088


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

Add label for checkbox in all Notifications.

Accessibility fix adds label tag for every checkbox form control generated
in the Notifications screens.

See #6531.

File:
1 edited

Legend:

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

    r9819 r10088  
    1717                <tr>
    1818                    <td></td>
    19                     <td class="bulk-select-check"><input id="<?php bp_the_notification_id(); ?>" type="checkbox" name="notifications[]" value="<?php bp_the_notification_id(); ?>" class="notification-check"></td>
     19                    <td class="bulk-select-check"><label for="<?php bp_the_notification_id(); ?>"><input id="<?php bp_the_notification_id(); ?>" type="checkbox" name="notifications[]" value="<?php bp_the_notification_id(); ?>" class="notification-check"><span class="bp-screen-reader-text"><?php _e( 'Select this notification', 'buddypress' ); ?></span></label></td>
    2020                    <td class="notification-description"><?php bp_the_notification_description();  ?></td>
    2121                    <td class="notification-since"><?php bp_the_notification_time_since();   ?></td>
Note: See TracChangeset for help on using the changeset viewer.