Skip to content

Commit

Permalink
fix: Fix Accessibility for Layout buttons - MEED-3263 - Meeds-io/meed…
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker committed May 2, 2024
1 parent 257dd3d commit 822dd4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<v-list class="pa-0" dense>
<v-list-item
v-if="isPortalSite && !isGlobalSite"
:aria-label="$t('siteManagement.label.properties')"
role="button"
class="subtitle-2 px-3"
@click="openSitePropertiesDrawer">
<v-icon
Expand All @@ -50,6 +52,8 @@
</v-list-item-title>
</v-list-item>
<v-list-item
:aria-label="$t('siteManagement.label.navigation')"
role="button"
class="subtitle-2 px-3"
@click="openSiteNavigationDrawer">
<v-icon
Expand All @@ -65,6 +69,8 @@
</v-list-item>
<v-list-item
v-if="!isGroupSite && !isGlobalSite"
:aria-label="$t('siteManagement.label.manageAccess')"
role="button"
class="subtitle-2 px-3"
@click="$root.$emit('open-manage-permissions-drawer', site, true)">
<v-icon
Expand All @@ -80,6 +86,8 @@
</v-list-item>
<v-list-item
v-if="canDelete"
:aria-label="$t('siteManagement.label.delete')"
role="button"
class="subtitle-2 px-3"
@click="$root.$emit('delete-site', site)">
<v-icon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
height="22"
flat>
<v-btn
:aria-label="$t('siteNavigation.button.tooltip.label')"
:disabled="disabled"
class="absolute-vertical-center mt-1"
role="button"
outlined
icon
@click="openSiteNavigationDrawer">
Expand Down

0 comments on commit 822dd4f

Please sign in to comment.