Add accessibility label to show password checkbox (#16642)

Add accessibility label to show password checkbox
This commit is contained in:
John Molakvoæ 2019-12-12 10:47:25 +01:00 committed by GitHub
commit 5e0f820029
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ script('core', [
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"></label>
<label for="show" class="hidden-visually"><?php p($l->t( 'Show password')); ?></label>
</p>
</fieldset>