Browse Source

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

fix(systemtags): Use built-in input label to satisfy a11y check of NcSelect
pull/40878/merge
Ferdinand Thiessen 2 weeks ago
parent
commit
a86c1131d7
No account linked to committer's email address

+ 2
- 6
apps/systemtags/src/components/SystemTags.vue 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 {

+ 2
- 2
dist/files-sidebar.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/files-sidebar.js.map
File diff suppressed because it is too large
View File


Loading…
Cancel
Save