mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Add WAI-ARIA landmark roles to default theme. Props peterkz. fixes #9408
git-svn-id: https://develop.svn.wordpress.org/trunk@10945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -118,7 +118,7 @@ function get_search_form() {
|
||||
if ( '' != locate_template(array('searchform.php'), true) )
|
||||
return;
|
||||
|
||||
$form = '<form method="get" id="searchform" action="' . get_option('home') . '/" >
|
||||
$form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" >
|
||||
<div><label class="hidden" for="s">' . __('Search for:') . '</label>
|
||||
<input type="text" value="' . attribute_escape(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
|
||||
<input type="submit" id="searchsubmit" value="'.attribute_escape(__('Search')).'" />
|
||||
|
||||
Reference in New Issue
Block a user