fix(systemtags): Use built-in input label to satisfy a11y check of NcSelect

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/44869/head
Ferdinand Thiessen 1 month ago
parent a2999d87db
commit 5173838724
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400

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

Loading…
Cancel
Save