Link to Anchors Inside Accordions

Requested by: Kristy Condon

Status: Rejected

Change to something that already exists?: Yes
Requires a new CMS Component?: No
Requires New Functionality?: Yes

Description

Original Submission:

“Is it possible to add functionality to the accordion (and tabbed) components to better accommodate anchor links to content inside? I.e. automatically expand an accordion section when a user is directed to an anchor link inside the section; automatically toggle to the appropriate tab for a given anchor link. This functionality would be useful for pages with long lists of FAQs, awards, etc., to enable outside pages to link directly to a specific award or FAQ nested in an accordion component.”

[Requires more investigation… Complication is that accordion header click area are already sequentially numbered IDs. Anchors cannot be ‘double anchored’. Theoretically possible with some complex Javascript that 1) loads the full page in the DOM, 2) scroll to ‘deep’ anchor, 3) trigger a click action on the immediate parent accordion class + the sequential section ID… unsure about resulting content viewport position though. -SQ]

IT investigated further and it actually results in bad UX particularly for mobile. Discussed at Webcore March 2021. No longer needed by communicator. Marked as rejected.


Ticket Number: N/A


Media (Screenshots, etc.)

No media uploaded...