Make WordPress Core


Ignore:
Timestamp:
07/25/2012 04:18:14 PM (14 years ago)
Author:
ryan
Message:

More screen reader text for list table checkboxes and theme install search. Props MikeLittle, SergeyBiryukov. see #21325

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-media-list-table.php

    r21317 r21323  
    192192                <th scope="row" class="check-column">
    193193                        <?php if ( $user_can_edit ) { ?>
    194                                 <label for="cb-select-<?php the_ID(); ?>" class="screen-reader-text"><?php echo sprintf( __( 'Select %s' ), $att_title );?></label>
     194                                <label class="screen-reader-text" for="cb-select-<?php the_ID(); ?>"><?php echo sprintf( __( 'Select %s' ), $att_title );?></label>
    195195                                <input type="checkbox" name="media[]" id="cb-select-<?php the_ID(); ?>" value="<?php the_ID(); ?>" />
    196196                        <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.