Twenty Eleven: Add a hidden label for search forms; See #17524

git-svn-id: https://develop.svn.wordpress.org/trunk@18166 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2011-06-06 14:35:30 +00:00
parent d0181f27d8
commit 7ef9c84f9a
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
*/
?>
<form method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
<label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label>
<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
</form>