]> source.dussan.org Git - nextcloud-server.git/commit
Add accesibility features to quick share dropdown
authorfenn-cs <fenn25.fn@gmail.com>
Tue, 5 Sep 2023 15:51:58 +0000 (16:51 +0100)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 7 Sep 2023 13:17:50 +0000 (15:17 +0200)
commit1539d5e2623c1f1616dda39a66c61024471aae23
tree578e9edc9d69a040f2fdfe0449985548504b91a9
parent8fab35475f1360c7ce321376ce1b159cbfb3a5af
Add accesibility features to quick share dropdown

- Adds appropriate aria attributes
- Uses button element for dropdown items as it's more semantically correct
- Uses trap-focus lib to trap focus when the drowpdown is active
- Adds custom handling for arrow up and down

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue