Skip to content

Commit

Permalink
add aria labels, fix #715 (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
zambrovski authored Oct 12, 2023
1 parent 04361c3 commit 1b77249
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<template #activator="{ on, attrs }">
<v-btn
:disabled="lastPageButtonDisabled"
aria-label="Vorherige Seite"
small
text
color="primary"
Expand All @@ -70,6 +71,7 @@
small
text
:disabled="nextPageButtonDisabled"
aria-label="Nächste Seite"
color="primary"
class="ml-1"
v-bind="attrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
outlined
hide-details
:items="persistentFilters?.map((f) => f.filterString) || []"
aria-label="Aufgaben durchsuchen"
label="Aufgaben durchsuchen"
clearable
style="max-width: 500px"
Expand All @@ -26,7 +27,7 @@
class="v-icon"
@click="deletePersistentFilter()"
>
<v-icon color="primary">
<v-icon color="primary" aria-label="Filter löschen" role="img" aria-hidden="false">
mdi-star
</v-icon>
</v-btn>
Expand All @@ -37,12 +38,12 @@
class="v-icon"
@click="savePersistentFilter()"
>
<v-icon color="primary">
<v-icon color="primary" aria-label="Filter speichern" role="img" aria-hidden="false">
mdi-star-outline
</v-icon>
</v-btn>
</div>
<v-icon class="ml-2">
<v-icon class="ml-2" aria-label="Aufgaben durchsuchen" role="img" aria-hidden="false">
mdi-magnify
</v-icon>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
item-value="lhmObjectId"
item-text="lhmObjectId"
placeholder="Benutzer suchen..."
aria-label="Benutzer suchen"
@input="input"
>
<template #selection="data">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@
data-cy="dropdown-menu-button"
@click="(event) => { event.preventDefault()}"
v-on.prevent="on"
aria-label="Aktionen für den Vorgang"
aria-hidden="false"
>
<v-icon>mdi-dots-vertical</v-icon>
<v-icon aria-label="Aktionen für den Vorgang" role="img" aria-hidden="false">mdi-dots-vertical</v-icon>
</v-btn>
</template>
<v-list>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@
v-bind="attrs"
@click="(event) => { event.preventDefault()}"
v-on.prevent="on"
aria-label="Aktionen für den Vorgang"
aria-hidden="false"
>
<v-icon>mdi-dots-vertical</v-icon>
<v-icon aria-label="Aktionen für den Vorgang" role="img" aria-hidden="false">mdi-dots-vertical</v-icon>
</v-btn>
</template>
<v-list>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
@click="(event) => { event.preventDefault()}"
v-on.prevent="on"
>
<v-icon>mdi-dots-vertical</v-icon>
<v-icon aria-label="Aktionen für die Aufgabe" role="img" aria-hidden="false">mdi-dots-vertical</v-icon>
</v-btn>
</template>
<v-list>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
/>
</template>
<v-date-picker
role="menuitem"
v-model="dateSelection"
locale="de-de"
@input="dateSelectionOpen = false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@
v-bind="attrs"
@click="(event) => { event.preventDefault()}"
v-on.prevent="on"
aria-label="Aktionen für die Aufgabe"
aria-hidden="false"
>
<v-icon>mdi-dots-vertical</v-icon>
<v-icon aria-label="Aktionen für die Aufgabe" role="img" aria-hidden="false">mdi-dots-vertical</v-icon>
</v-btn>
</template>
<v-list>
Expand Down

0 comments on commit 1b77249

Please sign in to comment.