-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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: Aria attributes are not reflected to ion-item in Vue #26538
Comments
Thanks for the issue! This issue has been labeled as |
Hello @pablo7798 thanks for reporting this issue. I've confirmed that there is an issue with our For example, this should be valid usage: <ion-item aria-label="Hello world">
</ion-item> We will capture this as a bug and prioritize in the backlog. |
Thank you @sean-perkins. I was trying to use it like you say but never worked :( |
Hello @pablo7798 can you test with this dev-build and let me know if you run into any issues?
This is based on updates to the framework wrappers: ionic-team/stencil-ds-output-targets#316 |
Hello @sean-perkins, I have tested this build but the problem still there. I will try to explain it better: In my case, the ion-item is transformed to a button, and there is where i want to put the aria-label attibute. First, a capture of the original code fragment: I hope it's clearer, i am trying to make my site more accesible :) |
Thank you for testing that dev-build and providing extra context @pablo7798! Here is an updated version to test with:
This should reflect the When installing the new version, I'd recommend deleting the |
Solved now! So thankful! I have diferent problem with the ion-accordion, it generates a duplicated role attributes and dont provide aria-labels: The code fragment is the same than on my last post, and here is the problem (green color, yellow ones are correct) This might be on another thread, tell me if you prefer to start another one. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Here is an updated dev-build that assigns to
aria-label
, notariaLabel
.Originally posted by @sean-perkins in #25885 (comment)
Hi @sean-perkins,
Im using "@ionic/vue": "^6.4.1", and still having the problem with aria-label on ion-item elements. Does this fix included on the vue version?
Thank you.
The text was updated successfully, but these errors were encountered: