Skip to content

Commit

Permalink
Fix missing label of Files navigation sublist toggles
Browse files Browse the repository at this point in the history
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
  • Loading branch information
jancborchardt committed Apr 15, 2021
1 parent eff0998 commit 1708014
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/files/templates/appnavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ class="nav-icon-<?php p(isset($item['icon']) && $item['icon'] !== '' ? $item['ic
NavigationElementMenu($item);
if (isset($item['sublist'])) {
?>
<button class="collapse app-navigation-noclose" <?php if (sizeof($item['sublist']) == 0) { ?> style="display: none" <?php } ?>></button>
<button class="collapse app-navigation-noclose"
aria-label="<?php p($l->t('Toggle %1$s sublist', $item['name'])) ?>"
<?php if (sizeof($item['sublist']) == 0) { ?> style="display: none" <?php } ?>>
</button>
<ul id="sublist-<?php p($item['id']); ?>">
<?php
foreach ($item['sublist'] as $item) {
Expand Down

0 comments on commit 1708014

Please sign in to comment.