diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-09-01 14:15:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-01 14:15:29 +0200 |
commit | 1a43aaf8b4880788c0da3b8f55b6c242dd2f46bf (patch) | |
tree | b93bee61f9a4bfec073f059dc01282cde5df23f4 /core | |
parent | ca7b60ba816e198202d1fb61e576013888636737 (diff) | |
parent | 56862e3fdc6e174b975c628c4f1700d267cc203f (diff) | |
download | nextcloud-server-1a43aaf8b4880788c0da3b8f55b6c242dd2f46bf.tar.gz nextcloud-server-1a43aaf8b4880788c0da3b8f55b6c242dd2f46bf.zip |
Merge pull request #1219 from coderkun/issue-1110-tabindex
Add attribute “tabindex” to login form (fixes #1110)
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/login.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/templates/login.php b/core/templates/login.php index c5453c34497..49fa0dd6aff 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -43,7 +43,7 @@ script('core', [ placeholder="<?php p($l->t('Username or email')); ?>" value="<?php p($_['loginName']); ?>" <?php p($_['user_autofocus'] ? 'autofocus' : ''); ?> - autocomplete="on" autocapitalize="off" autocorrect="off" required> + autocomplete="on" autocapitalize="off" autocorrect="off" required tabindex="1"> <label for="user" class="infield"><?php p($l->t('Username or email')); ?></label> </p> @@ -51,9 +51,9 @@ script('core', [ <input type="password" name="password" id="password" value="" placeholder="<?php p($l->t('Password')); ?>" <?php p($_['user_autofocus'] ? '' : 'autofocus'); ?> - autocomplete="on" autocapitalize="off" autocorrect="off" required> + autocomplete="on" autocapitalize="off" autocorrect="off" required tabindex="2"> <label for="password" class="infield"><?php p($l->t('Password')); ?></label> - <input type="submit" id="submit" class="login primary icon-confirm" title="<?php p($l->t('Log in')); ?>" value="" disabled="disabled"/> + <input type="submit" id="submit" class="login primary icon-confirm" title="<?php p($l->t('Log in')); ?>" value="" disabled="disabled" tabindex="4" /> </p> <?php if (!empty($_['invalidpassword']) && !empty($_['canResetPassword'])) { ?> @@ -68,9 +68,9 @@ script('core', [ <?php if ($_['rememberLoginAllowed'] === true) : ?> <div class="remember-login-container"> <?php if ($_['rememberLoginState'] === 0) { ?> - <input type="checkbox" name="remember_login" value="1" id="remember_login" class="checkbox checkbox--white"> + <input type="checkbox" name="remember_login" value="1" id="remember_login" class="checkbox checkbox--white" tabindex="3"> <?php } else { ?> - <input type="checkbox" name="remember_login" value="1" id="remember_login" class="checkbox checkbox--white" checked="checked"> + <input type="checkbox" name="remember_login" value="1" id="remember_login" class="checkbox checkbox--white" checked="checked" tabindex="3"> <?php } ?> <label for="remember_login"><?php p($l->t('Stay logged in')); ?></label> </div> |