1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 17:26:43 +00:00

Merge pull request #3001 from scottaohara/patch-1

fix broken accessibility for search field
This commit is contained in:
daniel 2021-11-10 22:05:21 -07:00 committed by GitHub
commit 8a0ba77867
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,8 +8,8 @@
<div class="collapse navbar-collapse"> <div class="collapse navbar-collapse">
@auth @auth
<div class="navbar-nav d-none d-md-block mx-auto"> <div class="navbar-nav d-none d-md-block mx-auto">
<form class="form-inline search-bar" method="get" action="/i/results"> <form class="form-inline search-bar" method="get" action="/i/results" role="search">
<input class="form-control form-control-sm rounded-pill bg-light" name="q" placeholder="{{__('navmenu.search')}}" aria-label="search" autocomplete="off" required style="line-height: 0.6;width:200px" role="search"> <input class="form-control form-control-sm rounded-pill bg-light" name="q" placeholder="{{__('navmenu.search')}}" aria-label="search" autocomplete="off" required style="line-height: 0.6;width:200px">
</form> </form>
</div> </div>
@endauth @endauth