Client - add missing labels
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="dropdown-wrapper">
|
||||
<button
|
||||
:aria-label="buttonLabel"
|
||||
:aria-expanded="isOpen"
|
||||
class="dropdown-selector transparent"
|
||||
@click="toggleDropdown"
|
||||
@ -32,6 +33,7 @@
|
||||
interface Props {
|
||||
options: TDropdownOptions
|
||||
selected: string
|
||||
buttonLabel: string
|
||||
}
|
||||
const props = defineProps<Props>()
|
||||
|
||||
|
@ -82,6 +82,7 @@
|
||||
:options="availableLanguages"
|
||||
:selected="language"
|
||||
@selected="updateLanguage"
|
||||
:buttonLabel="$t('user.REGISTER')"
|
||||
>
|
||||
<i class="fa fa-language"></i>
|
||||
</Dropdown>
|
||||
|
@ -30,6 +30,7 @@
|
||||
params: { workoutId: workoutObject.workoutId },
|
||||
})
|
||||
"
|
||||
:aria-label="$t(`workouts.EDIT_WORKOUT`)"
|
||||
>
|
||||
<i class="fa fa-edit" aria-hidden="true" />
|
||||
</button>
|
||||
@ -37,6 +38,7 @@
|
||||
v-if="workoutObject.with_gpx"
|
||||
class="transparent icon-button"
|
||||
@click.prevent="downloadGpx(workoutObject.workoutId)"
|
||||
:aria-label="$t(`workouts.DOWNLOAD_WORKOUT`)"
|
||||
>
|
||||
<i class="fa fa-download" aria-hidden="true" />
|
||||
</button>
|
||||
@ -44,6 +46,7 @@
|
||||
id="delete-workout-button"
|
||||
class="transparent icon-button"
|
||||
@click="displayDeleteModal"
|
||||
:aria-label="$t(`workouts.DELETE_WORKOUT`)"
|
||||
>
|
||||
<i class="fa fa-trash" aria-hidden="true" />
|
||||
</button>
|
||||
|
@ -23,6 +23,7 @@
|
||||
class="map-control"
|
||||
tabindex="0"
|
||||
role="button"
|
||||
:aria-label="$t('workouts.RESET_ZOOM')"
|
||||
@click="resetZoom"
|
||||
>
|
||||
<i class="fa fa-refresh" aria-hidden="true" />
|
||||
@ -32,6 +33,9 @@
|
||||
class="map-control"
|
||||
tabindex="0"
|
||||
role="button"
|
||||
:aria-label="
|
||||
$t(`workouts.${isFullscreen ? 'EXIT' : 'VIEW'}}_FULLSCREEN`)
|
||||
"
|
||||
@click="toggleFullscreen"
|
||||
>
|
||||
<i
|
||||
|
Reference in New Issue
Block a user