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:
Ryan Boren
2009-04-16 16:42:32 +00:00
parent db7cd782cf
commit eef293ff04
9 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -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')).'" />