Skip to content

Commit

Permalink
fix(VList): add live region for a11y (#18898)
Browse files Browse the repository at this point in the history
fixes #18459
fixes #18492

Co-authored-by: John Leider <john@vuetifyjs.com>
  • Loading branch information
tmasrat and johnleider committed Jan 8, 2024
1 parent eea5e84 commit 98d1ee6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Expand Up @@ -460,6 +460,7 @@ export const VAutocomplete = genericComponent<new <
onFocusout={ onFocusout }
onScrollPassive={ onListScroll }
tabindex="-1"
aria-live="polite"
color={ props.itemColor ?? props.color }
>
{ slots['prepend-item']?.() }
Expand Down
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VCombobox/VCombobox.tsx
Expand Up @@ -489,6 +489,7 @@ export const VCombobox = genericComponent<new <
onFocusout={ onFocusout }
onScrollPassive={ onListScroll }
tabindex="-1"
aria-live="polite"
color={ props.itemColor ?? props.color }
>
{ slots['prepend-item']?.() }
Expand Down
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VSelect/VSelect.tsx
Expand Up @@ -377,6 +377,7 @@ export const VSelect = genericComponent<new <
onFocusin={ onFocusin }
onScrollPassive={ onListScroll }
tabindex="-1"
aria-live="polite"
color={ props.itemColor ?? props.color }
>
{ slots['prepend-item']?.() }
Expand Down

0 comments on commit 98d1ee6

Please sign in to comment.