diff --git a/templates/LoginForm.php b/templates/LoginForm.php index 706941e3a75d4f23596483992d7dfc425e6428e2..0ba5d5bc233071f2c60d691b97c8f7f55cc3d7a1 100644 --- a/templates/LoginForm.php +++ b/templates/LoginForm.php @@ -136,7 +136,10 @@ if (null !== $this->data['errorCode']) { placeholder="<?php echo htmlspecialchars($passHint, ENT_QUOTES); ?>"/> <strong id="message"><?php echo htmlspecialchars($this->data['message'] ?? '', ENT_QUOTES); ?></strong> - <br> + <br><br> + <label for="otp" class="sr-only"> + <?php echo $this->t('{privacyidea:privacyidea:otp}'); ?> + </label> <input id="otp" name="otp" type="password" placeholder="<?php echo htmlspecialchars($otpHint, ENT_QUOTES); ?>"> <br><br> @@ -226,10 +229,7 @@ if (null !== $this->data['errorCode']) { </div> <!-- form-panel --> <div id="AlternateLoginOptions" class="groupMargin"> - - <h3><label><?php echo $this->t('{privacyidea:privacyidea:alternate_login_options}'); ?></label></h3> - <br> - + <h3><?php echo $this->t('{privacyidea:privacyidea:alternate_login_options}'); ?></h3> <!-- Alternate Login Options--> <input id="useWebAuthnButton" name="useWebAuthnButton" type="button" value="WebAuthn"/> <input id="usePushButton" name="usePushButton" type="button" value="Push"/>