Skip to content

Commit

Permalink
fix aria-hidden and tabindex
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Oct 12, 2021
1 parent dd5a4fd commit 8d3ee39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/templates/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,9 +996,9 @@ func disableFormAutofill() template.HTML {
and these dummy form values won't be used by backend code.
*/
return `
<div class="autofill-dummy">
<input type="text" name="_autofill_dummy_username" class="ays-ignore">
<input type="password" name="_autofill_dummy_password" class="ays-ignore">
<div class="autofill-dummy" aria-hidden="true">
<input type="text" name="_autofill_dummy_username" class="ays-ignore" tabindex="-1">
<input type="password" name="_autofill_dummy_password" class="ays-ignore" tabindex="-1">
</div>
`
}

0 comments on commit 8d3ee39

Please sign in to comment.