luci-base: mark password template dummy field as hidden
authorJo-Philipp Wich <jo@mein.io>
Thu, 16 Aug 2018 07:36:37 +0000 (09:36 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Aug 2018 07:36:37 +0000 (09:36 +0200)
Mark the dummy input field as aria-hidden, should fix #2063.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/view/cbi/value.htm

index 942ab72e773dfe3ceb901c998d17721177b7630c..24fb428e65649f2fb75f3570ba07f3a1bb24a764 100644 (file)
@@ -1,6 +1,6 @@
 <%+cbi/valueheader%>
        <%- if self.password then -%>
-               <input type="password" style="position:absolute; left:-1000px"<%=
+               <input type="password" style="position:absolute; left:-1000px" aria-hidden="true"<%=
                        attr("name", "password." .. cbid)
                %> />
        <%- end -%>