summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-08-16 09:36:37 +0200
committerJo-Philipp Wich <jo@mein.io>2018-08-16 09:36:37 +0200
commit98d4eb1695ae5723cd7bd785d18284e633e26cc8 (patch)
treee0cb3f7dab34a85e9e4eb0df8b5b9c4e31df9f06 /modules/luci-base/luasrc/view
parent18805b896a7a5b5cf7c46f55ec8476daaf188358 (diff)
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>
Diffstat (limited to 'modules/luci-base/luasrc/view')
-rw-r--r--modules/luci-base/luasrc/view/cbi/value.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/value.htm b/modules/luci-base/luasrc/view/cbi/value.htm
index 942ab72e7..24fb428e6 100644
--- a/modules/luci-base/luasrc/view/cbi/value.htm
+++ b/modules/luci-base/luasrc/view/cbi/value.htm
@@ -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 -%>