`. - Add skip-to-content link: ``. **2H. Add X-Content-Type-Options header** `Security` - **Impact:** MIME sniffing protection - **Problem:** Security basics FAILED: X-Content-Type-Options header is missing. - **Solution:** Send the following header to prevent MIME type sniffing: ```apache Header always set X-Content-Type-Options "nosniff" ``` **2I. Correct HTML structure and heading hierarchy** `SEO` - **Impact:** Document outline, screen reader navigation - **Problem:** W3C reports 7 errors including parser recovery failure; HTML inventory shows 2 H1 elements and missing `main` landmark. - **Solution:** - Ensure only one `

` exists per page. - Wrap main content in `
` tag. - Fix iframe/noscript nesting in `` (move to ``). **2J. Fix serious color-contrast violations and add main landmark** `Accessibility` - **Impact:** WCAG 1.4.3 (Contrast), 1.3.1 (Info & Relationships) - **Problem:** axe-core reports 1 serious violation (color-contrast on headings) and missing `main` landmark. - **Solution:** - Increase contrast ratio on `.heading__main` and `.heading__small` elements to ≥4.5:1. - Wrap primary content in `
` tag. - Add `` before navigation. **2K. Resolve W3C HTML validation errors and parser recovery failure** `SEO` - **Impact:** Document structure, SEO crawling reliability - **Problem:** W3C Validator reports 7 errors including parser recovery failure at line 101 and invalid `iframe` placement in `head`. - **Solution:** - Move GTM `iframe` snippet from `` to ``. - Fix stray `` and `` tags. - Ensure `` tags use valid attributes (`property` or `itemprop` instead of `name` where required). ### Priority 3: Best Practice *Recommended for long-term maintainability.* **3A. Add explicit dimensions to images** `Performance` - **Impact:** CLS (Cumulative Layout Shift) - **Problem:** HTML Inventory shows 50 images without width/height attributes, risking layout shifts despite current CLS of 0.000. - **Solution:** Add `width` and `height` attributes to all `` tags matching the intrinsic aspect ratio: ```html ... ``` **3B. Add explicit image dimensions** `Performance` - **Impact:** CLS prevention, layout stability - **Problem:** 56 images lack explicit width/height attributes, risking layout shifts despite current CLS 0.000. - **Solution:** Ensure all `` tags include `width` and `height` attributes matching the intrinsic aspect ratio: ```html ... ``` **3C. Resolve HTML Validation Errors** `SEO` - **Impact:** Parser reliability, SEO crawling - **Problem:** 7 W3C errors including parser recovery failure at line 101 (iframe/noscript in head). - **Solution:** Move `` out of `` or ensure it is valid HTML5. Fix stray `` and `` tags. Ensure `` tags in head have valid attributes. **3D. Add Explicit Width and Height to Images** `Performance` - **Impact:** CLS (Cumulative Layout Shift) - **Problem:** 53 images missing width/height attributes; CLS is currently 0.000 but at risk. - **Solution:** Add `width` and `height` attributes to all `` tags to reserve space during load: ```html ... ``` **3E. Add image dimensions and lazy loading** `Performance` - **Impact:** CLS, Layout stability - **Problem:** HTML inventory shows 31 images without width/height attributes and 31 without `loading="lazy"`. - **Solution:** - Add `width` and `height` attributes to all `` tags. - Add `loading="lazy"` to images below the fold: ```html ... ``` **3F. Harden Content-Security-Policy (CSP)** `Security` - **Impact:** XSS defense-in-depth - **Problem:** CSP is present but weak (missing `default-src`, `object-src 'none'`). Site signals indicate no auth/payments, so this is lower priority. - **Solution:** Update CSP to restrict resource loading: ```apache Header always set Content-Security-Policy "default-src 'self'; object-src 'none'; frame-ancestors 'self';" ```