summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2022-08-04 08:45:57 +0200
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-08-17 19:28:40 +0000
commit6d12f8b8a146cf789f924b9c0de16ddd05a92ae4 (patch)
tree60f1505d4ca2c8bfbdc1649f1b87493f6ec190c5 /apps/files/templates
parent2f538bb20f7859b2f09d0d088be9ee47c6cdadde (diff)
downloadnextcloud-server-6d12f8b8a146cf789f924b9c0de16ddd05a92ae4.tar.gz
nextcloud-server-6d12f8b8a146cf789f924b9c0de16ddd05a92ae4.zip
Add ```aria-expanded``` value to select2-container om systemtag and file tags
Add ```aria-expanded``` to color picker Add ```aria-expanded``` to UnifiedSearch.vue Add ```aria-expanded``` to new button on files Add ```aria-expanded``` to action menu Add ```aria-expanded``` to icon .federation-menu Add ```aria-expanded``` to app navigation collapse button Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/appnavigation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
index 9ff680d6a8d..3c333d39fc0 100644
--- a/apps/files/templates/appnavigation.php
+++ b/apps/files/templates/appnavigation.php
@@ -90,7 +90,7 @@ function NavigationListElements($item, $l, $pinned) {
NavigationElementMenu($item);
if (isset($item['sublist'])) {
?>
- <button class="collapse app-navigation-noclose"
+ <button class="collapse app-navigation-noclose" aria-expanded="<?= !empty($item['defaultExpandedState']) ? 'true' : 'false' ?>"
aria-label="<?php p($l->t('Toggle %1$s sublist', $item['name'])) ?>"
<?php if (sizeof($item['sublist']) == 0) { ?> style="display: none" <?php } ?>>
</button>