Closed dwightjack closed 1 month ago
Thanks for picking this up @dwightjack ! Can you update other similar changes in this PR too? 😁
Thanks for picking this up @dwightjack ! Can you update other similar changes in this PR too? 😁
@zernonia Sure! I removed every other similar instance in https://github.com/radix-vue/radix-vue/pull/888/commits/617bea561035f538cf481266a009546f893f52b2.
Really appreciate the PR @dwightjack ! Good job! 💚🚀
This PR is not related to radix-vue itself, but to the usage of
@iconify/vue
.@iconify/vue already adds
aria-hidden
by default, but if we set thearia-hidden
attribute without any value, this check will remove it completely, leaving arole="img"
without name.If this change is fine and I didn't miss anything, I can submit another to update other examples where we used the attribute on the
Icon
component.