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 /apps/files/js/fileactions.js | |
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 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 8790eae9c98..9b86c6521ae 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -370,6 +370,7 @@ var menu; var $trigger = context.$file.closest('tr').find('.fileactions .action-menu'); $trigger.addClass('open'); + $trigger.attr('aria-expanded', 'true'); menu = new OCA.Files.FileActionsMenu(); @@ -378,6 +379,7 @@ menu.$el.on('afterHide', function() { context.$file.removeClass('mouseOver'); $trigger.removeClass('open'); + $trigger.attr('aria-expanded', 'false'); menu.remove(); }); @@ -404,6 +406,7 @@ }, false, context); $el.addClass('permanent'); + $el.attr('aria-expanded', 'false'); }, |