aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-08-18 18:56:56 -0700
committerChristopher Ng <chrng8@gmail.com>2023-08-18 18:56:56 -0700
commit266ad60cb70968ea4ca4ad69516cfe6cbdf6b80a (patch)
treefe082f496bce974bc37079dd6ad5524ab89a6fa2 /apps
parent3bdcc36f03ffca8b4f5b9de4dd05210e4d277bd4 (diff)
downloadnextcloud-server-266ad60cb70968ea4ca4ad69516cfe6cbdf6b80a.tar.gz
nextcloud-server-266ad60cb70968ea4ca4ad69516cfe6cbdf6b80a.zip
fix(a11y): Add always visible label when setting weather address
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/weather_status/src/App.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/weather_status/src/App.vue b/apps/weather_status/src/App.vue
index 417c0dd959f..32f645a1c2c 100644
--- a/apps/weather_status/src/App.vue
+++ b/apps/weather_status/src/App.vue
@@ -56,14 +56,13 @@
{{ t('weather_status', 'Detect location') }}
</NcActionButton>
<NcActionInput ref="addressInput"
+ :label="t('weather_status', 'Set custom address')"
:disabled="false"
icon="icon-rename"
:aria-hidden="true"
type="text"
value=""
- @submit="onAddressSubmit">
- {{ t('weather_status', 'Set custom address') }}
- </NcActionInput>
+ @submit="onAddressSubmit" />
<template v-if="favorites.length > 0">
<NcActionCaption :name="t('weather_status', 'Favorites')" />
<NcActionButton v-for="favorite in favorites"