Skip to content

PDF Lazy Loader 1.2.1

Choose a tag to compare

@github-actions github-actions released this 07 Oct 20:33
· 2 commits to main since this release

Fixes for Google PageSpeed / Lighthouse findings:

  • Accessibility — color contrast: button and PDF icon colors are darkened (hue preserved) until white text reaches WCAG AA 4.5:1 (default #FF6B6B → #C25151, hover #E63946 → #A54545); subtitle / info / loading / Turnstile texts darkened to ≥ 4.5:1 on the facade background. Admin preview shows the effective colors
  • Accessibility — heading order: facade title is not a heading (<h3> removed in 1.2.0, admin preview aligned)
  • Performance — render-blocking request: pdf-lazy-loader.css is inlined (minified) instead of a separate <link>
  • Performance — network dependency tree: minified pdf-lazy-loader.min.js (24 KB → 13 KB, ~4 KB gzip), still defer in footer
  • Performance — LCP render delay: facade is server-rendered (since 1.2.0), so the LCP text is painted with the first frame
  • New filters: pdf_lazy_loader_enforce_contrast, pdf_lazy_loader_inline_css

Full Changelog: v0.2-stable...v1.2.1