Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added 'search' ARIA role on searchform.php

http://www.w3.org/TR/wai-aria/roles#search
Signed-off-by: Brett Taylor <brett@webfroot.co.nz>

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8954 d957f892-c61d-0410-b221-f235e6eecf30
  • Loading branch information...
commit 4c4c3e6d3bf5ba02cd715a6af18269edf3d7fca3 1 parent 32cdefb
@ianstewart ianstewart authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  searchform.php
View
2  searchform.php
@@ -6,7 +6,7 @@
* @since _s 1.0
*/
?>
- <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
+ <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
<label for="s" class="assistive-text"><?php _e( 'Search', '_s' ); ?></label>
<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search &hellip;', '_s' ); ?>" />
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', '_s' ); ?>" />
Please sign in to comment.
Something went wrong with that request. Please try again.