You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fe262e6
Browse filesBrowse the repository at this point in the historyBrowse files
Add a `CollapsibleCard.HeaderDescription` subcomponent that provides an
`aria-describedby` relationship between supplementary header content
(e.g. status badges, summaries) and the collapsible trigger button.
The component uses React context to communicate its auto-generated ID
to the parent `Header`, which sets `aria-describedby` on the trigger.
Content is rendered with `aria-hidden="true"` so assistive technologies
consume it only through the description relationship, avoiding double
announcements.
Also refactors the DataForm card layout to use `HeaderDescription`
instead of the previous manual `aria-describedby` + `useId()` approach.
Made-with: Cursor
-`Dialog`: Expose `initialFocus` and `finalFocus` props on `Dialog.Popup` for custom focus management ([#76860](https://github.com/WordPress/gutenberg/pull/76860)).
9
+
-`CollapsibleCard`: Add `HeaderDescription` subcomponent for supplementary header content with `aria-describedby` relationship.
0 commit comments