Skip to content

Commit

Permalink
add attributes aria-label= and title= to Filters & View Modes buttons
Browse files Browse the repository at this point in the history
Signed-off-by: Private Maker <privatemaker@posteo.net>
  • Loading branch information
privatemaker authored and juliusknorr committed Oct 10, 2023
1 parent 028b4c0 commit 2ab186a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Controls.vue
Original file line number Diff line number Diff line change
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,9 @@
</NcPopover>
</div>

<NcActions>
<NcActions
:aria-label="t('deck', 'View Modes')"

Check failure on line 194 in src/components/Controls.vue

View workflow job for this annotation

GitHub Actions / eslint

Expected no linebreak before this attribute
:title="t('deck', 'Toggle View Modes')">
<NcActionButton @click="toggleShowArchived">
<template #icon>
<ArchiveIcon :size="20" decorative />
Expand Down

0 comments on commit 2ab186a

Please sign in to comment.