forked from mirror/_s
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>
This commit is contained in:
parent
32cdefb9ac
commit
251dde5ade
|
@ -6,7 +6,7 @@
|
||||||
* @since _s 1.0
|
* @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>
|
<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 …', '_s' ); ?>" />
|
<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search …', '_s' ); ?>" />
|
||||||
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', '_s' ); ?>" />
|
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', '_s' ); ?>" />
|
||||||
|
|
Reference in New Issue