Chip component's removable Icon uses aria-hidden
#6864
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The Chip component is using
aria-hidden
on the removable Icon which causes a console error when the Chip is removed from the DOM:I believe the issue is caused by this.
Reproducer
https://primevue.org/chip/#image
PrimeVue version
4.2.3
Vue version
4.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Go to https://primevue.org/chip/#image and remove a chip by using the "X" button/icon.
You should see the error in the console output.
Expected behavior
Closing a chip should not cause a console error.
The text was updated successfully, but these errors were encountered: