Use invisible class for hiding labels and legends.

git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-05-04 21:28:58 +00:00
parent 1504303718
commit 4a047f4240
27 changed files with 68 additions and 67 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ function get_search_form() {
return;
$form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" >
<div><label class="hidden" for="s">' . __('Search for:') . '</label>
<div><label class="invisible" for="s">' . __('Search for:') . '</label>
<input type="text" value="' . attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
<input type="submit" id="searchsubmit" value="'. _a('Search') .'" />
</div>