Skip to content

Commit 661ec09

Browse files
committed
fix(select): fix screen reader read value twice
1 parent 3966739 commit 661ec09

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ export const VAutocomplete = genericComponent<new <
603603
return (
604604
<div
605605
key={ item.value }
606+
aria-hidden="true"
606607
class={[
607608
'v-autocomplete__selection',
608609
index === selectionIndex.value && [

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ export const VCombobox = genericComponent<new <
650650
return (
651651
<div
652652
key={ item.value }
653+
aria-hidden="true"
653654
class={[
654655
'v-combobox__selection',
655656
index === selectionIndex.value && [

packages/vuetify/src/components/VSelect/VSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ export const VSelect = genericComponent<new <
574574
if (hasSlot && !slotContent) return undefined
575575

576576
return (
577-
<div key={ item.value } class="v-select__selection">
577+
<div key={ item.value } class="v-select__selection" aria-hidden="true">
578578
{ hasChips ? (
579579
!slots.chip ? (
580580
<VChip

0 commit comments

Comments
 (0)