luci-base: mark password template dummy field as hidden

Mark the dummy input field as aria-hidden, should fix #2063.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-08-16 09:36:37 +02:00
parent 18805b896a
commit 98d4eb1695

View 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 -%>