diff options
author | Jan C. Borchardt <hey@jancborchardt.net> | 2021-04-13 20:26:47 +0200 |
---|---|---|
committer | Jan C. Borchardt <hey@jancborchardt.net> | 2021-04-19 21:02:53 +0200 |
commit | f86a2239e76e9f4d8bf10a249ac5e0bcf088c9a5 (patch) | |
tree | 4249696eb621787bad67081be975e620ee419cc3 /apps/files/templates | |
parent | abedc275d9b7c5f929e6a21ee5d77f030e2f4b7c (diff) | |
download | nextcloud-server-f86a2239e76e9f4d8bf10a249ac5e0bcf088c9a5.tar.gz nextcloud-server-f86a2239e76e9f4d8bf10a249ac5e0bcf088c9a5.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.php | 5 |
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) { |