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:
parent
d0181f27d8
commit
7ef9c84f9a
|
@ -8,6 +8,7 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<form method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
|
<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="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' ); ?>" />
|
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue