Repository navigation
v1.8.0 — Lazy-load popups + dialog focus management
Applies to all sites using clear-pop (auto-update via the plugin updater).
Lazy-load: popup bodies now load over AJAX on first open (with a spinner) instead of printing into the page at load. This keeps heavy markup — and any embedded Gravity Form whose element IDs would otherwise duplicate an inline copy of the same form — out of the initial DOM, fixing duplicate-ID accessibility/validation errors. The footer still renders the body once (discarded) to keep Gravity Forms/Salient asset enqueue unchanged. AJAX render force-registers WPBakery shortcodes (admin-ajax runs as is_admin()).
Dialog accessibility: the popup container now has role=dialog / aria-modal / aria-label; focus moves into the dialog on open, is trapped while open, returns to the trigger on close, and the rest of the page is marked inert + aria-hidden.