Browse Source

some changes for screen-readers

joel
Simon Bowie 1 year ago
parent
commit
8124a1fcf5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      web/app/templates/base.html

+ 2
- 2
web/app/templates/base.html View File

@@ -118,8 +118,8 @@
</div> -->

<form action="{{ url_for('search.basic_search') }}" class="hidden lg:block">
<label for="siteSearch" class="sr-only">Search</label>
<input type="text" name="query" class="text-center h-full text-base border-l-2 border-black pl-1"
<label id="search-label" for="siteSearch" class="sr-only">Search</label>
<input type="text" name="query" class="text-center h-full text-base border-l-2 border-black pl-1" aria-labelledby="search-label"
placeholder="Search">
<input class="hidden" type="submit" value="Enter search" hidden />
</form>

Loading…
Cancel
Save