Auto Table Of Contents
v1.1.0 Starter

Detailed description

Track selected H2–H6 headings in the article or a custom CSS target. Existing anchors are preserved and unique identifiers are generated for missing or duplicated IDs. Contents lists, menus, footers, dialogs and tabs are excluded to avoid linking to hidden content.

Choose static, sticky or floating placement, width, colors, link offset and mobile collapse. A single link marks the current section. Links focus the heading and respect reduced-motion preferences. Front-end behavior uses a separate script file; the contents navigation is hidden without JavaScript.

Performance

Zero useless scripts, Vanilla JS only.

Native Gutenberg

WCAG compliance for all users.

Starter Vanilla JS

Auto Table Of Contents

JS Weight

2kb

Version

1.1.0

WCAG

WCAG 2.1 AA

1

Likes

2

Downloads

Dependencies None
License Starter
Accessibility WCAG 2.1 AA Compliance

Vanilla JS Architecture

Guaranteed zero technical debt, optimized for Core Web Vitals.

You might also like

Discover more blocks in the category freemium

View the full catalog