From cfd9146198e1b5ceb55d7cb078301ccbea254ea9 Mon Sep 17 00:00:00 2001 From: adrien charrier Date: Fri, 23 Aug 2024 13:01:22 +0200 Subject: [PATCH] fix(VIcon): don't set aria-hidden on the svg tag when it's set to false fixes #20382 --- packages/vuetify/src/components/VIcon/VIcon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vuetify/src/components/VIcon/VIcon.ts b/packages/vuetify/src/components/VIcon/VIcon.ts index a1cf61753af..b6f0cd842ce 100644 --- a/packages/vuetify/src/components/VIcon/VIcon.ts +++ b/packages/vuetify/src/components/VIcon/VIcon.ts @@ -159,7 +159,7 @@ const VIcon = mixins( xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24', role: 'img', - 'aria-hidden': true, + 'aria-hidden': this.$attrs['aria-hidden'] !== 'false', }, }