Skip to content

Commit

Permalink
Merge pull request #5133 from privatemaker/fix/aria-title-to-buttons
Browse files Browse the repository at this point in the history
add attributes aria-label= and title= to Filters & View Modes buttons
  • Loading branch information
juliushaertl committed Oct 16, 2023
2 parents 4ab35e0 + 1564da5 commit 6743368
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Controls.vue
Expand Up @@ -78,6 +78,8 @@
<NcPopover container=".board-action-buttons__filter"
:placement="'bottom-end'"
:aria-label="t('deck', 'Active filters')"
:title="t('deck', 'Active filters')"
:tooltip="t('deck', 'Active filters')"
@show="filterVisible=true"
@hide="filterVisible=false">
<!-- We cannot use NcActions here are the popover trigger does not update on reactive icons -->
Expand Down Expand Up @@ -188,7 +190,8 @@
</NcPopover>
</div>

<NcActions>
<NcActions :aria-label="t('deck', 'View Modes')"
:title="t('deck', 'Toggle View Modes')">
<NcActionButton @click="toggleShowArchived">
<template #icon>
<ArchiveIcon :size="20" decorative />
Expand Down

0 comments on commit 6743368

Please sign in to comment.