Associate lables with form fields. Fixes #6859 props MarcoZ.

git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi
2008-05-04 10:37:06 +00:00
parent 7623315990
commit 3cbcbbbfb4
39 changed files with 192 additions and 166 deletions

View File

@@ -116,6 +116,7 @@ endif;
?>
<p id="post-search">
<label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
<input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
<input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" />
</p>