aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLuce Carević <lcarevic@access42.net>2018-11-30 20:39:13 +0100
committerGitHub <noreply@github.com>2018-11-30 20:39:13 +0100
commit0c42c5e3597215949a8c374802f8f25be485f267 (patch)
treebd9db747770b95ad9ac7b351d86ad4f7b5ab7f4c
parentd53d9d01f79999fe4bf193c530872aff72cb00cc (diff)
downloadShaarli-0c42c5e3597215949a8c374802f8f25be485f267.tar.gz
Shaarli-0c42c5e3597215949a8c374802f8f25be485f267.tar.zst
Shaarli-0c42c5e3597215949a8c374802f8f25be485f267.zip
add label to form - accessibility issue
Don't use placeholder instead of label for form input.
-rw-r--r--tpl/default/addlink.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/default/addlink.html b/tpl/default/addlink.html
index 2f956e06..55864a02 100644
--- a/tpl/default/addlink.html
+++ b/tpl/default/addlink.html
@@ -11,7 +11,8 @@
11 <h2 class="window-title">{"Shaare a new link"|t}</h2> 11 <h2 class="window-title">{"Shaare a new link"|t}</h2>
12 <form method="GET" action="#" name="addform" class="addform"> 12 <form method="GET" action="#" name="addform" class="addform">
13 <div> 13 <div>
14 <input type="text" name="post" placeholder="{'URL or leave empty to post a note'|t}" class="autofocus"> 14 <label for="shaare">{'URL or leave empty to post a note'|t}</label>
15 <input type="text" name="post" id="shaare" class="autofocus">
15 </div> 16 </div>
16 <div> 17 <div>
17 <input type="submit" value="{'Add link'|t}"> 18 <input type="submit" value="{'Add link'|t}">