Panel: Restore aria-expanded on the button #24036
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Regression
Related to a regression in the latest release
Describe the bug
In #23327 the Panel component went through some refactoring. Amongst other things, the
aria-expanded
attribute was removed from the Panel button.Now, all the panels in the editor don't give any clue to assistive technology users whether they're collapsed or expanded.
The
aria-expanded
attribute is of fundamental importance not only to communicate the Panel state but also to let users understand how they have to interact with it.To reproduce
aria-expanded
attribute any longerThe text was updated successfully, but these errors were encountered: