Add aria label

Signed-off-by: Jochen <rothjochen@gmail.com>
This commit is contained in:
Jochen 2019-09-09 19:00:32 +02:00
parent dff16b60c8
commit d38f8dc746

View file

@ -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>