apps/duckduckgo: fix accessibility problems
reported by WAVE: https://wave.webaim.org
This commit is contained in:
parent
1ef0fdb99f
commit
e5a466b8c5
@ -19,9 +19,10 @@ fn duckduckgo_init {
|
||||
fn duckduckgo_body {
|
||||
echo '
|
||||
<h1>Site search</h1>
|
||||
<h3>using DuckDuckGo</h3>
|
||||
<h2>using DuckDuckGo</h2>
|
||||
<form action="/_search/" method="POST">
|
||||
<input type="text" name="q" placeholder="Search text...">
|
||||
<label for="searchtext">Site search:</label>
|
||||
<input type="text" id="searchtext" name="q" placeholder="Search text...">
|
||||
<input type="submit" value="Search">
|
||||
</form>'
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
<div><a href="http://werc.cat-v.org">Powered by werc</a></div>
|
||||
|
||||
<div><form action="/_search/" method="POST"><input type="text" name="q" placeholder="Site search..."><input type="submit" display="Search"></form></div>
|
||||
<div><form action="/_search/" method="POST"><label for="searchtext">Site search:</label> <input type="text" id="searchtext" name="q" placeholder="Enter search text..."><input type="submit" display="Search"></form></div>
|
||||
|
Loading…
Reference in New Issue
Block a user