projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18805b8
)
luci-base: mark password template dummy field as hidden
author
Jo-Philipp Wich
<jo@mein.io>
Thu, 16 Aug 2018 07:36:37 +0000
(09:36 +0200)
committer
Jo-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
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/view/cbi/value.htm
b/modules/luci-base/luasrc/view/cbi/value.htm
index 942ab72e773dfe3ceb901c998d17721177b7630c..24fb428e65649f2fb75f3570ba07f3a1bb24a764 100644
(file)
--- 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 -%>