fix(searchform): add a label

This commit is contained in:
Kazhnuz Klappsthul 2023-05-21 15:56:20 +02:00
parent 7e78f6f0c2
commit dd45841a64
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
<div>
<input class="form-control" type="search" placeholder="Chercher sur le site" aria-label="Chercher sur le site" value="<?php the_search_query(); ?>" name="s" id="s" />
<label for="searchfield" class="sr-only">Formulaire de recherche</label>
<input class="form-control" id="searchfield" type="search" placeholder="Chercher sur le site" aria-label="Chercher sur le site" value="<?php the_search_query(); ?>" name="s" id="s" />
</div>
</form>