Add aria-label to search inputs
References: https://todo.sr.ht/~cadence/tube/46
This commit is contained in:
parent
b9f703086f
commit
5a5901db7d
|
@ -11,5 +11,5 @@ block content
|
|||
p You're in control. Watch things your way.
|
||||
p Go on. What do you want to watch?
|
||||
form(method="get" action="/search").encouraging-search-form
|
||||
input(type="text" name="q" placeholder="I'd like to watch..." autocomplete="off" autofocus=!mobile).search.base-border-look
|
||||
input(type="text" name="q" placeholder="I'd like to watch..." aria-label="Search a video" autocomplete="off" autofocus=!mobile).search.base-border-look
|
||||
p: a(href="/cant-think") ...can't think of anything?
|
||||
|
|
|
@ -23,7 +23,7 @@ html
|
|||
image(href=getStaticURL("html", "/static/images/settings.svg") alt="Settings.").icon
|
||||
title Settings
|
||||
form(method="get" action="/search").search-form
|
||||
input(type="text" placeholder="Search" name="q" autocomplete="off" value=query).search
|
||||
input(type="text" placeholder="Search" aria-label="Search a video" name="q" autocomplete="off" value=query).search
|
||||
|
||||
div
|
||||
block content
|
||||
|
|
Loading…
Reference in New Issue