-
Notifications
You must be signed in to change notification settings - Fork 25
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
Collapsible Panel assigns button role to the whole header #2290
Comments
Thanks for reporting this. It might be a regression introduced here #2262 @ddouglasz Can you check? Thanks |
The ui-kit/packages/components/collapsible-panel/src/collapsible-panel.tsx Lines 197 to 210 in aa185a1
|
...or can it somehow have another label at least? |
|
Describe the bug
Collapsible Panel Component assigns button role to the whole header. This creates an ambiguity when there are other interactive elements inside the header.
Expected behavior
Header as a whole should be interactive when there are no elements inside, or the button role should be assigned to the rotating caret icon only.
Screenshots
The text was updated successfully, but these errors were encountered: