adding invisible form lables to the search fields
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 20 Aug 2018 15:48:51 +0000 (11:48 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 20 Aug 2018 15:48:51 +0000 (11:48 -0400)
parts/search-oc.php
parts/search.php

index 3be7159..d61a2e6 100644 (file)
@@ -1,4 +1,5 @@
 <form role="search" method="get" id="ocSearchForm" action="<?php echo home_url('/'); ?>site-search/">
+    <label style="display: none;" for="lar-search">Search</label>
     <input class="search-input" type="text" placeholder="Search" value="" name="query" id="lar-search">
     <input type="submit" class="button" name="submit" value="Search">
 </form>
index 58dfe1f..fbe9066 100644 (file)
@@ -1,4 +1,5 @@
 <form role="search" method="get" id="topSearchForm" action="<?php echo home_url('/'); ?>site-search/">
+    <label style="display: none;" for="header-search">Search</label>
     <input class="search-input" type="text" placeholder="SEARCH" value="" name="query" id="header-search">
     <input type="submit" class="button" name="submit" value="">
 </form>