Skip to content

Commit

Permalink
feat: Use redundant label for accessibility only
Browse files Browse the repository at this point in the history
Signed-off-by: nfebe <[email protected]>
  • Loading branch information
nfebe committed Jan 24, 2025
1 parent 28899e1 commit 0e69b7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/files_sharing/src/components/SharingInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@

<template>
<div class="sharing-search">
<label for="sharing-search-input">{{ t('files_sharing', 'Search for share recipients') }}</label>
<label class="hidden-visually" for="sharing-search-input">
{{ isExternal ? t('files_sharing', 'Enter external recipients')
: t('files_sharing', 'Search for internal recipients') }}
</label>
<NcSelect ref="select"
v-model="value"
input-id="sharing-search-input"
Expand Down

0 comments on commit 0e69b7e

Please sign in to comment.