Article Reader UX & Table of Contents upgrades Craft CMS 4.5+ and 5.x blogs, documentation hubs, and editorial sites with UTF-8 safe DOMDocument H2-H4 heading anchors, collapsible WCAG 2.2 AA Table of Contents navigation, multi-language reading time estimates, a sticky scroll progress bar, and automated Schema.org Article JSON-LD.
Key Features
- UTF-8 Safe DOM Parsing: Use
{{ entry.body | injectToc }}or{{ craft.articleUx.toc(entry.body) }}without breaking nested HTML tags — deduplicates repeated headings automatically. - Multi-Language Reading Time:
{{ craft.articleUx.readingTime(entry.body) }}returns word count, minutes, label (4 min read), and ISO 8601 duration (PT4M). - Sticky Scroll Progress Bar: Zero-CLS
role="progressbar"indicator using passive scroll listeners andprefers-reduced-motionsupport. - Copy Heading Anchors & Article JSON-LD: Clickable
#anchor links + automatedSchema.org ArticleJSON-LD with accuratewordCountandtimeRequired.
Installation
composer require flexext/craft-article-reader-ux
php craft plugin/install article-reader-ux
Standard
Plus $5/year after one year.
Installation Instructions
To install this plugin, copy the command above to your terminal.
Reviews
This plugin doesn't have any reviews.
Active Installs
0
License
Craft
Last release
December 1, 2026