Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791

git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2009-05-12 22:40:56 +00:00
parent f3cd99df21
commit a2bf4db52b
30 changed files with 73 additions and 73 deletions

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="invisible" for="s">' . __('Search for:') . '</label>
<div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label>
<input type="text" value="' . esc_attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
<input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" />
</div>