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

git-svn-id: http://svn.automattic.com/wordpress/trunk@18166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
iandstewart 2011-06-06 14:35:30 +00:00
parent c97af65e26
commit 0a85e3f74f
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>