fix(a11y): Add always visible label when setting weather address

Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/39971/head
Christopher Ng 2023-08-18 18:56:56 +07:00
parent 3bdcc36f03
commit 266ad60cb7
1 changed files with 2 additions and 3 deletions

@ -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"