File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/vuetify/src/components/VField Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ export const VField = genericComponent<new <T>(
299
299
class = { [ textColorClasses . value ] }
300
300
floating
301
301
for = { id . value }
302
+ aria-hidden = { ! isActive . value }
302
303
style = { textColorStyles . value }
303
304
>
304
305
{ label ( ) }
@@ -396,7 +397,7 @@ export const VField = genericComponent<new <T>(
396
397
397
398
{ hasFloatingLabel . value && (
398
399
< div class = "v-field__outline__notch" >
399
- < VFieldLabel ref = { floatingLabelRef } floating for = { id . value } >
400
+ < VFieldLabel ref = { floatingLabelRef } floating for = { id . value } aria-hidden = { ! isActive . value } >
400
401
{ label ( ) }
401
402
</ VFieldLabel >
402
403
</ div >
@@ -407,7 +408,7 @@ export const VField = genericComponent<new <T>(
407
408
) }
408
409
409
410
{ isPlainOrUnderlined . value && hasFloatingLabel . value && (
410
- < VFieldLabel ref = { floatingLabelRef } floating for = { id . value } >
411
+ < VFieldLabel ref = { floatingLabelRef } floating for = { id . value } aria-hidden = { ! isActive . value } >
411
412
{ label ( ) }
412
413
</ VFieldLabel >
413
414
) }
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ export const VFieldLabel = genericComponent()({
27
27
props . class ,
28
28
] }
29
29
style = { props . style }
30
- aria-hidden = { props . floating || undefined }
31
30
v-slots = { slots }
32
31
/>
33
32
) )
You can’t perform that action at this time.
0 commit comments