Panel: Header accessibility issue #3904
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Panel component breaks accessibility when custom header via slot is specified. It's because of this code:
That's mean, there is no id assigned to the header required by
aria-labelledby
at panel's body when slot is used.Reproducer
https://codesandbox.io/p/sandbox/little-platform-xdt2l8
PrimeVue version
3.27.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
Panel's header always has the id targeted by Panel's content.
The text was updated successfully, but these errors were encountered: