File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1414 {{.CsrfTokenHtml}}
1515 <div class="required field {{if and (.Err_UserName) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}}">
1616 <label for="user_name">{{ctx.Locale.Tr "home.uname_holder"}}</label>
17- <input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required>
17+ <input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required tabindex="1" >
1818 </div>
1919 {{if or (not .DisablePassword) .LinkAccountMode}}
2020 <div class="required field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}} form-field-content-aside-label">
2121 <label for="password">{{ctx.Locale.Tr "password"}}</label>
22- <a href="{{AppSubUrl}}/user/forgot_password">{{ctx.Locale.Tr "auth.forgot_password"}}</a>
23- <input id="password" name="password" type="password" value="{{.password}}" autocomplete="current-password" required>
22+ <a href="{{AppSubUrl}}/user/forgot_password" tabindex="5" >{{ctx.Locale.Tr "auth.forgot_password"}}</a>
23+ <input id="password" name="password" type="password" value="{{.password}}" autocomplete="current-password" required tabindex="2" >
2424 </div>
2525 {{end}}
2626 {{if not .LinkAccountMode}}
2727 <div class="inline field">
2828 <div class="ui checkbox">
2929 <label>{{ctx.Locale.Tr "auth.remember_me"}}</label>
30- <input name="remember" type="checkbox">
30+ <input name="remember" type="checkbox" tabindex="3" >
3131 </div>
3232 </div>
3333 {{end}}
3434
3535 {{template "user/auth/captcha" .}}
3636
3737 <div class="field">
38- <button class="ui primary button tw-w-full">
38+ <button class="ui primary button tw-w-full" tabindex="4" >
3939 {{if .LinkAccountMode}}
4040 {{ctx.Locale.Tr "auth.oauth_signin_submit"}}
4141 {{else}}
You can’t perform that action at this time.
0 commit comments