Merge pull request #44869 from nextcloud/fix/systemtags-input-label

fix(systemtags): Use built-in input label to satisfy a11y check of NcSelect
This commit is contained in:
Ferdinand Thiessen 2024-04-17 12:47:09 +02:00 committed by GitHub
commit a86c1131d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 9 deletions

View File

@ -26,9 +26,8 @@
:name="t('systemtags', 'Loading collaborative tags …')"
:size="32" />
<template v-else>
<label for="system-tags-input">{{ t('systemtags', 'Search or create collaborative tags') }}</label>
<NcSelectTags class="system-tags__select"
input-id="system-tags-input"
:input-label="t('systemtags', 'Search or create collaborative tags')"
:placeholder="t('systemtags', 'Collaborative tags …')"
:options="sortedTags"
:value="selectedTags"
@ -224,10 +223,7 @@ export default Vue.extend({
display: flex;
flex-direction: column;
label[for="system-tags-input"] {
margin-bottom: 2px;
}
// Fix issue with AppSidebar styles overwriting NcSelect styles
&__select {
width: 100%;
:deep {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long