{"url":"https://playandnope.com/","date":"2026-10-13","siteName":"Full-stack digital solutions – premier custom software & design","overall":82,"reasoning":"Site overall 82 is the mean of 5 pages. Scores range 68 (https://playandnope.com/digital-solutions-contact) → 89 (https://playandnope.com/privacy-policy). Weakest page: PSI mobile performance is 57 (desktop 75) with LCP 6.7 s and TBT 660 ms — both heavy penalties — and TTI 11.3 s; the mobile/desktop LCP delta (6.7 s vs 0.6 s) is far beyond the 1.5 s threshold, so mobile-first scoring dominates. The root cause is third-party reCAPTCHA: 1.42 MB from www.gstatic.com, a 346 KB recaptcha__en.js, 176/170/170 KB of unused JS, and long tasks of 263/253/218/214 ms, against a 1.90 MB total page weight. Accessibility is otherwise strong (PSI 99/99, axe 1 minor violation) but the contact form has an unlabeled textarea and axe could not resolve 10 color-contrast nodes. Security basics PASS, yet the CSP is frame-ancestors-only (no default-src, no object-src 'none'), HSTS lacks preload, COOP/CORP are missing, and 3 of 4 cross-origin scripts lack SRI. W3C validation returned HTTP 429, so HTML validity is unscored — that gap lowers confidence to medium. Overall 68: solid SEO (100) and clean image handling (5 SVGs, all with dimensions and lazy loading) offset by a mobile performance profile dragged down by a single third-party script.","confidence":"medium","fixes":[{"priority":1,"category":"Accessibility","title":"Fix color contrast on navigation description text","impact":"WCAG 1.4.3 (AA), axe serious violation","problem":"axe reports 1 serious `color-contrast` violation on `.menu-item-75 > .navigation__description`, and 8 further nodes could not be auto-determined (likely alpha/gradient backgrounds).","solution":"- Raise the text/background contrast ratio to at least 4.5:1 (3:1 for ≥18.66 px bold or ≥24 px text).\n- Inspect the 8 undetermined nodes manually — axe skips elements with gradients or alpha transparency.\n```css\n.navigation__description { color: #4a4a4a; /* verify ≥4.5:1 on the actual background */ }\n```"},{"priority":1,"category":"Performance","title":"Cut reCAPTCHA JavaScript bloat and long tasks","impact":"TBT, TTI, LCP, page weight","problem":"reCAPTCHA pulls 1.42 MB from gstatic.com with ~516 KB of unused JS across three recaptcha__en.js entries and 10 long tasks up to 175 ms; mobile TBT is 332 ms and TTI is 11.2 s.","solution":"reCAPTCHA is the single largest performance cost on this page. Options, in order of effort:\n- **Defer loading until interaction**: only inject `https://www.google.com/recaptcha/api.js` when the user focuses the first form field, not on page load.\n- **Use reCAPTCHA v3 with `render=explicit`** and call `grecaptcha.execute()` on submit, so the 170 KB+ payload is not parsed during initial load.\n- **Consider a lighter alternative** (hCaptcha, Cloudflare Turnstile, or a honeypot + server-side rate limit) if the form volume is low.\n- Verify Gravity Forms is not enqueueing reCAPTCHA twice — the same `recaptcha__en.js` URL appears three times in the unused-JS list."},{"priority":1,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is `frame-ancestors 'self';` only — no `default-src` and no `object-src 'none'`, so scripts, styles and plugins are unrestricted. The page contains a `<textarea>` (user-content signal), which raises the value of a real CSP.","solution":"Deploy a nonce-based CSP with `'strict-dynamic'` rather than a flat allowlist:\n```\nContent-Security-Policy:\n  default-src 'self';\n  script-src 'nonce-{random}' 'strict-dynamic' https://www.google.com https://www.gstatic.com;\n  object-src 'none';\n  base-uri 'none';\n  frame-ancestors 'self';\n  form-action 'self';\n```\nGenerate a fresh nonce per request and add it to every `<script>` tag. Keep `frame-ancestors 'self'` (already present) and add `object-src 'none'` immediately — that is a one-line change."},{"priority":1,"category":"Accessibility","title":"Fix color contrast on navigation descriptions","impact":"WCAG 1.4.3 (AA), axe serious violation","problem":"axe flags a serious `color-contrast` violation on `.menu-item-74 > .navigation__description` and `.menu-item-75 > .navigation__description`; 9 further nodes were left 'incomplete' because axe could not compute contrast.","solution":"- Darken the description text or lighten its background until the ratio is ≥4.5:1 for normal text (≥3:1 for ≥18.66 px bold / ≥24 px).\n- Re-run axe after the change and manually verify the 9 'incomplete' nodes (alpha/gradient backgrounds are skipped by the automated check).\n```css\n.navigation__description { color: #4a4a4a; /* verify against actual bg */ }\n```"},{"priority":1,"category":"Performance","title":"Stop loading reCAPTCHA on page load — defer it until the form is used","impact":"TBT, LCP, TTI, page weight","problem":"recaptcha__en.js is 346 KB and www.gstatic.com accounts for 1.42 MB of the 1.90 MB page; Lighthouse attributes 176/170/170 KB of unused JS and long tasks of 263/253/218/214 ms to it, driving mobile TBT to 660 ms and TTI to 11.3 s.","solution":"Load reCAPTCHA only when the user actually engages the form:\n- Keep `render=explicit` and call `grecaptcha.render()` on first focus/click of the form, not on DOMContentLoaded.\n- Inject the script tag dynamically instead of shipping it in the initial HTML.\n```html\n<script>\n  const form = document.querySelector('form');\n  const load = () => {\n    const s = document.createElement('script');\n    s.src = 'https://www.google.com/recaptcha/api.js?render=explicit&hl=en';\n    s.async = true; s.defer = true;\n    s.onload = () => grecaptcha.render('recaptcha-slot', {sitekey: '…'});\n    document.head.appendChild(s);\n    form.removeEventListener('focusin', load);\n  };\n  form.addEventListener('focusin', load, {once: true});\n</script>\n```\n- If the form is low-risk, evaluate a lighter alternative (Cloudflare Turnstile) that ships far less JS."},{"priority":1,"category":"Performance","title":"Fix mobile LCP (6.7 s) — preload the LCP asset and remove render-blocking scripts","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 6.7 s vs 0.6 s on desktop, FCP 1.99 s, Speed Index 3.66 s, and the HTML inventory still shows 2 render-blocking scripts in the head out of 42 total.","solution":"- Identify the LCP element in DevTools (Performance panel → LCP marker) and preload it:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/path/to/lcp.webp\" fetchpriority=\"high\">\n```\n- Inline critical above-the-fold CSS and defer the rest.\n- Add `defer` (or `async`) to the 2 remaining render-blocking scripts.\n- Preload the primary Roboto woff2 (39.2 KB, 148 ms) with `rel=\"preload\" as=\"font\" crossorigin`."},{"priority":2,"category":"Performance","title":"Reduce mobile LCP (3.1 s) and Speed Index (4.21 s)","impact":"LCP, Speed Index, FCP, TBT","problem":"Mobile LCP is 3.1 s vs 0.5 s on desktop, Speed Index 4.21 s vs 0.668 s, and PSI flags `forced-reflow-insight` (high) plus `legacy-javascript-insight` (high, ~12 KiB savings); jQuery produces a 50 ms long task.","solution":"- Eliminate forced synchronous layout: batch DOM reads before writes, avoid `offsetHeight`/`getBoundingClientRect()` inside loops.\n- Drop legacy JS transpilation targets (browserslist) to remove the ~12 KiB of polyfill overhead.\n- Defer or replace jQuery-dependent code where possible; the 50 ms long task originates from `jquery.f5f8c1b60d5ba64e00fb.min.js`.\n- Preload the actual LCP element and add `<link rel=\"preconnect\">` for `cdn.jsdelivr.net` (currently 0 preconnects on 49 anchors)."},{"priority":2,"category":"Performance","title":"Add explicit width/height to the 5 dimension-less images","impact":"CLS (desktop 0.102)","problem":"HTML inventory shows 5 of 30 images without explicit width/height, and desktop CLS is 0.102 — just over the 0.1 good threshold.","solution":"Add intrinsic dimensions (or an aspect-ratio) so the browser can reserve space:\n```html\n<img src=\"…\" width=\"440\" height=\"138\" alt=\"…\" loading=\"lazy\" decoding=\"async\">\n```\n```css\nimg { aspect-ratio: attr(width) / attr(height); }\n```"},{"priority":2,"category":"SEO","title":"Fix tap targets, structured data and non-descriptive link text","impact":"SEO score (92), mobile usability, rich results","problem":"PSI SEO is 92 with failing audits `tapTargets`, `structuredData` (JSON-LD block present but type reported as Unknown) and `link-text` (4 links without descriptive text); the HTML inventory also shows \"read more\" repeated ×4.","solution":"- Enlarge tap targets to ≥48×48 px with adequate spacing (WCAG 2.5.8).\n- Replace the generic JSON-LD `@type` with a real schema (`Organization`, `WebSite`, `Service`) and validate it.\n- Rewrite vague anchors, e.g. `read more` → `Read more about Full-stack digital solutions`; add `aria-label` where the visible text must stay short."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity (jsdelivr CDN)","problem":"Security basics reports 2 of 2 cross-origin scripts lack an `integrity` attribute; both are loaded from `cdn.jsdelivr.net` (6 requests, 28.6 KB).","solution":"Pin versions and add SRI hashes:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nGenerate hashes with `openssl dgst -sha384 -binary file.js | openssl base64 -A`. Better still, self-host these two libraries."},{"priority":2,"category":"Security","title":"Add the HSTS preload directive","impact":"Transport security hardening","problem":"Security basics advanced check `HSTS preload` fails: `strict-transport-security: max-age=31536000; includeSubDomains` is missing `preload`.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nThen submit the domain at hstspreload.org — note the commitment is effectively permanent, so confirm all subdomains are HTTPS-only first."},{"priority":2,"category":"Performance","title":"Eliminate the /privacy-policy → /privacy-policy/ redirect","impact":"Document latency, FCP, LCP","problem":"The runtime capture shows two document requests — `/privacy-policy` (482 ms, 0 B) redirecting to `/privacy-policy/` (641 ms, 21.1 KB) — matching PSI's `document-latency-insight` (high, ~540 ms estimated savings).","solution":"- Point all internal links and the canonical/OG URLs at the trailing-slash form so the redirect never fires.\n- If the redirect is server-side, resolve it at the edge (CDN rule) rather than in WordPress.\n- Verify with `curl -sI https://playandnope.com/privacy-policy` — expect a single 200, no 301."},{"priority":2,"category":"Performance","title":"Cache the HTML document","impact":"TTFB, repeat-visit LCP, document latency","problem":"The document response sets `cache-control: max-age=0` with an `expires` timestamp already in the past, so browsers revalidate the HTML on every navigation even though WP Rocket is active.","solution":"Serve a short browser TTL with background revalidation for static pages like this one:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nIn WP Rocket, confirm \"Cache Lifespan\" is set and that the privacy-policy URL is not excluded from page caching."},{"priority":2,"category":"Performance","title":"Fix desktop CLS 0.112","impact":"CLS","problem":"Desktop CLS is 0.112 (mobile 0.000), inside the 0.1–0.25 warning band, while the page loads 3 web fonts (105.3 KB) and a deferred cookie-consent banner from cdn.jsdelivr.net.","solution":"- Add `font-display: optional` (or `swap` plus a matched fallback with `size-adjust`) to the three font faces.\n- Reserve space for the cookie-consent banner before its script runs (fixed height container or `min-height` on the wrapper).\n- Re-measure with Lighthouse desktop after each change to confirm CLS drops below 0.1."},{"priority":2,"category":"Performance","title":"Improve mobile FCP and the critical request chain","impact":"FCP, LCP, Speed Index","problem":"Mobile FCP is 1.96 s (desktop 528 ms) and PSI flags `network-dependency-tree-insight` as high priority; the HTML inventory reports 0 preconnect hints despite 6 requests to cdn.jsdelivr.net.","solution":"- Add preconnect/dns-prefetch for the CDN origin:\n```html\n<link rel=\"preconnect\" href=\"https://cdn.jsdelivr.net\" crossorigin>\n```\n- Inline the critical CSS for the above-the-fold region and defer the rest.\n- Self-host the cookie-consent CSS/JS so it is not a third-party round trip on the critical path."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self';` — the security basics table marks \"CSP is strict\" as fail for missing `default-src` and `object-src` not set to `'none'`.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```\nRoll it out in report-only mode first (`Content-Security-Policy-Report-Only`) to catch WordPress plugin violations before enforcing."},{"priority":2,"category":"Performance","title":"Fix desktop CLS (0.238)","impact":"CLS","problem":"Desktop CLS is 0.238 (warning band) versus 0.056 on mobile; Lighthouse attributes the shift to `body.wp-singular > div#page > main#main-content > div.section`.","solution":"- Reserve explicit height/width on the shifting `.section` container so late-arriving content does not push the layout.\n- If the shift comes from a cookie-consent banner or reCAPTCHA badge, render a placeholder of the same size in the initial HTML.\n- Avoid injecting content above existing content after load; use `transform` animations instead of layout-affecting properties.\n- Re-run PSI desktop after the change to confirm CLS drops below 0.1."},{"priority":2,"category":"Best Practices","title":"Resolve console errors and the failed reCAPTCHA stylesheet request","impact":"Best Practices, console errors","problem":"5 console events were captured, including two `requestStorageAccess: Permission denied` errors, a CORS block on `styles__ltr.css` from gstatic.com, and a `net::ERR_FAILED` for the same resource.","solution":"- The CORS failure on `recaptcha__en.js`'s companion stylesheet is inside Google's own iframe — verify it is not caused by a local `Cross-Origin-Resource-Policy` or `Cross-Origin-Embedder-Policy` header you set.\n- The `requestStorageAccess` denials are typically third-party-cookie blocking; they are benign for reCAPTCHA but pollute the console. Confirm the form still submits successfully in a private window.\n- Re-run the browser capture after any CSP change to confirm the error count drops."},{"priority":2,"category":"Performance","title":"Enable document caching","impact":"TTFB, repeat visits","problem":"The document response sends `cache-control: max-age=0` with `expires` equal to `date`, so every visit revalidates the HTML even though WP Rocket is detected.","solution":"- In WP Rocket, confirm \"Cache lifespan\" is set to a positive value and that the contact page is not excluded from the cache.\n- Verify the origin does not override WP Rocket's headers with `max-age=0`.\n- Confirm the cache is warmed for the canonical URL after deploy so the first visitor does not pay the cold-start cost."},{"priority":2,"category":"Security","title":"Add HSTS preload directive","impact":"HSTS coverage","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks the `preload` directive, so the domain cannot be submitted to the browser preload list.","solution":"Append `preload` and submit the domain at https://hstspreload.org:\n```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nNote: preload is a long-term commitment — confirm every subdomain serves HTTPS before submitting."},{"priority":2,"category":"Accessibility","title":"Label the unlabeled textarea in the contact form","impact":"WCAG 3.3.2, 4.1.2","problem":"Form 1 contains a `<textarea>` with no associated label (the 12 hidden inputs without labels are exempt from labelling requirements).","solution":"Associate a visible `<label>` with the textarea:\n```html\n<label for=\"message\">Your message</label>\n<textarea id=\"message\" name=\"message\" required></textarea>\n```\nIf the field is intentionally hidden, add `aria-hidden=\"true\"` and `tabindex=\"-1\"` instead."},{"priority":2,"category":"Accessibility","title":"Fix heading-order skip (h1 → h3)","impact":"WCAG 1.3.1, PSI heading-order audit (weight 3)","problem":"The heading outline jumps from `h1: Get to know us` straight to `h3: Full-stack digital agency powered by curiosity`; axe flags `.hero__description > h3` and PSI's `heading-order` audit fails at weight 3.","solution":"- Change the hero subtitle from `<h3>` to `<h2>` so the outline descends one level at a time.\n- Audit the rest of the outline (h1 ×1, h2 ×7, h3 ×12) for other implicit skips introduced by visual styling rather than semantics."},{"priority":2,"category":"Performance","title":"Enable browser caching for the HTML document","impact":"Repeat-visit TTFB, LCP, FCP","problem":"The document response is served with `cache-control: max-age=0` and `expires` equal to the request time, so returning visitors always re-download the 210 KB decoded HTML even though WP Rocket is active.","solution":"- In WP Rocket → Cache → Browser cache, enable HTML caching with a short TTL (e.g. 10 minutes) and let the CDN handle longer TTLs.\n- Verify with `curl -I` that `cache-control` returns a positive `max-age` and that `vary: Accept-Encoding` is preserved."},{"priority":2,"category":"Performance","title":"Reduce image delivery cost (463 KiB)","impact":"LCP, page weight, Speed Index","problem":"PSI's `image-delivery-insight` estimates 463 KiB of savings; the runtime capture shows 8 image requests totalling 287.5 KB out of 560.6 KB total page weight.","solution":"- Serve correctly sized variants via `srcset`/`sizes` and modern formats (WebP/AVIF) where raster images are used.\n- The page currently ships 44 SVG images; check that any large SVG hero/illustration assets are minified (SVGO) and gzip/brotli-compressed.\n- Confirm the actual LCP element in DevTools Performance panel — the checklist heuristic could not identify a raster hero."},{"priority":2,"category":"Performance","title":"Eliminate forced reflow and shorten the critical request chain","impact":"FCP (1.97 s mobile), Speed Index (2.64 s), document latency","problem":"PSI flags `forced-reflow-insight` (high) and `document-latency-insight` (high, est. 660 ms savings); mobile FCP is 1.97 s versus 538 ms on desktop.","solution":"- Batch DOM reads/writes in JS to avoid layout thrashing (read all geometry first, then write).\n- Reduce the critical request chain: preload the LCP resource and inline critical CSS.\n- Defer non-critical theme scripts further; 24 scripts are already defer/async, so focus on execution order rather than blocking."},{"priority":2,"category":"Security","title":"Complete the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self';` — `default-src` is missing and `object-src` is not `'none'`, so no script or resource restrictions apply. Site signals show no auth, payments, or user content, so this is calibrated to P2 rather than P1.","solution":"- Add `default-src 'self'` and `object-src 'none'` at minimum, then tighten `script-src` with nonces:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self';\n```\n- Note the page loads scripts from `cdn.jsdelivr.net`; allowlist or self-host them before enabling `default-src 'self'`."},{"priority":2,"category":"Accessibility","title":"Label the unlabeled textarea and verify contrast on 10 unresolved nodes","impact":"WCAG 4.1.2, 1.4.3, 1.4.1","problem":"Form 1 contains a `textarea` with no label, and axe returned 10 color-contrast nodes plus 1 link-in-text-block node as \"incomplete\" (could not determine).","solution":"- Add a visible `<label for=\"…\">` (or `aria-label`) to the textarea; the other three text inputs are already labeled.\n- Run a contrast checker on the 10 flagged nodes (likely gradient/alpha text) and raise any below 4.5:1 to at least 4.5:1.\n- Underline in-body links or add a non-color affordance so they are distinguishable without color."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy (default-src, object-src 'none')","impact":"XSS defense-in-depth","problem":"The CSP is `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`, and no script/resource restrictions, so it provides no XSS mitigation. The `hasUserContent` signal is triggered by a contact-form `<textarea>`, not persistent stored content, so this is calibrated to P2 rather than P1.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```\n- Emit a fresh nonce per response and add it to every `<script>` tag.\n- If the contact form submissions are stored and later rendered in wp-admin, treat this as P1."},{"priority":2,"category":"Best Practices","title":"Fix console errors from reCAPTCHA (CORS, storage access, ERR_FAILED)","impact":"Best Practices errorsInConsole, form reliability","problem":"Browser runtime captured 5 console events: two `requestStorageAccess: Permission denied`, a CORS-blocked XHR to gstatic `styles__ltr.css`, and `net::ERR_FAILED`; PSI's `errors-in-console` audit fails.","solution":"- The CORS/ERR_FAILED errors originate inside Google's reCAPTCHA iframe and are usually benign, but they indicate the widget is loading in a degraded state.\n- Verify the reCAPTCHA site key is registered for `playandnope.com` (including any www/non-www variants) in the reCAPTCHA admin console.\n- If the errors persist, switch to a lighter challenge (Turnstile) or a server-side honeypot + rate limit."},{"priority":2,"category":"Performance","title":"Set a real browser cache lifetime on the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response carries `cache-control: max-age=0` with `expires` equal to the request date, so the HTML is revalidated on every navigation despite WP Rocket being active.","solution":"- In WP Rocket → Cache → Browser cache, enable browser caching for HTML.\n- Or set at the origin:\n```\nHeader set Cache-Control \"public, max-age=600, stale-while-revalidate=86400\"\n```\n- Keep `Vary: Accept-Encoding` (already present)."},{"priority":2,"category":"Performance","title":"Preconnect to third-party origins","impact":"LCP, FCP, connection setup","problem":"The page loads from 4 third-party origins (www.gstatic.com 1.42 MB, fonts.gstatic.com 78.4 KB, cdn.jsdelivr.net 28.6 KB, www.google.com) but the HTML inventory reports 0 preconnect links.","solution":"Add early hints in `<head>`:\n```html\n<link rel=\"preconnect\" href=\"https://www.gstatic.com\" crossorigin>\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link rel=\"preconnect\" href=\"https://cdn.jsdelivr.net\" crossorigin>\n```\n- Better still, self-host the two jsdelivr libraries and the Roboto font to remove two origins entirely."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but weak: `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`, and no script/resource restrictions. Site signals show no auth, payments, user content or commerce, so the XSS blast radius is low and this is calibrated to P3.","solution":"Move to a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy:\n  default-src 'self';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  object-src 'none';\n  base-uri 'none';\n  frame-ancestors 'self';\n```\nNote the two jsdelivr scripts will need nonces or self-hosting."},{"priority":3,"category":"Security","title":"Set COOP and CORP, and stop disclosing the server banner","impact":"Origin isolation, information disclosure","problem":"`Cross-Origin-Opener-Policy` and `Cross-Origin-Resource-Policy` are missing, and the response discloses `Server: Apache`; the WordPress login form is also served on the default `/wp-login.php` path.","solution":"```\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always unset Server\nServerSignature Off\n```\nAlso move the login form off `/wp-login.php` (custom slug or a login plugin) to cut automated credential-stuffing noise."},{"priority":3,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sends `cache-control: max-age=0` with `expires` equal to the request date, forcing revalidation on every navigation despite WP Rocket being active.","solution":"Serve a short but non-zero TTL with revalidation support:\n```\nCache-Control: public, max-age=60, stale-while-revalidate=300\n```\nKeep the WP Rocket page cache for the origin and let the CDN/browser absorb repeat views."},{"priority":3,"category":"Best Practices","title":"Re-run W3C HTML validation","impact":"HTML validity coverage","problem":"The W3C Validator returned HTTP 429 (rate limited), so HTML validity is unverified for this run — 88% audit coverage.","solution":"Re-run the validator after the rate limit resets, or validate locally:\n```bash\nnpx html-validate https://playandnope.com/\n```\nGiven 152 KB of HTML and 22 scripts, expect a handful of nesting/attribute warnings worth triaging."},{"priority":3,"category":"Security","title":"Add HSTS preload","impact":"Transport security","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks the `preload` directive, which the security basics table marks as fail.","solution":"- Append `preload` to the header:\n```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\n- Confirm every subdomain is HTTPS-only, then submit the domain at hstspreload.org."},{"priority":3,"category":"Security","title":"Add Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy","impact":"Origin isolation, cross-origin data leaks","problem":"Both COOP and CORP are missing (advanced-tier fails in the security basics table).","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nUse `same-site` for CORP if any subdomain legitimately embeds these assets."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated link text and verify unresolved contrast","impact":"WCAG 2.4.4, 1.4.3","problem":"The HTML inventory lists 34 anchors with repeated identical text (\"home\" ×2, \"work\" ×2, \"contact\" ×2, \"info@playandnope.com\" ×2, etc.), and axe returned 9 incomplete color-contrast nodes plus 1 link-in-text-block node it could not resolve.","solution":"- Give each duplicate link a distinct accessible name:\n```html\n<a href=\"/work/\" aria-label=\"View our work portfolio\">work</a>\n```\n- Manually check the 9 unresolved contrast nodes (likely gradient/alpha text) against 4.5:1 for body copy and 3:1 for large text.\n- Ensure in-text links are distinguishable by more than color (underline or weight)."},{"priority":3,"category":"SEO","title":"Fix structured data","impact":"Rich results eligibility","problem":"PSI flags `structuredData` as a failing SEO audit and the single JSON-LD block is typed \"Unknown\", so no valid schema.org entity is being emitted.","solution":"- Replace the block with a valid type, e.g. `WebPage` / `Organization`:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"WebPage\",\"name\":\"Privacy Policy\",\"url\":\"https://playandnope.com/privacy-policy/\"}\n```\n- Validate with the Rich Results Test and the Schema Markup Validator."},{"priority":3,"category":"Performance","title":"Trim legacy JavaScript and unused CSS","impact":"JS/CSS bytes, FCP","problem":"PSI estimates 12 KiB savings from legacy JavaScript and 13 KiB from unused CSS rules; the runtime capture shows 103.6 KB of script and 23.0 KB of stylesheet bytes.","solution":"- Add a modern `browserslist` target so the build stops shipping transpiled polyfills.\n- Purge unused CSS rules at build time (or use WP Rocket's Remove Unused CSS).\n- Re-check the 22 scripts for duplicates — jQuery plus jquery-migrate are both loaded."},{"priority":3,"category":"Security","title":"Move the WordPress login off the default path","impact":"Brute-force surface","problem":"The security basics table warns that the login form is served on the default `/wp-login.php` path, which is the first target for credential-stuffing bots.","solution":"- Rename the login URL (e.g. WPS Hide Login) and block direct `/wp-login.php` access at the edge.\n- Enforce 2FA for all accounts and rate-limit `/wp-login.php` and `wp-json/wp/v2/users`.\n- Keep the existing xmlrpc.php block in place."},{"priority":3,"category":"Security","title":"Suppress the Server header","impact":"Technology disclosure","problem":"The response discloses `Server: Apache`, which aids targeted fingerprinting.","solution":"```\nServerTokens Prod\nServerSignature Off\n```\nOr strip the header at the reverse proxy / CDN edge."},{"priority":3,"category":"Accessibility","title":"Resolve the presentation-role-conflict on the reCAPTCHA iframe","impact":"WCAG 4.1.2","problem":"axe reports one minor `presentation-role-conflict` violation on `iframe[title=\"reCAPTCHA\"]` — the element is marked presentational but is focusable.","solution":"- If the iframe is decorative, add `tabindex=\"-1\"` and `aria-hidden=\"true\"` alongside `role=\"presentation\"`.\n- If it is interactive (reCAPTCHA is), remove `role=\"presentation\"` instead.\n- This is inside Google's injected markup — check whether a local wrapper is adding the conflicting role."},{"priority":3,"category":"Accessibility","title":"Verify color contrast on the 10 incomplete nodes","impact":"WCAG 1.4.3","problem":"axe could not determine contrast for 10 nodes (likely alpha-transparency or gradients) and flagged 1 `link-in-text-block` node as incomplete.","solution":"- Manually check the 10 nodes with a contrast checker against the rendered background.\n- Ensure in-text links are distinguishable by more than color alone (underline, weight, or an icon).\n- Re-run axe after any theme color change to confirm."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Link purpose, crawl clarity","problem":"43 anchors include repeated vague text such as \"home\" ×2, \"work\" ×2, \"about\" ×2, \"contact\" ×2, and \"info@playandnope.com\" ×3.","solution":"- Add `aria-label` to icon-only or repeated links, e.g. `<a href=\"/work/\" aria-label=\"View our work\">work</a>`.\n- For the repeated email link, vary the visible text or add context via `aria-describedby`."},{"priority":3,"category":"SEO","title":"Fix the failing structuredData audit","impact":"Rich results eligibility","problem":"PSI reports `structuredData` as a failing SEO audit, and the single JSON-LD block on the page has an unrecognised type.","solution":"- Validate the JSON-LD block with Google's Rich Results Test.\n- Use a recognised schema type (`Organization`, `LocalBusiness`, `ContactPage`, or `WebSite`) with the required properties.\n- Add `@id` and `url` fields so the entity can be linked across pages."},{"priority":3,"category":"Security","title":"Add HSTS preload directive","impact":"HSTS preload list eligibility","problem":"`strict-transport-security: max-age=31536000; includeSubDomains` is set but lacks `preload`, so the domain cannot be submitted to the HSTS preload list.","solution":"- Append `preload` and submit at https://hstspreload.org once you are confident every subdomain is HTTPS-only:\n```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```"},{"priority":3,"category":"Security","title":"Add COOP and CORP headers","impact":"Cross-origin isolation, side-channel mitigation","problem":"`cross-origin-opener-policy` and `cross-origin-resource-policy` are both missing; the tool rates these low severity and the site has no auth or payment surface.","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\n- Test after deploy: COOP can break OAuth popups and cross-origin window messaging."},{"priority":3,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain tampering risk","problem":"2 of 2 cross-origin scripts (from `cdn.jsdelivr.net`) lack an `integrity` attribute, so a compromised CDN could inject arbitrary JS.","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\n- Generate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`.\n- Alternatively self-host the two jsdelivr libraries."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text and fix structured data","impact":"Link purpose, rich-result eligibility","problem":"The inventory lists repeated vague anchors (\"home\" ×2, \"work\" ×2, \"about\" ×2, \"contact\" ×2, \"design & innovation\" ×2) and PSI's `structuredData` audit fails; the single JSON-LD block is typed \"Unknown\".","solution":"- Add `aria-label` or visually hidden context to repeated anchors so each link's purpose is unique out of context.\n- Replace the unrecognised JSON-LD with a valid `Organization` / `LocalBusiness` schema and validate it in the Rich Results Test.\n- Also review the failing `tapTargets` audit — ensure interactive elements meet the 44×44 px minimum."},{"priority":3,"category":"SEO","title":"Fix tap targets and structured data","impact":"Mobile usability, rich results","problem":"PSI's modeled audits `tapTargets` and `structuredData` both fail, and the single JSON-LD block has type \"Unknown\".","solution":"- Ensure every interactive element is at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Replace the unrecognized JSON-LD with a valid `Organization` / `ContactPage` graph:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"ContactPage\",\"name\":\"Contact\",\"url\":\"https://playandnope.com/digital-solutions-contact/\"}\n```"},{"priority":3,"category":"Security","title":"Add HSTS preload, COOP and CORP headers","impact":"Transport hardening, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` without `preload`; Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both missing.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\n```\n- Submit the domain at hstspreload.org once the preload directive is live."},{"priority":3,"category":"Security","title":"Reduce technology disclosure and move the login path","impact":"Attack surface, fingerprinting","problem":"The response discloses `Server: Apache`, and the login form is served on the default `/wp-login.php` path (both flagged as warnings).","solution":"- `ServerTokens Prod` and `ServerSignature Off` in Apache.\n- Move the login to a custom path (e.g. via a security plugin) and add rate limiting / 2FA.\n- Optionally set `X-Permitted-Cross-Domain-Policies: none`."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text and fix the heading typo","impact":"Link purpose, content quality","problem":"The page repeats identical anchor text ('home' ×2, 'work' ×2, 'contact' ×2, 'about' ×2, 'development' ×2, etc.) and the h2 reads \"Let's start theconverstation\".","solution":"- Add `aria-label` or visually hidden context to repeated nav links, e.g. `<a href=\"/work\" aria-label=\"View our work\">work</a>`.\n- Correct the h2 to \"Let's start the conversation\"."}],"coverage":{"pct":88,"missing":["W3C Validator: W3C HTTP 429"]},"siteSummary":{"pagesAudited":5,"pagesAttempted":5,"urls":["https://playandnope.com/","https://playandnope.com/privacy-policy","https://playandnope.com/contact","https://playandnope.com/full-stack-digital-agency","https://playandnope.com/digital-solutions-contact"]},"psiSnapshot":{"rows":[{"pageUrl":"https://playandnope.com/","perfMobile":90,"perfDesktop":97,"lcpMobileMs":3095,"lcpDesktopMs":525.089026969383,"clsMobile":0,"clsDesktop":0.10171540446720644},{"pageUrl":"https://playandnope.com/privacy-policy","perfMobile":96,"perfDesktop":96,"lcpMobileMs":2406.6901,"lcpDesktopMs":569.8552699999999,"clsMobile":0,"clsDesktop":0.11178746190401789},{"pageUrl":"https://playandnope.com/contact","perfMobile":83,"perfDesktop":78,"lcpMobileMs":3184.064084309707,"lcpDesktopMs":1173.4493203862205,"clsMobile":0.05618303732076567,"clsDesktop":0.2384390689993353},{"pageUrl":"https://playandnope.com/full-stack-digital-agency","perfMobile":97,"perfDesktop":98,"lcpMobileMs":2271.01245,"lcpDesktopMs":557.7139999999999,"clsMobile":0.00992255602736087,"clsDesktop":0.08365170837433367},{"pageUrl":"https://playandnope.com/digital-solutions-contact","perfMobile":57,"perfDesktop":75,"lcpMobileMs":6688.987162677051,"lcpDesktopMs":587.7156093506052,"clsMobile":0.0557996926161437,"clsDesktop":0.2386495871390143}]},"optimizationChecklist":{"items":[{"id":"caching","title":"Page caching plugin / CDN active","status":"pass","detail":"Caching plugin detected (WP Rocket)","evidence":["HTML markers: WP Rocket","generator: WP Rocket 3.23.5.1"]},{"id":"compression","title":"Response compressed (gzip / brotli)","status":"pass","detail":"Document response is compressed with gzip.","evidence":["content-encoding: gzip","decoded body: 174265 bytes","ratio: 0.172"]},{"id":"lazyload","title":"Images lazy-loaded","status":"n/a","detail":"No raster <img> elements found (25 SVGs, 5 placeholders excluded).","evidence":[]},{"id":"heroEager","title":"Hero image eagerly loaded","status":"n/a","detail":"No raster <img> elements found (25 SVGs, 5 placeholders excluded).","evidence":[]},{"id":"heroBackground","title":"Hero is a real <img> (not a CSS background-image)","status":"n/a","detail":"No CSS background-images detected on raster-image-eligible elements.","evidence":[]},{"id":"responsive","title":"Responsive images (srcset / <picture>)","status":"n/a","detail":"Only 0 raster images on the page (25 SVGs, 5 placeholders excluded) — responsive-image rule does not apply.","evidence":[]},{"id":"imageSizes","title":"Reasonable number of image sizes","status":"n/a","detail":"Too few raster images to evaluate srcset width variety.","evidence":[]},{"id":"scriptsFooter","title":"JS scripts not blocking in <head>","status":"pass","detail":"No render-blocking scripts in <head>.","evidence":[]}],"summary":{"passed":3,"warned":0,"failed":0,"notApplicable":5},"priorities":[]},"perPageOverall":[{"url":"https://playandnope.com/","overall":84,"reasoning":"PSI mobile 90 / desktop 97 with clean lab CWV on desktop (LCP 0.5 s, TBT 0 ms) and only mild mobile warnings (LCP 3.1 s, FCP 1.86 s, Speed Index 4.21 s) — the mobile/desktop LCP delta of 2.6 s is large but the score gap is only 7 points, so performance is a modest drag rather than a failure. Accessibility is near-perfect (Lighthouse 100/100) but axe still flags 1 serious color-contrast violation on `.menu-item-75 > .navigation__description` plus 8 undetermined contrast nodes. Image assets are in good shape: 30 images, 0 missing alt, 0 missing lazy-loading, and the page is SVG-heavy (25 SVGs, 5 placeholders) so no raster-format penalty applies — only 5 images lack explicit width/height, which aligns with the desktop CLS of 0.102. Security basics PASS, but the advanced tier fails on CSP strictness (no `default-src`, `object-src` not `'none'`), missing HSTS preload, missing COOP/CORP, and 2 cross-origin jsdelivr scripts without SRI; with no auth, payments, UGC or commerce signals, CSP hardening is calibrated down to P3. SEO sits at 92 with failing `tapTargets`, `structuredData` (JSON-LD type reported as Unknown) and `link-text` (4 non-descriptive links), and the document ships `cache-control: max-age=0`. W3C validation returned HTTP 429, so HTML validity is unverified and confidence is medium.","confidence":"medium","fixes":[{"priority":1,"category":"Accessibility","title":"Fix color contrast on navigation description text","impact":"WCAG 1.4.3 (AA), axe serious violation","problem":"axe reports 1 serious `color-contrast` violation on `.menu-item-75 > .navigation__description`, and 8 further nodes could not be auto-determined (likely alpha/gradient backgrounds).","solution":"- Raise the text/background contrast ratio to at least 4.5:1 (3:1 for ≥18.66 px bold or ≥24 px text).\n- Inspect the 8 undetermined nodes manually — axe skips elements with gradients or alpha transparency.\n```css\n.navigation__description { color: #4a4a4a; /* verify ≥4.5:1 on the actual background */ }\n```"},{"priority":2,"category":"Performance","title":"Reduce mobile LCP (3.1 s) and Speed Index (4.21 s)","impact":"LCP, Speed Index, FCP, TBT","problem":"Mobile LCP is 3.1 s vs 0.5 s on desktop, Speed Index 4.21 s vs 0.668 s, and PSI flags `forced-reflow-insight` (high) plus `legacy-javascript-insight` (high, ~12 KiB savings); jQuery produces a 50 ms long task.","solution":"- Eliminate forced synchronous layout: batch DOM reads before writes, avoid `offsetHeight`/`getBoundingClientRect()` inside loops.\n- Drop legacy JS transpilation targets (browserslist) to remove the ~12 KiB of polyfill overhead.\n- Defer or replace jQuery-dependent code where possible; the 50 ms long task originates from `jquery.f5f8c1b60d5ba64e00fb.min.js`.\n- Preload the actual LCP element and add `<link rel=\"preconnect\">` for `cdn.jsdelivr.net` (currently 0 preconnects on 49 anchors)."},{"priority":2,"category":"Performance","title":"Add explicit width/height to the 5 dimension-less images","impact":"CLS (desktop 0.102)","problem":"HTML inventory shows 5 of 30 images without explicit width/height, and desktop CLS is 0.102 — just over the 0.1 good threshold.","solution":"Add intrinsic dimensions (or an aspect-ratio) so the browser can reserve space:\n```html\n<img src=\"…\" width=\"440\" height=\"138\" alt=\"…\" loading=\"lazy\" decoding=\"async\">\n```\n```css\nimg { aspect-ratio: attr(width) / attr(height); }\n```"},{"priority":2,"category":"SEO","title":"Fix tap targets, structured data and non-descriptive link text","impact":"SEO score (92), mobile usability, rich results","problem":"PSI SEO is 92 with failing audits `tapTargets`, `structuredData` (JSON-LD block present but type reported as Unknown) and `link-text` (4 links without descriptive text); the HTML inventory also shows \"read more\" repeated ×4.","solution":"- Enlarge tap targets to ≥48×48 px with adequate spacing (WCAG 2.5.8).\n- Replace the generic JSON-LD `@type` with a real schema (`Organization`, `WebSite`, `Service`) and validate it.\n- Rewrite vague anchors, e.g. `read more` → `Read more about Full-stack digital solutions`; add `aria-label` where the visible text must stay short."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity (jsdelivr CDN)","problem":"Security basics reports 2 of 2 cross-origin scripts lack an `integrity` attribute; both are loaded from `cdn.jsdelivr.net` (6 requests, 28.6 KB).","solution":"Pin versions and add SRI hashes:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nGenerate hashes with `openssl dgst -sha384 -binary file.js | openssl base64 -A`. Better still, self-host these two libraries."},{"priority":2,"category":"Security","title":"Add the HSTS preload directive","impact":"Transport security hardening","problem":"Security basics advanced check `HSTS preload` fails: `strict-transport-security: max-age=31536000; includeSubDomains` is missing `preload`.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nThen submit the domain at hstspreload.org — note the commitment is effectively permanent, so confirm all subdomains are HTTPS-only first."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but weak: `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`, and no script/resource restrictions. Site signals show no auth, payments, user content or commerce, so the XSS blast radius is low and this is calibrated to P3.","solution":"Move to a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy:\n  default-src 'self';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  object-src 'none';\n  base-uri 'none';\n  frame-ancestors 'self';\n```\nNote the two jsdelivr scripts will need nonces or self-hosting."},{"priority":3,"category":"Security","title":"Set COOP and CORP, and stop disclosing the server banner","impact":"Origin isolation, information disclosure","problem":"`Cross-Origin-Opener-Policy` and `Cross-Origin-Resource-Policy` are missing, and the response discloses `Server: Apache`; the WordPress login form is also served on the default `/wp-login.php` path.","solution":"```\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always unset Server\nServerSignature Off\n```\nAlso move the login form off `/wp-login.php` (custom slug or a login plugin) to cut automated credential-stuffing noise."},{"priority":3,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sends `cache-control: max-age=0` with `expires` equal to the request date, forcing revalidation on every navigation despite WP Rocket being active.","solution":"Serve a short but non-zero TTL with revalidation support:\n```\nCache-Control: public, max-age=60, stale-while-revalidate=300\n```\nKeep the WP Rocket page cache for the origin and let the CDN/browser absorb repeat views."},{"priority":3,"category":"Best Practices","title":"Re-run W3C HTML validation","impact":"HTML validity coverage","problem":"The W3C Validator returned HTTP 429 (rate limited), so HTML validity is unverified for this run — 88% audit coverage.","solution":"Re-run the validator after the rate limit resets, or validate locally:\n```bash\nnpx html-validate https://playandnope.com/\n```\nGiven 152 KB of HTML and 22 scripts, expect a handful of nesting/attribute warnings worth triaging."}],"perfScore":90,"a11yScore":100,"bestPracticesScore":100,"seoScore":92,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://playandnope.com/privacy-policy","overall":89,"reasoning":"PSI is near-perfect on both strategies — 96 performance, 100 accessibility, 100 best practices, 100 SEO — with clean mobile lab CWV (LCP 2.4 s, CLS 0.000, TBT 0 ms, TTFB 3 ms) and 0 axe violations across 36 passes. The remaining drags are small but real: mobile FCP 1.96 s sits just above the 1.8 s threshold, desktop CLS 0.112 is in the warning band, the runtime capture shows a `/privacy-policy` → `/privacy-policy/` redirect costing ~480 ms, and the HTML document ships `cache-control: max-age=0`. Security basics PASS, but the advanced tier fails on CSP strictness (only `frame-ancestors 'self'`, no `default-src` or `object-src 'none'`), HSTS preload, and missing COOP/CORP, and 2 of 2 cross-origin jsdelivr scripts lack SRI. Because site signals show no auth, payments, UGC, or commerce on this page, CSP is calibrated to P2 rather than P1 — though a WordPress login does exist at the default `/wp-login.php` path. W3C validation failed with HTTP 429, so HTML conformance is unscored, which is why confidence is medium rather than high.","confidence":"medium","fixes":[{"priority":2,"category":"Performance","title":"Eliminate the /privacy-policy → /privacy-policy/ redirect","impact":"Document latency, FCP, LCP","problem":"The runtime capture shows two document requests — `/privacy-policy` (482 ms, 0 B) redirecting to `/privacy-policy/` (641 ms, 21.1 KB) — matching PSI's `document-latency-insight` (high, ~540 ms estimated savings).","solution":"- Point all internal links and the canonical/OG URLs at the trailing-slash form so the redirect never fires.\n- If the redirect is server-side, resolve it at the edge (CDN rule) rather than in WordPress.\n- Verify with `curl -sI https://playandnope.com/privacy-policy` — expect a single 200, no 301."},{"priority":2,"category":"Performance","title":"Cache the HTML document","impact":"TTFB, repeat-visit LCP, document latency","problem":"The document response sets `cache-control: max-age=0` with an `expires` timestamp already in the past, so browsers revalidate the HTML on every navigation even though WP Rocket is active.","solution":"Serve a short browser TTL with background revalidation for static pages like this one:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nIn WP Rocket, confirm \"Cache Lifespan\" is set and that the privacy-policy URL is not excluded from page caching."},{"priority":2,"category":"Performance","title":"Fix desktop CLS 0.112","impact":"CLS","problem":"Desktop CLS is 0.112 (mobile 0.000), inside the 0.1–0.25 warning band, while the page loads 3 web fonts (105.3 KB) and a deferred cookie-consent banner from cdn.jsdelivr.net.","solution":"- Add `font-display: optional` (or `swap` plus a matched fallback with `size-adjust`) to the three font faces.\n- Reserve space for the cookie-consent banner before its script runs (fixed height container or `min-height` on the wrapper).\n- Re-measure with Lighthouse desktop after each change to confirm CLS drops below 0.1."},{"priority":2,"category":"Performance","title":"Improve mobile FCP and the critical request chain","impact":"FCP, LCP, Speed Index","problem":"Mobile FCP is 1.96 s (desktop 528 ms) and PSI flags `network-dependency-tree-insight` as high priority; the HTML inventory reports 0 preconnect hints despite 6 requests to cdn.jsdelivr.net.","solution":"- Add preconnect/dns-prefetch for the CDN origin:\n```html\n<link rel=\"preconnect\" href=\"https://cdn.jsdelivr.net\" crossorigin>\n```\n- Inline the critical CSS for the above-the-fold region and defer the rest.\n- Self-host the cookie-consent CSS/JS so it is not a third-party round trip on the critical path."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity, XSS","problem":"The security basics table reports 2 of 2 cross-origin scripts lack an `integrity` attribute; both load from cdn.jsdelivr.net (cookieconsent.umd.js, iframemanager.js).","solution":"Pin versions and add SRI hashes so a compromised CDN cannot inject code:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nGenerate hashes with `openssl dgst -sha384 -binary file.js | openssl base64 -A`. Better still, self-host both libraries."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self';` — the security basics table marks \"CSP is strict\" as fail for missing `default-src` and `object-src` not set to `'none'`.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```\nRoll it out in report-only mode first (`Content-Security-Policy-Report-Only`) to catch WordPress plugin violations before enforcing."},{"priority":3,"category":"Security","title":"Add HSTS preload","impact":"Transport security","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks the `preload` directive, which the security basics table marks as fail.","solution":"- Append `preload` to the header:\n```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\n- Confirm every subdomain is HTTPS-only, then submit the domain at hstspreload.org."},{"priority":3,"category":"Security","title":"Add Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy","impact":"Origin isolation, cross-origin data leaks","problem":"Both COOP and CORP are missing (advanced-tier fails in the security basics table).","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nUse `same-site` for CORP if any subdomain legitimately embeds these assets."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated link text and verify unresolved contrast","impact":"WCAG 2.4.4, 1.4.3","problem":"The HTML inventory lists 34 anchors with repeated identical text (\"home\" ×2, \"work\" ×2, \"contact\" ×2, \"info@playandnope.com\" ×2, etc.), and axe returned 9 incomplete color-contrast nodes plus 1 link-in-text-block node it could not resolve.","solution":"- Give each duplicate link a distinct accessible name:\n```html\n<a href=\"/work/\" aria-label=\"View our work portfolio\">work</a>\n```\n- Manually check the 9 unresolved contrast nodes (likely gradient/alpha text) against 4.5:1 for body copy and 3:1 for large text.\n- Ensure in-text links are distinguishable by more than color (underline or weight)."},{"priority":3,"category":"SEO","title":"Fix structured data","impact":"Rich results eligibility","problem":"PSI flags `structuredData` as a failing SEO audit and the single JSON-LD block is typed \"Unknown\", so no valid schema.org entity is being emitted.","solution":"- Replace the block with a valid type, e.g. `WebPage` / `Organization`:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"WebPage\",\"name\":\"Privacy Policy\",\"url\":\"https://playandnope.com/privacy-policy/\"}\n```\n- Validate with the Rich Results Test and the Schema Markup Validator."},{"priority":3,"category":"Performance","title":"Trim legacy JavaScript and unused CSS","impact":"JS/CSS bytes, FCP","problem":"PSI estimates 12 KiB savings from legacy JavaScript and 13 KiB from unused CSS rules; the runtime capture shows 103.6 KB of script and 23.0 KB of stylesheet bytes.","solution":"- Add a modern `browserslist` target so the build stops shipping transpiled polyfills.\n- Purge unused CSS rules at build time (or use WP Rocket's Remove Unused CSS).\n- Re-check the 22 scripts for duplicates — jQuery plus jquery-migrate are both loaded."},{"priority":3,"category":"Security","title":"Move the WordPress login off the default path","impact":"Brute-force surface","problem":"The security basics table warns that the login form is served on the default `/wp-login.php` path, which is the first target for credential-stuffing bots.","solution":"- Rename the login URL (e.g. WPS Hide Login) and block direct `/wp-login.php` access at the edge.\n- Enforce 2FA for all accounts and rate-limit `/wp-login.php` and `wp-json/wp/v2/users`.\n- Keep the existing xmlrpc.php block in place."}],"perfScore":96,"a11yScore":100,"bestPracticesScore":100,"seoScore":100,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://playandnope.com/contact","overall":80,"reasoning":"PSI mobile 83 / desktop 78 with SEO 100 and Best Practices 96 — the site is broadly healthy, but performance is dragged by reCAPTCHA: 1.42 MB from gstatic.com, ~516 KB of unused JS across three recaptcha__en.js entries, 10 long tasks up to 175 ms, mobile TBT 332 ms and TTI 11.2 s. Core Web Vitals are mixed — mobile LCP 3.2 s and desktop CLS 0.238 both sit in the warning band, while TTFB is excellent at 5 ms and FCP is 1.98 s mobile / 547 ms desktop. Accessibility is strong (PSI 99, one minor axe violation on the reCAPTCHA iframe) and images are all SVG with alt, dimensions and lazy loading, so the image budget is clean. Security basics PASS, but advanced checks fail: CSP is frame-ancestors-only (no default-src, no object-src 'none'), HSTS lacks preload, COOP/CORP are missing, and 3 of 4 cross-origin scripts lack SRI. W3C validation could not run (HTTP 429), so HTML conformance is unverified — this is the only data gap and it lowers confidence to medium.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Cut reCAPTCHA JavaScript bloat and long tasks","impact":"TBT, TTI, LCP, page weight","problem":"reCAPTCHA pulls 1.42 MB from gstatic.com with ~516 KB of unused JS across three recaptcha__en.js entries and 10 long tasks up to 175 ms; mobile TBT is 332 ms and TTI is 11.2 s.","solution":"reCAPTCHA is the single largest performance cost on this page. Options, in order of effort:\n- **Defer loading until interaction**: only inject `https://www.google.com/recaptcha/api.js` when the user focuses the first form field, not on page load.\n- **Use reCAPTCHA v3 with `render=explicit`** and call `grecaptcha.execute()` on submit, so the 170 KB+ payload is not parsed during initial load.\n- **Consider a lighter alternative** (hCaptcha, Cloudflare Turnstile, or a honeypot + server-side rate limit) if the form volume is low.\n- Verify Gravity Forms is not enqueueing reCAPTCHA twice — the same `recaptcha__en.js` URL appears three times in the unused-JS list."},{"priority":1,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is `frame-ancestors 'self';` only — no `default-src` and no `object-src 'none'`, so scripts, styles and plugins are unrestricted. The page contains a `<textarea>` (user-content signal), which raises the value of a real CSP.","solution":"Deploy a nonce-based CSP with `'strict-dynamic'` rather than a flat allowlist:\n```\nContent-Security-Policy:\n  default-src 'self';\n  script-src 'nonce-{random}' 'strict-dynamic' https://www.google.com https://www.gstatic.com;\n  object-src 'none';\n  base-uri 'none';\n  frame-ancestors 'self';\n  form-action 'self';\n```\nGenerate a fresh nonce per request and add it to every `<script>` tag. Keep `frame-ancestors 'self'` (already present) and add `object-src 'none'` immediately — that is a one-line change."},{"priority":2,"category":"Performance","title":"Fix desktop CLS (0.238)","impact":"CLS","problem":"Desktop CLS is 0.238 (warning band) versus 0.056 on mobile; Lighthouse attributes the shift to `body.wp-singular > div#page > main#main-content > div.section`.","solution":"- Reserve explicit height/width on the shifting `.section` container so late-arriving content does not push the layout.\n- If the shift comes from a cookie-consent banner or reCAPTCHA badge, render a placeholder of the same size in the initial HTML.\n- Avoid injecting content above existing content after load; use `transform` animations instead of layout-affecting properties.\n- Re-run PSI desktop after the change to confirm CLS drops below 0.1."},{"priority":2,"category":"Best Practices","title":"Resolve console errors and the failed reCAPTCHA stylesheet request","impact":"Best Practices, console errors","problem":"5 console events were captured, including two `requestStorageAccess: Permission denied` errors, a CORS block on `styles__ltr.css` from gstatic.com, and a `net::ERR_FAILED` for the same resource.","solution":"- The CORS failure on `recaptcha__en.js`'s companion stylesheet is inside Google's own iframe — verify it is not caused by a local `Cross-Origin-Resource-Policy` or `Cross-Origin-Embedder-Policy` header you set.\n- The `requestStorageAccess` denials are typically third-party-cookie blocking; they are benign for reCAPTCHA but pollute the console. Confirm the form still submits successfully in a private window.\n- Re-run the browser capture after any CSP change to confirm the error count drops."},{"priority":2,"category":"Performance","title":"Enable document caching","impact":"TTFB, repeat visits","problem":"The document response sends `cache-control: max-age=0` with `expires` equal to `date`, so every visit revalidates the HTML even though WP Rocket is detected.","solution":"- In WP Rocket, confirm \"Cache lifespan\" is set to a positive value and that the contact page is not excluded from the cache.\n- Verify the origin does not override WP Rocket's headers with `max-age=0`.\n- Confirm the cache is warmed for the canonical URL after deploy so the first visitor does not pay the cold-start cost."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"3 of 4 cross-origin scripts lack an `integrity` attribute — the jsDelivr-hosted `iframemanager` and `cookieconsent` bundles are the likely candidates.","solution":"Pin each third-party script to a specific version and add SRI hashes:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-...\"\n        crossorigin=\"anonymous\"\n        defer></script>\n```\nGenerate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`. Google's reCAPTCHA loader cannot be SRI-pinned, so exclude it explicitly."},{"priority":2,"category":"Security","title":"Add HSTS preload directive","impact":"HSTS coverage","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks the `preload` directive, so the domain cannot be submitted to the browser preload list.","solution":"Append `preload` and submit the domain at https://hstspreload.org:\n```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nNote: preload is a long-term commitment — confirm every subdomain serves HTTPS before submitting."},{"priority":2,"category":"Accessibility","title":"Label the unlabeled textarea in the contact form","impact":"WCAG 3.3.2, 4.1.2","problem":"Form 1 contains a `<textarea>` with no associated label (the 12 hidden inputs without labels are exempt from labelling requirements).","solution":"Associate a visible `<label>` with the textarea:\n```html\n<label for=\"message\">Your message</label>\n<textarea id=\"message\" name=\"message\" required></textarea>\n```\nIf the field is intentionally hidden, add `aria-hidden=\"true\"` and `tabindex=\"-1\"` instead."},{"priority":3,"category":"Security","title":"Add Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy","impact":"Origin isolation","problem":"COOP and CORP are both missing. The site has no auth or payment surface, so the risk is low, but the headers are cheap.","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nTest the reCAPTCHA iframe and any embedded media after enabling COOP — some third-party embeds break under strict isolation."},{"priority":3,"category":"Security","title":"Suppress the Server header","impact":"Technology disclosure","problem":"The response discloses `Server: Apache`, which aids targeted fingerprinting.","solution":"```\nServerTokens Prod\nServerSignature Off\n```\nOr strip the header at the reverse proxy / CDN edge."},{"priority":3,"category":"Security","title":"Move the WordPress login off the default path","impact":"Brute-force surface","problem":"The login form is served on the default `/wp-login.php` path, which is the first target of automated credential-stuffing bots.","solution":"- Rename the login URL (e.g. WPS Hide Login) and keep `/wp-login.php` returning 404.\n- Add rate limiting and 2FA on the renamed endpoint.\n- Note: the audit found no username enumeration leak, so this is hardening rather than a live exposure."},{"priority":3,"category":"Accessibility","title":"Resolve the presentation-role-conflict on the reCAPTCHA iframe","impact":"WCAG 4.1.2","problem":"axe reports one minor `presentation-role-conflict` violation on `iframe[title=\"reCAPTCHA\"]` — the element is marked presentational but is focusable.","solution":"- If the iframe is decorative, add `tabindex=\"-1\"` and `aria-hidden=\"true\"` alongside `role=\"presentation\"`.\n- If it is interactive (reCAPTCHA is), remove `role=\"presentation\"` instead.\n- This is inside Google's injected markup — check whether a local wrapper is adding the conflicting role."},{"priority":3,"category":"Accessibility","title":"Verify color contrast on the 10 incomplete nodes","impact":"WCAG 1.4.3","problem":"axe could not determine contrast for 10 nodes (likely alpha-transparency or gradients) and flagged 1 `link-in-text-block` node as incomplete.","solution":"- Manually check the 10 nodes with a contrast checker against the rendered background.\n- Ensure in-text links are distinguishable by more than color alone (underline, weight, or an icon).\n- Re-run axe after any theme color change to confirm."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Link purpose, crawl clarity","problem":"43 anchors include repeated vague text such as \"home\" ×2, \"work\" ×2, \"about\" ×2, \"contact\" ×2, and \"info@playandnope.com\" ×3.","solution":"- Add `aria-label` to icon-only or repeated links, e.g. `<a href=\"/work/\" aria-label=\"View our work\">work</a>`.\n- For the repeated email link, vary the visible text or add context via `aria-describedby`."},{"priority":3,"category":"SEO","title":"Fix the failing structuredData audit","impact":"Rich results eligibility","problem":"PSI reports `structuredData` as a failing SEO audit, and the single JSON-LD block on the page has an unrecognised type.","solution":"- Validate the JSON-LD block with Google's Rich Results Test.\n- Use a recognised schema type (`Organization`, `LocalBusiness`, `ContactPage`, or `WebSite`) with the required properties.\n- Add `@id` and `url` fields so the entity can be linked across pages."}],"perfScore":83,"a11yScore":99,"bestPracticesScore":96,"seoScore":100,"securityScore":89,"securityVerdict":"PASS"},{"url":"https://playandnope.com/full-stack-digital-agency","overall":88,"reasoning":"PSI is excellent on both strategies (mobile 97 / desktop 98) with clean Core Web Vitals — LCP 2.3 s mobile, CLS 0.010, TBT 0 ms, TTFB 4 ms — and Best Practices/SEO both score 100, so performance is not the limiting factor here. The main drags are accessibility and hardening: axe reports 1 serious color-contrast violation on `.navigation__description` plus a moderate heading-order skip (h1 → h3), and PSI's own `heading-order` audit fails at weight 3. Security basics PASS, but the advanced tier shows a weak CSP (`frame-ancestors 'self'` only, no `default-src`/`object-src 'none'`), missing HSTS preload, missing COOP/CORP, and 2 cross-origin jsdelivr scripts without SRI. The document is served with `cache-control: max-age=0`, so the HTML is never browser-cached despite WP Rocket being active. Site signals show no auth, payments, user content, or commerce, so CSP/COOP/CORP are calibrated down to P2/P3 rather than P1. W3C validation could not run (HTTP 429), so HTML conformance is unscored and confidence is medium.","confidence":"medium","fixes":[{"priority":1,"category":"Accessibility","title":"Fix color contrast on navigation descriptions","impact":"WCAG 1.4.3 (AA), axe serious violation","problem":"axe flags a serious `color-contrast` violation on `.menu-item-74 > .navigation__description` and `.menu-item-75 > .navigation__description`; 9 further nodes were left 'incomplete' because axe could not compute contrast.","solution":"- Darken the description text or lighten its background until the ratio is ≥4.5:1 for normal text (≥3:1 for ≥18.66 px bold / ≥24 px).\n- Re-run axe after the change and manually verify the 9 'incomplete' nodes (alpha/gradient backgrounds are skipped by the automated check).\n```css\n.navigation__description { color: #4a4a4a; /* verify against actual bg */ }\n```"},{"priority":2,"category":"Accessibility","title":"Fix heading-order skip (h1 → h3)","impact":"WCAG 1.3.1, PSI heading-order audit (weight 3)","problem":"The heading outline jumps from `h1: Get to know us` straight to `h3: Full-stack digital agency powered by curiosity`; axe flags `.hero__description > h3` and PSI's `heading-order` audit fails at weight 3.","solution":"- Change the hero subtitle from `<h3>` to `<h2>` so the outline descends one level at a time.\n- Audit the rest of the outline (h1 ×1, h2 ×7, h3 ×12) for other implicit skips introduced by visual styling rather than semantics."},{"priority":2,"category":"Performance","title":"Enable browser caching for the HTML document","impact":"Repeat-visit TTFB, LCP, FCP","problem":"The document response is served with `cache-control: max-age=0` and `expires` equal to the request time, so returning visitors always re-download the 210 KB decoded HTML even though WP Rocket is active.","solution":"- In WP Rocket → Cache → Browser cache, enable HTML caching with a short TTL (e.g. 10 minutes) and let the CDN handle longer TTLs.\n- Verify with `curl -I` that `cache-control` returns a positive `max-age` and that `vary: Accept-Encoding` is preserved."},{"priority":2,"category":"Performance","title":"Reduce image delivery cost (463 KiB)","impact":"LCP, page weight, Speed Index","problem":"PSI's `image-delivery-insight` estimates 463 KiB of savings; the runtime capture shows 8 image requests totalling 287.5 KB out of 560.6 KB total page weight.","solution":"- Serve correctly sized variants via `srcset`/`sizes` and modern formats (WebP/AVIF) where raster images are used.\n- The page currently ships 44 SVG images; check that any large SVG hero/illustration assets are minified (SVGO) and gzip/brotli-compressed.\n- Confirm the actual LCP element in DevTools Performance panel — the checklist heuristic could not identify a raster hero."},{"priority":2,"category":"Performance","title":"Eliminate forced reflow and shorten the critical request chain","impact":"FCP (1.97 s mobile), Speed Index (2.64 s), document latency","problem":"PSI flags `forced-reflow-insight` (high) and `document-latency-insight` (high, est. 660 ms savings); mobile FCP is 1.97 s versus 538 ms on desktop.","solution":"- Batch DOM reads/writes in JS to avoid layout thrashing (read all geometry first, then write).\n- Reduce the critical request chain: preload the LCP resource and inline critical CSS.\n- Defer non-critical theme scripts further; 24 scripts are already defer/async, so focus on execution order rather than blocking."},{"priority":2,"category":"Security","title":"Complete the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self';` — `default-src` is missing and `object-src` is not `'none'`, so no script or resource restrictions apply. Site signals show no auth, payments, or user content, so this is calibrated to P2 rather than P1.","solution":"- Add `default-src 'self'` and `object-src 'none'` at minimum, then tighten `script-src` with nonces:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self';\n```\n- Note the page loads scripts from `cdn.jsdelivr.net`; allowlist or self-host them before enabling `default-src 'self'`."},{"priority":3,"category":"Security","title":"Add HSTS preload directive","impact":"HSTS preload list eligibility","problem":"`strict-transport-security: max-age=31536000; includeSubDomains` is set but lacks `preload`, so the domain cannot be submitted to the HSTS preload list.","solution":"- Append `preload` and submit at https://hstspreload.org once you are confident every subdomain is HTTPS-only:\n```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```"},{"priority":3,"category":"Security","title":"Add COOP and CORP headers","impact":"Cross-origin isolation, side-channel mitigation","problem":"`cross-origin-opener-policy` and `cross-origin-resource-policy` are both missing; the tool rates these low severity and the site has no auth or payment surface.","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\n- Test after deploy: COOP can break OAuth popups and cross-origin window messaging."},{"priority":3,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain tampering risk","problem":"2 of 2 cross-origin scripts (from `cdn.jsdelivr.net`) lack an `integrity` attribute, so a compromised CDN could inject arbitrary JS.","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\n- Generate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`.\n- Alternatively self-host the two jsdelivr libraries."},{"priority":3,"category":"Best Practices","title":"Suppress the Server header","impact":"Technology disclosure","problem":"The response discloses `Server: Apache`, which the security-basics check flags as a warn and the headers tool rates low severity.","solution":"```\nServerTokens Prod\nServerSignature Off\n```\n- Or strip the header at the reverse proxy / CDN edge."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text and fix structured data","impact":"Link purpose, rich-result eligibility","problem":"The inventory lists repeated vague anchors (\"home\" ×2, \"work\" ×2, \"about\" ×2, \"contact\" ×2, \"design & innovation\" ×2) and PSI's `structuredData` audit fails; the single JSON-LD block is typed \"Unknown\".","solution":"- Add `aria-label` or visually hidden context to repeated anchors so each link's purpose is unique out of context.\n- Replace the unrecognised JSON-LD with a valid `Organization` / `LocalBusiness` schema and validate it in the Rich Results Test.\n- Also review the failing `tapTargets` audit — ensure interactive elements meet the 44×44 px minimum."}],"perfScore":97,"a11yScore":98,"bestPracticesScore":100,"seoScore":100,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://playandnope.com/digital-solutions-contact","overall":68,"reasoning":"PSI mobile performance is 57 (desktop 75) with LCP 6.7 s and TBT 660 ms — both heavy penalties — and TTI 11.3 s; the mobile/desktop LCP delta (6.7 s vs 0.6 s) is far beyond the 1.5 s threshold, so mobile-first scoring dominates. The root cause is third-party reCAPTCHA: 1.42 MB from www.gstatic.com, a 346 KB recaptcha__en.js, 176/170/170 KB of unused JS, and long tasks of 263/253/218/214 ms, against a 1.90 MB total page weight. Accessibility is otherwise strong (PSI 99/99, axe 1 minor violation) but the contact form has an unlabeled textarea and axe could not resolve 10 color-contrast nodes. Security basics PASS, yet the CSP is frame-ancestors-only (no default-src, no object-src 'none'), HSTS lacks preload, COOP/CORP are missing, and 3 of 4 cross-origin scripts lack SRI. W3C validation returned HTTP 429, so HTML validity is unscored — that gap lowers confidence to medium. Overall 68: solid SEO (100) and clean image handling (5 SVGs, all with dimensions and lazy loading) offset by a mobile performance profile dragged down by a single third-party script.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Stop loading reCAPTCHA on page load — defer it until the form is used","impact":"TBT, LCP, TTI, page weight","problem":"recaptcha__en.js is 346 KB and www.gstatic.com accounts for 1.42 MB of the 1.90 MB page; Lighthouse attributes 176/170/170 KB of unused JS and long tasks of 263/253/218/214 ms to it, driving mobile TBT to 660 ms and TTI to 11.3 s.","solution":"Load reCAPTCHA only when the user actually engages the form:\n- Keep `render=explicit` and call `grecaptcha.render()` on first focus/click of the form, not on DOMContentLoaded.\n- Inject the script tag dynamically instead of shipping it in the initial HTML.\n```html\n<script>\n  const form = document.querySelector('form');\n  const load = () => {\n    const s = document.createElement('script');\n    s.src = 'https://www.google.com/recaptcha/api.js?render=explicit&hl=en';\n    s.async = true; s.defer = true;\n    s.onload = () => grecaptcha.render('recaptcha-slot', {sitekey: '…'});\n    document.head.appendChild(s);\n    form.removeEventListener('focusin', load);\n  };\n  form.addEventListener('focusin', load, {once: true});\n</script>\n```\n- If the form is low-risk, evaluate a lighter alternative (Cloudflare Turnstile) that ships far less JS."},{"priority":1,"category":"Performance","title":"Fix mobile LCP (6.7 s) — preload the LCP asset and remove render-blocking scripts","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 6.7 s vs 0.6 s on desktop, FCP 1.99 s, Speed Index 3.66 s, and the HTML inventory still shows 2 render-blocking scripts in the head out of 42 total.","solution":"- Identify the LCP element in DevTools (Performance panel → LCP marker) and preload it:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/path/to/lcp.webp\" fetchpriority=\"high\">\n```\n- Inline critical above-the-fold CSS and defer the rest.\n- Add `defer` (or `async`) to the 2 remaining render-blocking scripts.\n- Preload the primary Roboto woff2 (39.2 KB, 148 ms) with `rel=\"preload\" as=\"font\" crossorigin`."},{"priority":2,"category":"Accessibility","title":"Label the unlabeled textarea and verify contrast on 10 unresolved nodes","impact":"WCAG 4.1.2, 1.4.3, 1.4.1","problem":"Form 1 contains a `textarea` with no label, and axe returned 10 color-contrast nodes plus 1 link-in-text-block node as \"incomplete\" (could not determine).","solution":"- Add a visible `<label for=\"…\">` (or `aria-label`) to the textarea; the other three text inputs are already labeled.\n- Run a contrast checker on the 10 flagged nodes (likely gradient/alpha text) and raise any below 4.5:1 to at least 4.5:1.\n- Underline in-body links or add a non-color affordance so they are distinguishable without color."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy (default-src, object-src 'none')","impact":"XSS defense-in-depth","problem":"The CSP is `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`, and no script/resource restrictions, so it provides no XSS mitigation. The `hasUserContent` signal is triggered by a contact-form `<textarea>`, not persistent stored content, so this is calibrated to P2 rather than P1.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```\n- Emit a fresh nonce per response and add it to every `<script>` tag.\n- If the contact form submissions are stored and later rendered in wp-admin, treat this as P1."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"3 of 4 cross-origin scripts lack an `integrity` attribute (jsdelivr iframemanager, jsdelivr cookieconsent, gstatic reCAPTCHA).","solution":"Pin versions and add SRI hashes:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\n- Generate hashes with `openssl dgst -sha384 -binary file.js | openssl base64 -A`.\n- Self-host the two jsdelivr libraries if you cannot pin them."},{"priority":2,"category":"Best Practices","title":"Fix console errors from reCAPTCHA (CORS, storage access, ERR_FAILED)","impact":"Best Practices errorsInConsole, form reliability","problem":"Browser runtime captured 5 console events: two `requestStorageAccess: Permission denied`, a CORS-blocked XHR to gstatic `styles__ltr.css`, and `net::ERR_FAILED`; PSI's `errors-in-console` audit fails.","solution":"- The CORS/ERR_FAILED errors originate inside Google's reCAPTCHA iframe and are usually benign, but they indicate the widget is loading in a degraded state.\n- Verify the reCAPTCHA site key is registered for `playandnope.com` (including any www/non-www variants) in the reCAPTCHA admin console.\n- If the errors persist, switch to a lighter challenge (Turnstile) or a server-side honeypot + rate limit."},{"priority":2,"category":"Performance","title":"Set a real browser cache lifetime on the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response carries `cache-control: max-age=0` with `expires` equal to the request date, so the HTML is revalidated on every navigation despite WP Rocket being active.","solution":"- In WP Rocket → Cache → Browser cache, enable browser caching for HTML.\n- Or set at the origin:\n```\nHeader set Cache-Control \"public, max-age=600, stale-while-revalidate=86400\"\n```\n- Keep `Vary: Accept-Encoding` (already present)."},{"priority":2,"category":"Performance","title":"Preconnect to third-party origins","impact":"LCP, FCP, connection setup","problem":"The page loads from 4 third-party origins (www.gstatic.com 1.42 MB, fonts.gstatic.com 78.4 KB, cdn.jsdelivr.net 28.6 KB, www.google.com) but the HTML inventory reports 0 preconnect links.","solution":"Add early hints in `<head>`:\n```html\n<link rel=\"preconnect\" href=\"https://www.gstatic.com\" crossorigin>\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link rel=\"preconnect\" href=\"https://cdn.jsdelivr.net\" crossorigin>\n```\n- Better still, self-host the two jsdelivr libraries and the Roboto font to remove two origins entirely."},{"priority":3,"category":"SEO","title":"Fix tap targets and structured data","impact":"Mobile usability, rich results","problem":"PSI's modeled audits `tapTargets` and `structuredData` both fail, and the single JSON-LD block has type \"Unknown\".","solution":"- Ensure every interactive element is at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Replace the unrecognized JSON-LD with a valid `Organization` / `ContactPage` graph:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"ContactPage\",\"name\":\"Contact\",\"url\":\"https://playandnope.com/digital-solutions-contact/\"}\n```"},{"priority":3,"category":"Security","title":"Add HSTS preload, COOP and CORP headers","impact":"Transport hardening, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` without `preload`; Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both missing.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\n```\n- Submit the domain at hstspreload.org once the preload directive is live."},{"priority":3,"category":"Security","title":"Reduce technology disclosure and move the login path","impact":"Attack surface, fingerprinting","problem":"The response discloses `Server: Apache`, and the login form is served on the default `/wp-login.php` path (both flagged as warnings).","solution":"- `ServerTokens Prod` and `ServerSignature Off` in Apache.\n- Move the login to a custom path (e.g. via a security plugin) and add rate limiting / 2FA.\n- Optionally set `X-Permitted-Cross-Domain-Policies: none`."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text and fix the heading typo","impact":"Link purpose, content quality","problem":"The page repeats identical anchor text ('home' ×2, 'work' ×2, 'contact' ×2, 'about' ×2, 'development' ×2, etc.) and the h2 reads \"Let's start theconverstation\".","solution":"- Add `aria-label` or visually hidden context to repeated nav links, e.g. `<a href=\"/work\" aria-label=\"View our work\">work</a>`.\n- Correct the h2 to \"Let's start the conversation\"."}],"perfScore":57,"a11yScore":99,"bestPracticesScore":96,"seoScore":100,"securityScore":89,"securityVerdict":"PASS"}]}