Merge pull request #776 from IanDelMar/patch-1
searchform.php replace assistive-text by sr-only
This commit is contained in:
commit
186065401b
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
|
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
|
||||||
<label class="assistive-text" for="s"><?php esc_html_e( 'Search', 'understrap' ); ?></label>
|
<label class="sr-only" for="s"><?php esc_html_e( 'Search', 'understrap' ); ?></label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input class="field form-control" id="s" name="s" type="text"
|
<input class="field form-control" id="s" name="s" type="text"
|
||||||
placeholder="<?php esc_attr_e( 'Search …', 'understrap' ); ?>" value="<?php the_search_query(); ?>">
|
placeholder="<?php esc_attr_e( 'Search …', 'understrap' ); ?>" value="<?php the_search_query(); ?>">
|
||||||
|
|
Reference in New Issue