mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -461,6 +461,7 @@ function wp_widget_search($args) {
|
||||
<?php echo $before_widget; ?>
|
||||
<form id="searchform" method="get" action="<?php bloginfo('home'); ?>">
|
||||
<div>
|
||||
<label class="hidden" for="s"><?php _e('Search for:'); ?></label>
|
||||
<input type="text" name="s" id="s" size="15" /><br />
|
||||
<input type="submit" value="<?php echo attribute_escape(__('Search')); ?>" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user