diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2022-08-04 08:45:57 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-08-17 19:28:40 +0000 |
commit | 6d12f8b8a146cf789f924b9c0de16ddd05a92ae4 (patch) | |
tree | 60f1505d4ca2c8bfbdc1649f1b87493f6ec190c5 /core | |
parent | 2f538bb20f7859b2f09d0d088be9ee47c6cdadde (diff) | |
download | nextcloud-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 'core')
-rw-r--r-- | core/src/OC/menu.js | 3 | ||||
-rw-r--r-- | core/src/components/HeaderMenu.vue | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/core/src/OC/menu.js b/core/src/OC/menu.js index 93de943b37e..7d4d2f91a6c 100644 --- a/core/src/OC/menu.js +++ b/core/src/OC/menu.js @@ -111,6 +111,9 @@ export const hideMenus = function(complete) { // Set menu to closed $('.menutoggle').attr('aria-expanded', false) + if (currentMenuToggle) { + currentMenuToggle.attr('aria-expanded', false) + } $('.openedMenu').removeClass('openedMenu') currentMenu = null diff --git a/core/src/components/HeaderMenu.vue b/core/src/components/HeaderMenu.vue index 663054a74e9..fc8936ba07c 100644 --- a/core/src/components/HeaderMenu.vue +++ b/core/src/components/HeaderMenu.vue @@ -28,7 +28,7 @@ href="#" :aria-label="ariaLabel" :aria-controls="`header-menu-${id}`" - :aria-expanded="opened" + :aria-expanded="opened.toString()" aria-haspopup="menu" @click.prevent="toggleMenu"> <slot name="trigger" /> |