Add aria-label to more-apps menu as well

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2018-04-18 15:40:47 +02:00
parent 0d675eca56
commit 0ee9924b16
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@
<?php endforeach; ?> <?php endforeach; ?>
<li id="more-apps" class="menutoggle" <li id="more-apps" class="menutoggle"
aria-haspopup="true" aria-controls="navigation" aria-expanded="false"> aria-haspopup="true" aria-controls="navigation" aria-expanded="false">
<a href="#"> <a href="#" aria-label="<?php p($l->t('More apps')); ?>">
<div class="icon-more-white"></div> <div class="icon-more-white"></div>
<span><?php p($l->t('More apps')); ?></span> <span><?php p($l->t('More apps')); ?></span>
</a> </a>
@ -71,7 +71,7 @@
</ul> </ul>
<nav role="navigation"> <nav role="navigation">
<div id="navigation" style="display: none;"> <div id="navigation" style="display: none;" aria-label="<?php p($l->t('More apps menu')); ?>">
<div id="apps"> <div id="apps">
<ul> <ul>
<?php foreach($_['navigation'] as $entry): ?> <?php foreach($_['navigation'] as $entry): ?>