Add aria label
Signed-off-by: Jochen <rothjochen@gmail.com>
This commit is contained in:
parent
dff16b60c8
commit
d38f8dc746
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue