Ticket #17524: 18135-searchform-label.diff
File 18135-searchform-label.diff, 705 bytes (added by , 14 years ago) |
---|
-
wp-content/themes/twentyeleven/searchform.php
8 8 */ 9 9 ?> 10 10 <form method="get" id="searchform" action="<?php echo home_url( '/' ); ?>"> 11 <label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label> 11 12 <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" /> 12 13 <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" /> 13 14 </form>