Pre-launch: security + health + a11y hardening & offline Ask MSOS assistant #10
Loading…
Reference in New Issue
No description provided.
Delete Branch "kristijan-dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Pre-launch hardening, QA fixes, and a new offline help assistant for the MSOS site. All verified in a headless browser; every changed page loads with zero console errors.
🔒 Security
l.php; exclude dev files from deploymsosorg.com; 4 YouTube embeds →youtube-nocookie;rel=noopeneron social links🩺 Health / a11y / SEO
imgsafety net; preload homepage hero; Font Awesome non-blockingaria-label, My Route<h1>, 6 meta descriptions🤖 Offline "Ask MSOS" assistant (no API, $0)
assistant_queryanalytics (consent-gated) +docs/GA4-ASSISTANT-REPORT.mdguideNotes / follow-ups
docs/PRE-LAUNCH-CHECKLIST.md🤖 Generated with Claude Code
Site-wide health pass (excludes in-progress blog work). Verified with a local server + headless browser: Timeline, homepage and gallery pages load with zero console errors and no layout distortion. Render bugs - Timeline page (en/mk/si): fix ../../../ paths that overshot the site root, so the main stylesheet and hero image load again. - Meet Student Slovenia 2023 (en/mk/si): remove a <figure> referencing event3-photo-11.png, an image that was never uploaded (broken image). Performance - Add intrinsic width/height to 1039 raster <img> tags to prevent layout shift (CLS); 450 SVGs correctly skipped. Add a global `img { max-width:100%; height:auto }` safety net so aspect ratio is preserved and images never overflow. - Preload the homepage hero (LCP) image on en/mk/si. - Load Font Awesome non-blocking (media=print/onload swap) with a <noscript> fallback, on 225 pages. Accessibility - Add aria-label to 57 unlabeled newsletter email inputs. - Add an sr-only <h1> to the three "My Route" pages (had no h1). - Add an .sr-only utility class. SEO - Add meta descriptions to legal/msos-hub/support pages (en/mk/si). Note: MK/SI meta descriptions are machine-drafted and should be proofread by a native speaker before considering them final. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>