Skip to content

Commit

Permalink
fix(VIcon): don't set aria-hidden on the svg tag when it's set to false
Browse files Browse the repository at this point in the history
fixes #20382
  • Loading branch information
4dr1en committed Aug 23, 2024
1 parent b1cd404 commit cfd9146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VIcon/VIcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
}

Expand Down

0 comments on commit cfd9146

Please sign in to comment.