Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report][2.7.2] Vicon - aria-hidden should no be set to true in the svg if the aria-hidden attribut have been passed to false #20382

Closed
4dr1en opened this issue Aug 23, 2024 · 1 comment

Comments

@4dr1en
Copy link

4dr1en commented Aug 23, 2024

Environment

Vuetify Version: 2.7.2
Vue Version: 2.7.16
Browsers: Firefox 129.0
OS: Ubuntu undefined

Steps to reproduce

When a v-icon component is used with aria-hidden="false" and the @mdi/js library is used

Expected Behavior

When the attribut aria-hidden is set to false, the svg tag should not have a aria-hidden attribut

Actual Behavior

the svg tag generated have an aria-hidden="true" attribut.

Reproduction Link

https://codepen.io/4dri/pen/MWMGaZY

@KaelWD
Copy link
Member

KaelWD commented Aug 31, 2024

This is fine, aria-description is set on the parent element. If the problem is screenreaders still not reading it you might want to try role="img" and aria-label instead.

@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants