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:
commit
a86c1131d7
|
@ -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
Loading…
Reference in New Issue