Skip to content

Commit d1bce06

Browse files
committed
fix(BaseSearchInput): label result groups
1 parent 17d9d3f commit d1bce06

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

frontend/layers/base/app/components/BaseSearchInput.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,12 @@ const idSearchInput = useId()
136136
<RkComboboxGroup
137137
v-for="[groupKey, groupItems] in groupedResults"
138138
:key="groupKey as string"
139+
:aria-labelledby="`search-group-label-${groupKey}`"
139140
>
140-
<RkComboboxLabel class="px-2xl py-md dark:text-gray-400">
141+
<RkComboboxLabel
142+
:id="`search-group-label-${groupKey}`"
143+
class="px-2xl py-md dark:text-gray-400"
144+
>
141145
<slot
142146
name="result-group-label"
143147
:label="groupKey"

0 commit comments

Comments
 (0)