summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2020-10-09 20:10:27 +0200
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2020-10-10 12:53:23 +0000
commitcb68bcef0fcf8c26fb79731031fabfcaf7433f45 (patch)
treefaeae5fb52e1d2c29b65731b115135419d883b3f /core/templates
parent2ec160aec8ec8d67e8cc42d9f2a83406768b7b6d (diff)
downloadnextcloud-server-cb68bcef0fcf8c26fb79731031fabfcaf7433f45.tar.gz
nextcloud-server-cb68bcef0fcf8c26fb79731031fabfcaf7433f45.zip
Fix password visibility toggles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/installation.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 2cca084ad75..b9ab19f0357 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -49,8 +49,8 @@ script('core', [
value="<?php p($_['adminpass']); ?>"
autocomplete="off" autocapitalize="none" autocorrect="off" required>
<label for="adminpass" class="infield"><?php p($l->t('Password')); ?></label>
- <input type="checkbox" id="show" class="hidden-visually" name="show">
- <label for="show" class="hidden-visually"><?php p($l->t('Show password')); ?></label>
+ <input type="checkbox" id="show" class="hidden-visually" name="show" aria-label="<?php p($l->t('Show password')); ?>">
+ <label for="show"></label>
</p>
</fieldset>
@@ -115,7 +115,7 @@ script('core', [
value="<?php p($_['dbpass']); ?>"
autocomplete="off" autocapitalize="none" autocorrect="off">
<label for="dbpass" class="infield"><?php p($l->t('Database password')); ?></label>
- <input type="checkbox" id="dbpassword-toggle" class="hidden-visually" name="dbpassword-toggle">
+ <input type="checkbox" id="dbpassword-toggle" class="hidden-visually" name="dbpassword-toggle" aria-label="<?php p($l->t('Show password')); ?>">
<label for="dbpassword-toggle"></label>
</p>
<p class="groupmiddle">