Form/Search Box Label
-
The Search form is throwing an ADA compliance error, and I can’t get <label> to have any effect in searchform.php, which is where I think the label is supposed to go.
Current code is:
<form action=”<?php echo esc_url( get_site_url() );?>” method=”get” class=”search-form”>
<input type=”text” name=”s” id=”s” value=”<?php the_search_query(); ?>” class=”keyword”/>
<button type=”submit” class=”button”><i class=”flora-icon-search”></i></button>
</form>And I’ve added <label for=”s”>Search this website…</label> in every possible spot.
Does anyone know how to resolve this issue?
Thanks in advance,
MichaelThe page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Form/Search Box Label’ is closed to new replies.