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

    r11245 r11312  
    210210<form class="search-form" action="" method="get">
    211211<p class="search-box">
    212     <label class="invisible" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label>
     212    <label class="screen-reader-text" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label>
    213213    <input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
    214214    <input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" />
Note: See TracChangeset for help on using the changeset viewer.