WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/12/2009 10:40:56 PM (12 years ago)
Author:
markjaquith
Message:

Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r11204 r11312  
    291291<form class="search-form" action="" method="get">
    292292<p class="search-box">
    293     <label class="invisible" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label>
     293    <label class="screen-reader-text" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label>
    294294    <input type="text" id="user-search-input" name="usersearch" value="<?php echo esc_attr($wp_user_search->search_term); ?>" />
    295295    <input type="submit" value="<?php esc_attr_e( 'Search Users' ); ?>" class="button" />
     
    310310</select>
    311311<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
    312 <label class="invisible" for="new_role"><?php _e('Change role to&hellip;') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option><?php wp_dropdown_roles(); ?></select>
     312<label class="screen-reader-text" for="new_role"><?php _e('Change role to&hellip;') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option><?php wp_dropdown_roles(); ?></select>
    313313<input type="submit" value="<?php esc_attr_e('Change'); ?>" name="changeit" class="button-secondary" />
    314314<?php wp_nonce_field('bulk-users'); ?>
Note: See TracChangeset for help on using the changeset viewer.