summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorJan C. Borchardt <hey@jancborchardt.net>2021-04-13 20:26:47 +0200
committerJoas Schilling <coding@schilljs.com>2021-06-15 13:55:20 +0200
commit199f736bc8a9e43ccf8fa753697eeb52decc9b0b (patch)
treed6d444b77c3a14c65ea840d78d602aa88a8099dc /apps/files/templates
parent0a3875eacb4f74e44e742ff082e9bcbb3c5e5f5f (diff)
downloadnextcloud-server-199f736bc8a9e43ccf8fa753697eeb52decc9b0b.tar.gz
nextcloud-server-199f736bc8a9e43ccf8fa753697eeb52decc9b0b.zip
Fix missing label of Files navigation sublist toggles
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/appnavigation.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
index 8e654567946..7946d2a138a 100644
--- a/apps/files/templates/appnavigation.php
+++ b/apps/files/templates/appnavigation.php
@@ -93,7 +93,10 @@ function NavigationListElements($item, $l, $pinned) {
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) {