Make WordPress Core


Ignore:
Timestamp:
05/12/2009 10:40:56 PM (15 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/edit.php

    r11204 r11312  
    165165
    166166<p class="search-box">
    167     <label class="invisible" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
     167    <label class="screen-reader-text" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
    168168    <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
    169169    <input type="submit" value="<?php esc_attr_e( 'Search Posts' ); ?>" class="button" />
Note: See TracChangeset for help on using the changeset viewer.