aboutsummaryrefslogtreecommitdiff
path: root/templates/_standard_loginform.php
diff options
context:
space:
mode:
authorAndré Noack <noack@data-quest.de>2024-04-22 16:02:08 +0000
committerAndré Noack <noack@data-quest.de>2024-04-22 16:02:08 +0000
commit348bd1303bc31d0f1be6a8990e0647d7233b388f (patch)
tree567f842723f8ae3d2ee13a4aefd7e04b9bbe7366 /templates/_standard_loginform.php
parent4fe996bbc7d97633c65ca9e9aaf1f79a866d30eb (diff)
Resolve "MessageBox sollte als Statusmeldung ausgezeichnet werden"
Closes #4042 Merge request studip/studip!2896
Diffstat (limited to 'templates/_standard_loginform.php')
-rw-r--r--templates/_standard_loginform.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/_standard_loginform.php b/templates/_standard_loginform.php
index 51fc53b..57c9cec 100644
--- a/templates/_standard_loginform.php
+++ b/templates/_standard_loginform.php
@@ -43,9 +43,11 @@ $password_tooltip_text = (string)Config::get()->PASSWORD_TOOLTIP_TEXT;
name="password"
autocomplete="current-password"
size="20"
- required>
+ required
+ <?= $loginerror ? 'aria-describedby="messagebox-0"' : ''?>
+ >
- <i id="password-toggle" tabindex="0" aria-role="button" class="enter-accessible">
+ <i id="password-toggle" tabindex="0" role="button" class="enter-accessible">
<?= Icon::create('visibility-checked')->asImg(20, [
'id ' => 'visible-password',
'title' => _('Passwort anzeigen'),