apps/duckduckgo: fix accessibility problems
reported by WAVE: https://wave.webaim.org
This commit is contained in:
parent
463eaa384e
commit
9b82eedfd6
2 changed files with 4 additions and 3 deletions
|
|
@ -19,9 +19,10 @@ fn duckduckgo_init {
|
||||||
fn duckduckgo_body {
|
fn duckduckgo_body {
|
||||||
echo '
|
echo '
|
||||||
<h1>Site search</h1>
|
<h1>Site search</h1>
|
||||||
<h3>using DuckDuckGo</h3>
|
<h2>using DuckDuckGo</h2>
|
||||||
<form action="/_search/" method="POST">
|
<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">
|
<input type="submit" value="Search">
|
||||||
</form>'
|
</form>'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
<div><a href="http://werc.cat-v.org">Powered by werc</a></div>
|
<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…
Add table
Add a link
Reference in a new issue