Skip to content

Commit 1ef07bd

Browse files
authored
fix(VAutocomplete): fix screenreader navigation (#19199)
fixes #18858
1 parent f346f84 commit 1ef07bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vuetify/src/components/VAutocomplete/VAutocomplete.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ export const VAutocomplete = genericComponent<new <
502502
index,
503503
props: itemProps,
504504
}) ?? (
505-
<VListItem { ...itemProps }>
505+
<VListItem { ...itemProps } role="option">
506506
{{
507507
prepend: ({ isSelected }) => (
508508
<>

packages/vuetify/src/components/VCombobox/VCombobox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ export const VCombobox = genericComponent<new <
527527
index,
528528
props: itemProps,
529529
}) ?? (
530-
<VListItem { ...itemProps }>
530+
<VListItem { ...itemProps } role="option">
531531
{{
532532
prepend: ({ isSelected }) => (
533533
<>

0 commit comments

Comments
 (0)