summaryrefslogtreecommitdiffstats
path: root/core/templates/login.php
diff options
context:
space:
mode:
authorJochen <rothjochen@gmail.com>2019-09-09 19:00:32 +0200
committerJochen <rothjochen@gmail.com>2019-09-09 19:00:32 +0200
commitd38f8dc746cc94feb3422704fe9228a3bd5c8893 (patch)
tree3f81d43cfd8dc84e11b7356ad5803f67b82924eb /core/templates/login.php
parentdff16b60c80989f1e979b42cbc304a52c2d82413 (diff)
downloadnextcloud-server-d38f8dc746cc94feb3422704fe9228a3bd5c8893.tar.gz
nextcloud-server-d38f8dc746cc94feb3422704fe9228a3bd5c8893.zip
Add aria label
Signed-off-by: Jochen <rothjochen@gmail.com>
Diffstat (limited to 'core/templates/login.php')
-rw-r--r--core/templates/login.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index 9635de2a61d..b6583f70ac1 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -8,8 +8,8 @@ script('core', 'dist/login');
<?php if (!empty($_['alt_login'])) { ?>
<div id="alternative-logins">
<?php foreach($_['alt_login'] as $login): ?>
- <a class="button <?php p(isset($login['style']) ? $login['style'] : ''); ?>" href="<?php print_unescaped($login['href']); ?>" >
- <?php echo $login['name']; ?>
+ <a class="button <?php p(isset($login['style']) ? $login['style'] : ''); ?>" aria-label="<?php p($login['label']); ?>" href="<?php print_unescaped($login['href']); ?>" >
+ <?php p($login['name']); ?>
</a>
<?php endforeach; ?>
</div>