We have identified an issue where headings placed inside an Accordion component are not properly supported in the Table of Contents (TOC), and linked navigation does not function as expected.
When an Accordion is added in the editor and heading links are included within it, the TOC does not display those headings. Additionally, when attempting to access linked headings inside the Accordion, the page navigates correctly but the Accordion automatically closes, preventing users from viewing the targeted content.
We request an enhancement to ensure:
Headings inside Accordion components are indexed and displayed in the TOC.
Anchor link navigation to headings within an Accordion preserves the expanded state of the relevant Accordion section.
The Accordion remains open when users navigate to internal heading links.
This will improve usability and ensure consistent navigation behavior.