Current Behavior:
Currently, when I create an accordion drop-down and add headers within it, those headers appear in the Table of Contents (TOC) on the right-hand side of the page. However, clicking on these headers does not automatically expand the corresponding accordion section, which can create confusion for readers.
Proposed Behavior:
Add the ability for accordion drop-downs to automatically expand when a user clicks on a header within the TOC that is contained inside the accordion. This would improve navigation and user experience by ensuring that users are taken directly to the relevant content without needing to manually expand the accordion first.
When a user clicks on a header in the TOC that is inside an accordion, the corresponding accordion should automatically expand.
The page should smoothly scroll to the selected header within the expanded accordion.
This functionality would greatly enhance usability, making it easier for readers to access structured content efficiently.