]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
fix a11y label 1323/head
authorLuce Carević <lcarevic@access42.net>
Fri, 12 Jul 2019 22:09:54 +0000 (00:09 +0200)
committerGitHub <noreply@github.com>
Fri, 12 Jul 2019 22:09:54 +0000 (00:09 +0200)
tpl/default/changetag.html

index 0da6a5ebf39aa0bf8e4db70b5db900789e089c80..ec6e0b464d66cc91e0ce02a12cf048c2249d23f4 100644 (file)
     <h2 class="window-title">{"Manage tags"|t}</h2>
     <form method="POST" action="#" name="changetag" id="changetag">
       <div>
-        <input type="text" name="fromtag" placeholder="{'Tag'|t}" value="{$fromtag}"
+        <input type="text" name="fromtag" aria-label="{'Tag'|t}" placeholder="{'Tag'|t}" value="{$fromtag}"
                list="tagsList" autocomplete="off" class="awesomplete autofocus" data-minChars="1">
         <datalist id="tagsList">
           {loop="$tags"}<option>{$key}</option>{/loop}
         </datalist>
       </div>
       <div>
-        <input type="text" name="totag" placeholder="{'New name'|t}"
+        <input type="text" name="totag" aria-label="{'New name'|t}" placeholder="{'New name'|t}"
                list="toTagsList" autocomplete="off" class="awesomplete" data-minChars="1">
         <datalist id="toTagsList">
           {loop="$tags"}<option>{$key}</option>{/loop}
         </datalist>
       </div>
-      <div><i class="fa fa-info-circle"></i> {'Case sensitive'|t}</div>
+      <div><i class="fa fa-info-circle" aria-hidden="true"></i> {'Case sensitive'|t}</div>
       <input type="hidden" name="token" value="{$token}">
       <div>
         <input type="submit" value="{'Rename'|t}" name="renametag">