]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/addlink.html
add label to form - accessibility issue
[github/shaarli/Shaarli.git] / tpl / default / addlink.html
index 2f956e061bc30534a1f15cbaa2087e2a51da9c3d..55864a023947c201ad09fd32754452f45bb02c6d 100644 (file)
@@ -11,7 +11,8 @@
     <h2 class="window-title">{"Shaare a new link"|t}</h2>
     <form method="GET" action="#" name="addform" class="addform">
       <div>
-        <input type="text" name="post" placeholder="{'URL or leave empty to post a note'|t}" class="autofocus">
+        <label for="shaare">{'URL or leave empty to post a note'|t}</label>
+        <input type="text" name="post" id="shaare" class="autofocus">
       </div>
       <div>
         <input type="submit" value="{'Add link'|t}">