From 8e8858eacee016f300ddcd50088a040bb00f6914 Mon Sep 17 00:00:00 2001 From: JatinderSingh Date: Thu, 6 Jun 2024 17:34:57 -0700 Subject: [PATCH 1/4] Add tab navigation and aria labels for permissions model --- frontend/src/assets/main.scss | 2 +- .../components/bucket/BucketPermission.vue | 9 ++++++- .../src/components/bucket/BucketTable.vue | 24 +++++++++++++++++-- frontend/src/components/form/SearchUsers.vue | 8 +++---- 4 files changed, 35 insertions(+), 8 deletions(-) diff --git a/frontend/src/assets/main.scss b/frontend/src/assets/main.scss index f41b9182..3fa0a6e5 100644 --- a/frontend/src/assets/main.scss +++ b/frontend/src/assets/main.scss @@ -86,7 +86,7 @@ a:focus-visible { a button:focus-visible { box-shadow: none; } - +.bcbox-info-dialog:focus-visible div:focus-visible { outline: 0 none; box-shadow: inset 0px 0px 0 0.2rem #a6d5fa; diff --git a/frontend/src/components/bucket/BucketPermission.vue b/frontend/src/components/bucket/BucketPermission.vue index 38b3297d..a92bdc20 100644 --- a/frontend/src/components/bucket/BucketPermission.vue +++ b/frontend/src/components/bucket/BucketPermission.vue @@ -8,7 +8,7 @@ import { useAlert } from '@/composables/useAlert'; import { Button, Checkbox, Column, DataTable } from '@/lib/primevue'; import { usePermissionStore } from '@/store'; import { Permissions } from '@/utils/constants'; - +import FocusTrap from 'primevue/focustrap'; import type { Ref } from 'vue'; import type { UserPermissions } from '@/types'; @@ -75,6 +75,7 @@ onBeforeMount(async () => {