projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a49e4e4
)
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 08:51:33 +0000
(10:51 +0200)
Mark the dummy input field as aria-hidden, should fix #2063.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
98d4eb1695ae5723cd7bd785d18284e633e26cc8
)
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 -%>