From 043e2265c0a3a119997bc739f9f82132783deb6b Mon Sep 17 00:00:00 2001 From: zernonia Date: Wed, 18 Sep 2024 09:17:18 +0800 Subject: [PATCH] fix: missing aria attributes --- packages/radix-vue/src/Listbox/ListboxContent.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/radix-vue/src/Listbox/ListboxContent.vue b/packages/radix-vue/src/Listbox/ListboxContent.vue index dd98b1986..790aaacba 100644 --- a/packages/radix-vue/src/Listbox/ListboxContent.vue +++ b/packages/radix-vue/src/Listbox/ListboxContent.vue @@ -23,6 +23,8 @@ const isClickFocus = refAutoReset(false, 10) :as="as" :as-child="asChild" :tabindex="rootContext.focusable.value ? rootContext.highlightedElement.value ? '-1' : '0' : undefined" + :aria-orientation="rootContext.orientation.value" + :aria-multiselectable="!!rootContext.multiple.value" :data-orientation="rootContext.orientation.value" @mousedown.left="isClickFocus = true" @focus="(ev) => {