Skip to content

Commit

Permalink
fix: missing aria attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Sep 18, 2024
1 parent ff5abb0 commit 043e226
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/radix-vue/src/Listbox/ListboxContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 043e226

Please sign in to comment.