From 2aa9b19c3cc22c96ef6bcd6d269d9cfa2d1edcc9 Mon Sep 17 00:00:00 2001 From: webmaster Date: Mon, 2 Nov 2026 16:07:20 +0000 Subject: [PATCH] perf(bootcamp): fix CLS/LCP + a11y on EN/DE/ES; add the missing footer-form handler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PageSpeed pass on /odoo-erp-automation-bootcamp/ (EN + DE + ES): - CLS: /style.css was deferred via media="print" onload=... → unstyled first paint shifted BODY 0.31 (live CLS 0.326). Now a normal ; the two hero webp files are preloaded (fetchpriority=high) by viewport. - a11y: footer

→

(heading-order), a lighter brass + underline for links inside on-dark notes (color-contrast, link-in-text-block), .fcopy 3.2:1 → 5.17:1. - best-practices: the footer contact forms and the waiting-list form now post to the CRM webhook instead of action="mailto:", which Lighthouse flags as an insecure request (is-on-https 0 → 1). No Google Ads tag on these pages (no consent gate). - regression fix: these pages do NOT load /script.js, so after the action change the footer form had no JS handler and a submit navigated the visitor to the webhook's raw JSON reply. static/bootcamp-waitlist.js now carries a footer-form handler mirroring /script.js one-for-one (same webhook, payload { email, requirements, area:'message' } in UTM.inject, success/failure behaviour); its two strings are read from the form's own data-ok / data-err attributes so each language keeps its own text. ENDPOINT hoisted to module scope so both handlers share it. - no-JS path: a