Overview
Component name: Table of Contents
Authors who can use: none; on pages by default
Templates/page types that can use component: Service Detail; Service Directory
Required or optional: required
Authoring Fields
Adding the Table of Contents component to the page
The Table of Contents component cannot be added to the page; it appears by default.
Editing the Table of Contents component
The Table of Contents component cannot be edited by content authors.
As H2 sections are added/removed on the page, they automatically appear/disappear in the Table of Contents.
Accessibility
1. Keyboard users will access the in-page navigation (Table of Contents) before the main content on the page. The same applies to pages with the Side Navigation component.
Other Tips
1. The Table of Contents may serve as an outline of page content. Keep this in mind while authoring H2s on the page.
2. On mobile/tablet, the Table of Contents is sticky at the top of the page. As the resident scrolls down, the Table of Contents pushes the Header out of view. As the resident scrolls up, the Header re-appears and pushes the Table of Contents down.