From b03bb728bed66e5b904e7a6a484b947189b3e0d0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 01:26:03 +0000 Subject: [PATCH 1/5] Initial plan From 32aba2fdb2e232192988532e84b7b5892913a83f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 01:34:16 +0000 Subject: [PATCH 2/5] Add ARIA attributes for inline search combobox accessibility Co-authored-by: brc-dd <40380293+brc-dd@users.noreply.github.com> --- lib/components/SDropdownSection.vue | 1 + lib/components/SDropdownSectionFilter.vue | 10 +- lib/components/SInputDropdown.vue | 23 +- lib/composables/Dropdown.ts | 1 + package-lock.json | 14784 ++++++++++++++++++++ 5 files changed, 14816 insertions(+), 3 deletions(-) create mode 100644 package-lock.json diff --git a/lib/components/SDropdownSection.vue b/lib/components/SDropdownSection.vue index e9b25a43..d285caa0 100644 --- a/lib/components/SDropdownSection.vue +++ b/lib/components/SDropdownSection.vue @@ -23,6 +23,7 @@ defineProps<{ :options="section.options" :query="section.query" :active="section.active" + :option-id-prefix="section.optionIdPrefix" :on-click="section.onClick" /> options: MaybeRef active?: any + optionIdPrefix?: string onClick?(value: any): void }>() @@ -80,6 +81,10 @@ function handleClick(option: DropdownSectionFilterOption, value: any) { option.onClick && option.onClick(value) props.onClick && props.onClick(value) } + +function getOptionId(index: number) { + return props.optionIdPrefix ? `${props.optionIdPrefix}-${index}` : undefined +}