diff options
author | GretaD <gretadoci@gmail.com> | 2020-04-03 16:47:19 +0200 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-04-30 19:03:56 +0000 |
commit | 9b1f98f6fdfca51640fe527b27c69e000841aa1d (patch) | |
tree | ecad08a35b2738d05678bac0aa3f0b673845b172 /apps/settings/src | |
parent | ae665e217582cb99d014e8dd21d1f9e1a3fcd84d (diff) | |
download | nextcloud-server-9b1f98f6fdfca51640fe527b27c69e000841aa1d.tar.gz nextcloud-server-9b1f98f6fdfca51640fe527b27c69e000841aa1d.zip |
Fix the keyboard tab for actionmenu
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r-- | apps/settings/src/components/UserList/UserRowSimple.vue | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/apps/settings/src/components/UserList/UserRowSimple.vue b/apps/settings/src/components/UserList/UserRowSimple.vue index 5fc53d928ab..ebfb19465fb 100644 --- a/apps/settings/src/components/UserList/UserRowSimple.vue +++ b/apps/settings/src/components/UserList/UserRowSimple.vue @@ -65,8 +65,12 @@ </ActionButton> </Actions> <div class="userPopoverMenuWrapper"> - <div v-click-outside="hideMenu" class="icon-more" @click="$emit('toggleMenu')" /> - <div class="popovermenu" :class="{ 'open': openedMenu }"> + <button + v-click-outside="hideMenu" + class="icon-more" + :aria-label="t('settings', 'Toggle user actions menu')" + @click.prevent="$emit('toggleMenu')" /> + <div class="popovermenu" :class="{ 'open': openedMenu }" :aria-expanded="openedMenu"> <PopoverMenu :menu="userActions" /> </div> </div> @@ -170,10 +174,14 @@ export default { } </script> -<style scoped> +<style lang="scss"> .cellText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; +} + .icon-more { + background-color: var(--color-main-background); + border: 0; } </style> |