{"url":"https://playandnope.com/","date":"2026-10-12","siteName":"Full-stack digital solutions – premier custom software & design","overall":60,"reasoning":"Site overall 60 is the mean of 4 pages. Scores range 45 (https://playandnope.com/contact) → 74 (https://playandnope.com/privacy-policy). Weakest page: Performance is the dominant drag: PSI mobile 34 / desktop 43, with mobile LCP 12.4 s (desktop 2.1 s), TBT 27.81 s, Speed Index 9.38 s, and TTI 43.5 s — the site is effectively unusable on mobile hardware. The TBT is driven by long tasks from core.js (1.72 s), jquery (1.08 s), and repeated global.js tasks (300–400 ms each), plus 1.42 MB of reCAPTCHA JS from gstatic loaded three times. Accessibility is excellent (PSI 99/100, axe 1 minor violation), and image assets are clean (5 SVGs, all with alt/dimensions/lazy). SEO scores 100 but tapTargets and structuredData audits fail, and the Security basics verdict is PASS with weak CSP (only frame-ancestors, no default-src/object-src) and missing COOP/CORP. The mobile/desktop performance gap (34 vs 43, LCP 12.4 s vs 2.1 s) confirms the mobile experience is the outlier and the primary reason the overall lands in the Poor band.","confidence":"low","fixes":[{"priority":1,"category":"Performance","title":"Cut Total Blocking Time by splitting and trimming JavaScript","impact":"TBT, TTI, INP, Max Potential FID","problem":"TBT is 27.52 s and TTI 41.9 s; long tasks come from core.c872dceb075db34864df.min.js (2.29 s), jquery.f5f8c1b60d5ba64e00fb.min.js (1.25 s) and eight ~350–380 ms tasks from global.62444fa2566b44750ca1.min.js, which also wastes 92 KB of unused JS.","solution":"- Drop jQuery / jquery-migrate if the theme does not truly need them; the theme loads both `jquery.min.js` and `wp-includes/js/jquery/jquery-migrate.min.js`.\n- Code-split `global.min.js` so only the modules used on the landing page are parsed; the audit shows 92 KB of unused code in that single file.\n- Break the 2.29 s core.js task into smaller chunks (dynamic `import()` or deferred init on `requestIdleCallback`).\n- Audit third-party scripts (jsdelivr cookieconsent + iframemanager) for main-thread cost."},{"priority":1,"category":"Performance","title":"Fix forced reflow / layout thrash","impact":"TBT, INP, rendering","problem":"`forced-reflow-insight` scores 0.00 and is listed as a high-priority fix; forced synchronous layouts block the main thread and compound the 27.52 s TBT.","solution":"- Batch DOM reads before writes; never interleave `offsetHeight`/`getBoundingClientRect()` with style mutations in a loop.\n- Cache layout values instead of re-reading them per element.\n- Use `requestAnimationFrame` for visual updates and `ResizeObserver` instead of resize-driven read/write cycles.\n- Profile with DevTools Performance panel → \"Forced reflow\" markers to find the offending loop."},{"priority":1,"category":"Performance","title":"Improve LCP, FCP and Speed Index","impact":"LCP, FCP, Speed Index","problem":"LCP is 6.8 s, FCP 4.49 s and Speed Index 8.89 s; `lcp-breakdown-insight` and `network-dependency-tree-insight` both score 0.00, indicating a long critical path.","solution":"- Identify the LCP element and preload it (`<link rel=\"preload\" as=\"image\" fetchpriority=\"high\">` or font preload).\n- Flatten the critical request chain — the network dependency tree insight flags a deep chain.\n- Inline critical CSS and defer the 3 external stylesheets.\n- Reduce the 105.3 KB of font payload (3 font files) with `font-display: swap` and subsetting."},{"priority":1,"category":"Performance","title":"Cut mobile LCP from 6.5 s","impact":"LCP, FCP, Speed Index, TTI","problem":"Mobile LCP is 6.5 s (desktop 0.6 s); `document-latency-insight` estimates 610 ms savings and `network-dependency-tree-insight` is failing.","solution":"- Identify the actual LCP element in DevTools Performance and preload it (`<link rel=\"preload\" as=\"image\" fetchpriority=\"high\">` for images, `rel=\"preload\" as=\"font\" crossorigin` for the LCP font).\n- Flatten the critical request chain: inline critical CSS, defer non-critical CSS, and avoid chaining the LCP resource behind JS.\n- The page loads 3 fonts totalling 105.3 KB — subset them and use `font-display: swap`."},{"priority":1,"category":"Performance","title":"Remove unused JavaScript and the 120 ms long task","impact":"TBT, LCP, TTI","problem":"`global.62444fa2566b44750ca1.min.js` wastes 112 KB and produces a 120 ms long task on mobile.","solution":"- Code-split the theme bundle so only the modules used on this page ship.\n- Tree-shake jQuery-dependent code; the page already defers scripts, so the cost is parse/execute, not blocking.\n- Audit `global.min.js` with coverage in DevTools and drop dead branches."},{"priority":1,"category":"Accessibility","title":"Fix color-contrast on navigation descriptions","impact":"WCAG 1.4.3 (AA)","problem":"axe reports a serious `color-contrast` violation on `.menu-item-630 > .navigation__description`, `.menu-item-116 > .navigation__description`, and `.menu-item-74 > .navigation__description`.","solution":"- Raise the text/background contrast to at least 4.5:1 (3:1 for large text).\n- Example: change the muted nav description color from a light grey to `#595959` on white, or darken the background.\n- Re-run axe after the change; 10 additional nodes were flagged as \"incomplete\" and should be verified manually."},{"priority":1,"category":"Performance","title":"Eliminate 27.8 s of Total Blocking Time from theme JS","impact":"TBT, TTI, INP, Max Potential FID","problem":"TBT is 27,810 ms on mobile (23,860 ms desktop) with long tasks from core.js (1.72 s), jquery.js (1.08 s), and eight global.js tasks of 300–400 ms each; TTI is 43.5 s and Max Potential FID is 1,720 ms.","solution":"Break up the main-thread work:\n- Audit `core.js` / `global.js` for synchronous DOM work; split into route-level chunks and load non-critical modules on interaction.\n- Drop jQuery if the theme allows, or replace with vanilla equivalents for the remaining uses.\n- Move heavy init (sliders, animations, analytics) behind `requestIdleCallback` or `IntersectionObserver`.\n- Re-measure with Lighthouse after each change; target TBT < 200 ms."},{"priority":1,"category":"Performance","title":"Fix 12.4 s mobile LCP","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 12.4 s (desktop 2.1 s) and Speed Index is 9.38 s; the LCP breakdown and network-dependency-tree insights both score 0.00.","solution":"- Identify the LCP element in DevTools Performance panel (likely the hero heading/image).\n- Preload the LCP resource: `<link rel=\"preload\" as=\"image\" href=\"/hero.webp\" fetchpriority=\"high\">`.\n- Remove render-blocking CSS/JS from the critical path; inline critical CSS.\n- Reduce the network dependency chain — the dependency-tree insight flags a deep chain."},{"priority":1,"category":"Performance","title":"Defer or lazy-load reCAPTCHA","impact":"TBT, page weight, LCP","problem":"reCAPTCHA accounts for 1.42 MB from gstatic.com across 7 requests, with three separate loads of recaptcha__en.js wasting 176 KB + 172 KB + 168 KB, and the slowest request taking 3.27 s.","solution":"- Load reCAPTCHA only when the form enters the viewport or on first user interaction:\n```js\nconst io = new IntersectionObserver(([e]) => {\n  if (e.isIntersecting) { loadRecaptcha(); io.disconnect(); }\n});\nio.observe(document.querySelector('form'));\n```\n- Ensure the script is only injected once (the three duplicate loads suggest a double-enqueue bug in the Gravity Forms integration).\n- Consider a lighter alternative (hCaptcha, Turnstile) if the form is low-risk."},{"priority":1,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self';` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions. The site accepts user input via a textarea form, so XSS would persist into stored content.","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.gstatic.com https://www.google.com;\n  object-src 'none';\n  base-uri 'none';\n  frame-ancestors 'self';\n```\nEmit the nonce server-side per request and add it to every `<script>` tag."},{"priority":1,"category":"Performance","title":"Break up long tasks to cut 30.9 s of Total Blocking Time","impact":"TBT, TTI, INP, Max Potential FID","problem":"TBT is 30,870 ms and TTI 44.2 s, with long tasks of 918 ms (global.min.js), 859 ms (core.min.js) and eight more 450–500 ms tasks on the same theme bundle.","solution":"- Split `global.min.js` / `core.min.js` per-route and load non-critical modules on interaction (`import()` on click/scroll).\n- Audit the theme bundle for synchronous loops and heavy DOM work; move work into `requestIdleCallback` or a Web Worker.\n- Drop `jquery-migrate.min.js` if nothing depends on it.\n- Verify with Lighthouse after each change — target TBT < 200 ms."},{"priority":1,"category":"Performance","title":"Eliminate the 0.615 layout shift from the cookie-consent modal","impact":"CLS","problem":"The layout-shift culprit is `body.wp-singular > div#cc-main > div.cm-wrapper > div.cm` with a shift of 0.615 — the cookie-consent banner is injected after paint and pushes content.","solution":"- Reserve space for the consent banner before it renders (fixed-position overlay, or a placeholder with the same height).\n- Load the `cookieconsent` UMD script with `defer` and initialise it before first paint, or render the banner server-side.\n- Re-run PSI and confirm CLS < 0.1."},{"priority":1,"category":"Performance","title":"Trim unused JavaScript and reduce Speed Index","impact":"Speed Index, TBT, page weight","problem":"92 KB of `global.62444fa2566b44750ca1.min.js` is unused, and Speed Index is 6.59 s (score 0.38).","solution":"- Run `npx source-map-explorer` or webpack-bundle-analyzer against the theme bundle and remove dead modules.\n- Code-split below-the-fold widgets (playlist, podcast, jeopardy, snake game embeds) so they load on interaction.\n- Defer or lazy-init the `iframemanager` and `cookieconsent` scripts from jsdelivr."},{"priority":2,"category":"Performance","title":"Enable browser caching on the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sets `cache-control: max-age=0` with an `expires` equal to the request time, so every navigation re-fetches the HTML despite WP Rocket being active.","solution":"- Configure WP Rocket (or the origin) to send a positive `Cache-Control: max-age` for anonymous HTML, e.g. `max-age=600, s-maxage=3600`.\n- Keep `no-cache` only for logged-in or cart/checkout responses."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (jsdelivr cookieconsent + iframemanager) lack an `integrity` attribute, so a CDN compromise would execute arbitrary code.","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```\nGenerate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`, or self-host the two libraries."},{"priority":2,"category":"Security","title":"Add HSTS preload","impact":"Transport security","problem":"HSTS is set (`max-age=31536000; includeSubDomains`) but lacks the `preload` directive, so the domain cannot be submitted to the preload list.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nThen submit at hstspreload.org once all subdomains are HTTPS-only."},{"priority":2,"category":"SEO","title":"Replace vague and non-descriptive link text","impact":"Link purpose, SEO","problem":"The `link-text` audit fails with 4 links lacking descriptive text, and the inventory shows \"read more\" repeated 4 times plus repeated \"design & innovation\", \"development\" and \"technical maintenance\" anchors.","solution":"- Rewrite \"read more\" links to name the destination, e.g. \"Read the Full-stack digital solutions case study\".\n- Where the visible text must stay short, add `aria-label` with the full purpose.\n- Ensure each repeated service link points to a distinct, clearly named target."},{"priority":2,"category":"SEO","title":"Fix structured data","impact":"Rich results eligibility","problem":"The `structuredData` audit fails and the single JSON-LD block is typed \"Unknown\", so search engines cannot interpret the organization/service markup.","solution":"- Validate the existing JSON-LD with the Rich Results Test and Schema Markup Validator.\n- Add an explicit `@type` (e.g. `Organization`, `WebSite`, `ProfessionalService`) with `name`, `url`, `logo` and `sameAs`.\n- Keep `@context` as `https://schema.org`."},{"priority":2,"category":"SEO","title":"Enlarge tap targets","impact":"Mobile usability","problem":"The `tapTargets` audit fails, meaning interactive elements are smaller than the 48×48 px recommended minimum on mobile.","solution":"- Give nav links, footer links and icon buttons at least 48×48 px of tappable area (padding counts).\n- Add spacing between adjacent targets so mis-taps are less likely."},{"priority":2,"category":"Performance","title":"Eliminate the /privacy-policy → /privacy-policy/ redirect","impact":"TTFB, LCP, FCP","problem":"Browser runtime shows two document requests: `/privacy-policy` (483 ms, 0 B) followed by `/privacy-policy/` (372 ms, 21.1 KB).","solution":"- Update internal links and the canonical to the trailing-slash URL so the redirect is skipped.\n- If the redirect is intentional, ensure it is a 301 (not 302) so browsers cache it."},{"priority":2,"category":"SEO","title":"Fix tap targets and structured data","impact":"Mobile usability, rich results","problem":"PSI modeled audits `tapTargets` and `structuredData` are failing; the single JSON-LD block is typed \"Unknown\".","solution":"- Ensure interactive elements are at least 44×44 px with adequate spacing.\n- Replace the generic JSON-LD with a valid `WebPage` / `Organization` schema (`@context`, `@type`, `name`, `url`)."},{"priority":2,"category":"Performance","title":"Ship modern JavaScript to drop legacy polyfills","impact":"Bundle size, TBT","problem":"`legacy-javascript-insight` estimates 10 KiB of savings from transpiled/polyfilled code.","solution":"- Update `browserslist` to modern targets and rebuild the theme bundle.\n- Serve ES2017+ output with a `nomodule` fallback only if you still support legacy browsers."},{"priority":2,"category":"Performance","title":"Set a real Cache-Control on the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response is served with `cache-control: max-age=0`, forcing revalidation on every navigation despite WP Rocket being active.","solution":"For a mostly-static marketing page, allow short browser caching with stale-while-revalidate:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nKeep `max-age=0` only on pages that must reflect logged-in state."},{"priority":2,"category":"Security","title":"Add HSTS preload, COOP, and CORP","impact":"Transport security, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both missing.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nThen submit the domain at hstspreload.org."},{"priority":2,"category":"Accessibility","title":"Label the unlabeled textarea in the contact form","impact":"WCAG 1.3.1, 3.3.2, screen-reader form completion","problem":"Form 1 contains a `textarea` with no label (and 12 hidden inputs without labels, which are lower risk). axe also flagged 23 color-contrast nodes as 'incomplete'.","solution":"- Add a visible `<label for=\"...\">` or `aria-label` to the textarea.\n- Manually verify the 23 color-contrast nodes axe could not resolve (gradients/alpha) against WCAG 4.5:1."},{"priority":2,"category":"Best Practices","title":"Fix the reCAPTCHA console error","impact":"Console errors, Best Practices score","problem":"Browser runtime logged `requestStorageAccess: Permission denied` from the reCAPTCHA anchor iframe, and PSI's `errors-in-console` audit fails.","solution":"- Update the reCAPTCHA integration to the current API version and ensure the iframe is loaded in a first-party context.\n- If the error persists, wrap the call in a try/catch and fall back to a server-side challenge."},{"priority":2,"category":"SEO","title":"Fix failing tapTargets and structuredData audits","impact":"Mobile SEO, rich results eligibility","problem":"PSI reports `tapTargets` and `structuredData` as failing modeled audits; the single JSON-LD block is typed 'Unknown'.","solution":"- Ensure all interactive elements meet the 48×48 px tap-target minimum on mobile.\n- Replace the generic JSON-LD with a valid `Organization` / `LocalBusiness` schema including `name`, `url`, `logo`, and `contactPoint`."},{"priority":2,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`, no script/resource restrictions. The site serves a WordPress admin login at `/wp-login.php`, so an XSS would be session-relevant.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\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```\nGenerate the nonce per request in the theme and add it to every `<script>` tag."},{"priority":2,"category":"Security","title":"Add HSTS preload and COOP/CORP headers","impact":"Transport security, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both missing.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":2,"category":"Accessibility","title":"Fix the h1 → h3 heading skip","impact":"WCAG 1.3.1, screen-reader navigation","problem":"axe reports a moderate `heading-order` violation on `.hero__description > h3`, and the W3C validator flags the same skip (h1 \"Get to know us\" → h3 \"Full-stack digital agency powered by curiosity\").","solution":"- Change the hero `<h3>` to `<h2>` (or promote the h1 to a section heading and demote the hero to h2).\n- Audit the remaining 12 h3s for the same pattern — the outline shows h2 ×7 and h3 ×12 with no h4s.\n- Re-run axe and confirm the `heading-order` rule passes."},{"priority":2,"category":"Performance","title":"Serve WebP/AVIF for the JPEG uploads","impact":"Image bytes, LCP, Speed Index","problem":"The runtime loads 8 JPEGs totalling 287.5 KB, each taking ~1.03 s (e.g. `img-03-388x530.jpg` at 58.4 KB); no WebP or AVIF is served.","solution":"- Convert uploads to WebP/AVIF and add `<picture>` fallbacks.\n- Keep the existing `srcset`/`sizes` and `width`/`height` attributes.\n- Re-encode at the actual rendered size — several files are 530 px tall but may render smaller."},{"priority":2,"category":"Performance","title":"Enable browser caching for the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sets `cache-control: max-age=0` with an `expires` timestamp equal to the request time, so every navigation re-fetches the full 210 KB HTML.","solution":"- In WP Rocket, enable page caching with a sensible TTL and let the CDN serve the cached HTML.\n- Set `Cache-Control: public, max-age=600, stale-while-revalidate=86400` on the document.\n- Keep `Vary: Accept-Encoding` (already present)."},{"priority":3,"category":"Accessibility","title":"Add explicit width/height to 5 images","impact":"CLS","problem":"5 of 30 images lack explicit `width`/`height`; CLS is currently 0.000 but the risk is latent on slower devices and during font/image swaps.","solution":"```html\n<img src=\"…\" alt=\"…\" width=\"440\" height=\"138\" loading=\"lazy\" decoding=\"async\">\n```\nAlso add `aspect-ratio` in CSS for any responsive container."},{"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, with no `default-src` and `object-src` not set to `'none'`. Site signals show no auth, payments, user content or e-commerce, so real XSS impact is limited and this is not a P1.","solution":"- Add `default-src 'self'` and `object-src 'none'` as a baseline.\n- Move to a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```"},{"priority":3,"category":"Security","title":"Add COOP and CORP headers","impact":"Origin isolation","problem":"`Cross-Origin-Opener-Policy` and `Cross-Origin-Resource-Policy` are both missing; with no auth or payment surface the exploit value is low, so this is a low-priority hardening item.","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Security","title":"Reduce WordPress attack surface and technology disclosure","impact":"Brute-force exposure, fingerprinting","problem":"The login form is served on the default `/wp-login.php` path and the `Server: Apache` header discloses the web server.","solution":"- Move or rename the login URL (e.g. a security plugin's custom login slug) and add rate limiting / 2FA.\n- Suppress the server banner: `ServerTokens Prod` and `ServerSignature Off` in Apache.\n- Set `X-Permitted-Cross-Domain-Policies: none`."},{"priority":3,"category":"Best Practices","title":"Ship source maps for first-party JavaScript","impact":"Debuggability","problem":"The `valid-source-maps` audit fails — large first-party bundles such as core.min.js and global.min.js ship without source maps.","solution":"- Emit `.map` files in the production build and reference them with `//# sourceMappingURL=`.\n- Restrict public access to maps if you do not want them indexed."},{"priority":3,"category":"Accessibility","title":"Verify color contrast and link distinguishability flagged as incomplete","impact":"WCAG 1.4.3, 1.4.1","problem":"axe could not determine contrast for 19 nodes and link distinguishability for 1 node (gradients/alpha backgrounds are skipped automatically).","solution":"- Manually check the 19 flagged nodes against 4.5:1 (normal text) / 3:1 (large text) using DevTools' contrast picker.\n- Ensure in-text links are underlined or otherwise distinguishable without relying on color alone."},{"priority":3,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is `frame-ancestors 'self';` only — no `default-src` and no `object-src 'none'`. Site signals show no auth, payments, or user content, so XSS impact is low today.","solution":"- Add `default-src 'self'; object-src 'none'; base-uri 'none';`.\n- If you later add login or user content, move to a nonce + `'strict-dynamic'` policy rather than a flat allowlist."},{"priority":3,"category":"Security","title":"Add HSTS preload, COOP and CORP","impact":"Transport hardening, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; COOP and CORP headers are missing.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nSubmit the domain to hstspreload.org after the preload directive is live."},{"priority":3,"category":"Security","title":"Reduce technology disclosure and move the login path","impact":"Attack-surface reduction","problem":"`Server: Apache` is disclosed and the WordPress login form is served on the default `/wp-login.php` path.","solution":"- Set `ServerTokens Prod` and `ServerSignature Off` in Apache.\n- Move the login form behind a custom path or a WAF rule, and rate-limit `/wp-login.php`."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated link text","impact":"WCAG 2.4.4 link purpose","problem":"The inventory lists repeated vague link text (\"home\", \"work\", \"about\", \"contact\", etc. ×2) and axe flags one `link-in-text-block` node as incomplete.","solution":"- Add `aria-label` or visually hidden text to distinguish repeated nav links.\n- Ensure in-text links are distinguishable without relying on color alone (underline or bold)."},{"priority":3,"category":"Performance","title":"Set a sensible Cache-Control for the document","impact":"Repeat-visit TTFB","problem":"The document response sets `cache-control: max-age=0`, forcing revalidation on every visit despite WP Rocket being active.","solution":"- Allow short-lived browser caching with revalidation, e.g. `Cache-Control: public, max-age=600, stale-while-revalidate=86400`.\n- Keep WP Rocket's page cache for the server side."},{"priority":3,"category":"Best Practices","title":"Fix W3C validation errors on hidden inputs","impact":"HTML validity","problem":"W3C reports 2 errors: hidden inputs carry `autocomplete='off'` (first at line 896, `gform_hidden`).","solution":"Remove `autocomplete` from `type=\"hidden\"` inputs — it is invalid per the HTML spec and has no effect on hidden fields."},{"priority":3,"category":"Security","title":"Reduce technology disclosure and add cross-domain policy header","impact":"Fingerprinting surface","problem":"The `Server: Apache` header is exposed and `X-Permitted-Cross-Domain-Policies` is missing.","solution":"```\nServerTokens Prod\nServerSignature Off\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\n```"},{"priority":3,"category":"Best Practices","title":"Ship source maps for first-party JS","impact":"Debuggability, error tracking","problem":"PSI's `valid-source-maps` audit fails — large first-party bundles (core.js, global.js) ship without source maps.","solution":"Emit `.map` files in the production build and serve them from the same origin (or a private error-tracking endpoint)."},{"priority":3,"category":"Security","title":"Add SRI to cross-origin scripts and hide the server banner","impact":"Supply-chain integrity, information disclosure","problem":"2 of 2 cross-origin scripts (jsdelivr `iframemanager` and `cookieconsent`) lack `integrity` attributes, and the `Server: Apache` header discloses the stack.","solution":"- Add `integrity=\"sha384-…\" crossorigin=\"anonymous\"` to both jsdelivr `<script>` tags, or self-host the libraries.\n- Set `ServerTokens Prod` and `ServerSignature Off` in Apache to suppress the version banner.\n- Consider moving the WordPress login off `/wp-login.php` (currently on the default path)."},{"priority":3,"category":"SEO","title":"Fix structured data and tap targets","impact":"Rich results eligibility, mobile usability","problem":"PSI's modeled audits flag `structuredData` and `tapTargets` as failing, and the single JSON-LD block is reported with type \"Unknown\".","solution":"- Validate the JSON-LD with Google's Rich Results Test and declare an explicit `@type` (e.g. `Organization`, `WebSite`).\n- Ensure interactive elements meet the 44×44 px minimum touch-target size, especially in the nav and footer."}],"coverage":{"pct":93,"missing":["PageSpeed Insights (desktop): PSI HTTP 500","PageSpeed Insights: mobile: PSI request timed out after 240000ms; desktop: PSI HTTP 500","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":34,"perfDesktop":null,"lcpMobileMs":5851,"lcpDesktopMs":null,"clsMobile":0,"clsDesktop":null},{"pageUrl":"https://playandnope.com/privacy-policy","perfMobile":75,"perfDesktop":98,"lcpMobileMs":6480.333200000001,"lcpDesktopMs":605.37615,"clsMobile":0,"clsDesktop":0.08358038489122639},{"pageUrl":"https://playandnope.com/contact","perfMobile":34,"perfDesktop":43,"lcpMobileMs":12361.569412424651,"lcpDesktopMs":2999.056169239593,"clsMobile":0.055351847789132096,"clsDesktop":0.08320985750837988},{"pageUrl":"https://playandnope.com/full-stack-digital-agency","perfMobile":60,"perfDesktop":null,"lcpMobileMs":2200.1893499999996,"lcpDesktopMs":null,"clsMobile":0.01325384501805328,"clsDesktop":null}]},"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":57,"reasoning":"Performance is the dominant drag: PSI mobile 34 with TBT 27.52 s, TTI 41.9 s, LCP 6.8 s, FCP 4.49 s and Speed Index 8.89 s — the main thread is effectively blocked for tens of seconds by core.js (2.29 s long task), jquery (1.25 s) and repeated ~350–380 ms tasks from global.js, plus 92 KB of unused JS. TTFB is only 17 ms, so the bottleneck is entirely client-side execution, not the server. Everything else is strong: axe reports 0 violations (37 passes), Accessibility and Best Practices both score 100, W3C shows 0 errors, and the image inventory is 30 SVGs with 0 missing alt and 0 missing lazy loading. Security basics returns PASS, but advanced checks fail — CSP lacks default-src and object-src 'none', HSTS lacks preload, COOP/CORP are missing, and 2 cross-origin jsdelivr scripts lack SRI. PSI desktop errored with HTTP 500 and mobile data was duplicated for both columns, so the desktop/mobile delta is unknown and confidence is medium.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Cut Total Blocking Time by splitting and trimming JavaScript","impact":"TBT, TTI, INP, Max Potential FID","problem":"TBT is 27.52 s and TTI 41.9 s; long tasks come from core.c872dceb075db34864df.min.js (2.29 s), jquery.f5f8c1b60d5ba64e00fb.min.js (1.25 s) and eight ~350–380 ms tasks from global.62444fa2566b44750ca1.min.js, which also wastes 92 KB of unused JS.","solution":"- Drop jQuery / jquery-migrate if the theme does not truly need them; the theme loads both `jquery.min.js` and `wp-includes/js/jquery/jquery-migrate.min.js`.\n- Code-split `global.min.js` so only the modules used on the landing page are parsed; the audit shows 92 KB of unused code in that single file.\n- Break the 2.29 s core.js task into smaller chunks (dynamic `import()` or deferred init on `requestIdleCallback`).\n- Audit third-party scripts (jsdelivr cookieconsent + iframemanager) for main-thread cost."},{"priority":1,"category":"Performance","title":"Fix forced reflow / layout thrash","impact":"TBT, INP, rendering","problem":"`forced-reflow-insight` scores 0.00 and is listed as a high-priority fix; forced synchronous layouts block the main thread and compound the 27.52 s TBT.","solution":"- Batch DOM reads before writes; never interleave `offsetHeight`/`getBoundingClientRect()` with style mutations in a loop.\n- Cache layout values instead of re-reading them per element.\n- Use `requestAnimationFrame` for visual updates and `ResizeObserver` instead of resize-driven read/write cycles.\n- Profile with DevTools Performance panel → \"Forced reflow\" markers to find the offending loop."},{"priority":1,"category":"Performance","title":"Improve LCP, FCP and Speed Index","impact":"LCP, FCP, Speed Index","problem":"LCP is 6.8 s, FCP 4.49 s and Speed Index 8.89 s; `lcp-breakdown-insight` and `network-dependency-tree-insight` both score 0.00, indicating a long critical path.","solution":"- Identify the LCP element and preload it (`<link rel=\"preload\" as=\"image\" fetchpriority=\"high\">` or font preload).\n- Flatten the critical request chain — the network dependency tree insight flags a deep chain.\n- Inline critical CSS and defer the 3 external stylesheets.\n- Reduce the 105.3 KB of font payload (3 font files) with `font-display: swap` and subsetting."},{"priority":2,"category":"Performance","title":"Enable browser caching on the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sets `cache-control: max-age=0` with an `expires` equal to the request time, so every navigation re-fetches the HTML despite WP Rocket being active.","solution":"- Configure WP Rocket (or the origin) to send a positive `Cache-Control: max-age` for anonymous HTML, e.g. `max-age=600, s-maxage=3600`.\n- Keep `no-cache` only for logged-in or cart/checkout responses."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (jsdelivr cookieconsent + iframemanager) lack an `integrity` attribute, so a CDN compromise would execute arbitrary code.","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```\nGenerate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`, or self-host the two libraries."},{"priority":2,"category":"Security","title":"Add HSTS preload","impact":"Transport security","problem":"HSTS is set (`max-age=31536000; includeSubDomains`) but lacks the `preload` directive, so the domain cannot be submitted to the preload list.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nThen submit at hstspreload.org once all subdomains are HTTPS-only."},{"priority":2,"category":"SEO","title":"Replace vague and non-descriptive link text","impact":"Link purpose, SEO","problem":"The `link-text` audit fails with 4 links lacking descriptive text, and the inventory shows \"read more\" repeated 4 times plus repeated \"design & innovation\", \"development\" and \"technical maintenance\" anchors.","solution":"- Rewrite \"read more\" links to name the destination, e.g. \"Read the Full-stack digital solutions case study\".\n- Where the visible text must stay short, add `aria-label` with the full purpose.\n- Ensure each repeated service link points to a distinct, clearly named target."},{"priority":2,"category":"SEO","title":"Fix structured data","impact":"Rich results eligibility","problem":"The `structuredData` audit fails and the single JSON-LD block is typed \"Unknown\", so search engines cannot interpret the organization/service markup.","solution":"- Validate the existing JSON-LD with the Rich Results Test and Schema Markup Validator.\n- Add an explicit `@type` (e.g. `Organization`, `WebSite`, `ProfessionalService`) with `name`, `url`, `logo` and `sameAs`.\n- Keep `@context` as `https://schema.org`."},{"priority":2,"category":"SEO","title":"Enlarge tap targets","impact":"Mobile usability","problem":"The `tapTargets` audit fails, meaning interactive elements are smaller than the 48×48 px recommended minimum on mobile.","solution":"- Give nav links, footer links and icon buttons at least 48×48 px of tappable area (padding counts).\n- Add spacing between adjacent targets so mis-taps are less likely."},{"priority":3,"category":"Accessibility","title":"Add explicit width/height to 5 images","impact":"CLS","problem":"5 of 30 images lack explicit `width`/`height`; CLS is currently 0.000 but the risk is latent on slower devices and during font/image swaps.","solution":"```html\n<img src=\"…\" alt=\"…\" width=\"440\" height=\"138\" loading=\"lazy\" decoding=\"async\">\n```\nAlso add `aspect-ratio` in CSS for any responsive container."},{"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, with no `default-src` and `object-src` not set to `'none'`. Site signals show no auth, payments, user content or e-commerce, so real XSS impact is limited and this is not a P1.","solution":"- Add `default-src 'self'` and `object-src 'none'` as a baseline.\n- Move to a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```"},{"priority":3,"category":"Security","title":"Add COOP and CORP headers","impact":"Origin isolation","problem":"`Cross-Origin-Opener-Policy` and `Cross-Origin-Resource-Policy` are both missing; with no auth or payment surface the exploit value is low, so this is a low-priority hardening item.","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Security","title":"Reduce WordPress attack surface and technology disclosure","impact":"Brute-force exposure, fingerprinting","problem":"The login form is served on the default `/wp-login.php` path and the `Server: Apache` header discloses the web server.","solution":"- Move or rename the login URL (e.g. a security plugin's custom login slug) and add rate limiting / 2FA.\n- Suppress the server banner: `ServerTokens Prod` and `ServerSignature Off` in Apache.\n- Set `X-Permitted-Cross-Domain-Policies: none`."},{"priority":3,"category":"Best Practices","title":"Ship source maps for first-party JavaScript","impact":"Debuggability","problem":"The `valid-source-maps` audit fails — large first-party bundles such as core.min.js and global.min.js ship without source maps.","solution":"- Emit `.map` files in the production build and reference them with `//# sourceMappingURL=`.\n- Restrict public access to maps if you do not want them indexed."},{"priority":3,"category":"Accessibility","title":"Verify color contrast and link distinguishability flagged as incomplete","impact":"WCAG 1.4.3, 1.4.1","problem":"axe could not determine contrast for 19 nodes and link distinguishability for 1 node (gradients/alpha backgrounds are skipped automatically).","solution":"- Manually check the 19 flagged nodes against 4.5:1 (normal text) / 3:1 (large text) using DevTools' contrast picker.\n- Ensure in-text links are underlined or otherwise distinguishable without relying on color alone."}],"perfScore":34,"a11yScore":100,"bestPracticesScore":100,"seoScore":92,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://playandnope.com/privacy-policy","overall":74,"reasoning":"PSI mobile performance is 75 (desktop 98) with LCP 6.5 s on mobile vs 0.6 s on desktop — a strong divergence that dominates the score; TBT (70 ms), CLS (0.000) and TTFB (2 ms) are all excellent, so the drag is concentrated in the critical path and LCP resource delivery. Accessibility is near-perfect (PSI 100/100) with a single serious axe color-contrast violation on three `.navigation__description` nodes. Security basics PASS, but the CSP is only `frame-ancestors 'self'` (no `default-src`, no `object-src 'none'`), HSTS lacks preload, COOP/CORP are missing, and 2 of 2 cross-origin jsdelivr scripts lack SRI. W3C is clean (0 errors, 0 warnings) and the image budget is effectively n/a (only 2 SVGs, no raster images). The mobile/desktop LCP gap of ~5.9 s is the single largest score contributor.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP from 6.5 s","impact":"LCP, FCP, Speed Index, TTI","problem":"Mobile LCP is 6.5 s (desktop 0.6 s); `document-latency-insight` estimates 610 ms savings and `network-dependency-tree-insight` is failing.","solution":"- Identify the actual LCP element in DevTools Performance and preload it (`<link rel=\"preload\" as=\"image\" fetchpriority=\"high\">` for images, `rel=\"preload\" as=\"font\" crossorigin` for the LCP font).\n- Flatten the critical request chain: inline critical CSS, defer non-critical CSS, and avoid chaining the LCP resource behind JS.\n- The page loads 3 fonts totalling 105.3 KB — subset them and use `font-display: swap`."},{"priority":1,"category":"Performance","title":"Remove unused JavaScript and the 120 ms long task","impact":"TBT, LCP, TTI","problem":"`global.62444fa2566b44750ca1.min.js` wastes 112 KB and produces a 120 ms long task on mobile.","solution":"- Code-split the theme bundle so only the modules used on this page ship.\n- Tree-shake jQuery-dependent code; the page already defers scripts, so the cost is parse/execute, not blocking.\n- Audit `global.min.js` with coverage in DevTools and drop dead branches."},{"priority":1,"category":"Accessibility","title":"Fix color-contrast on navigation descriptions","impact":"WCAG 1.4.3 (AA)","problem":"axe reports a serious `color-contrast` violation on `.menu-item-630 > .navigation__description`, `.menu-item-116 > .navigation__description`, and `.menu-item-74 > .navigation__description`.","solution":"- Raise the text/background contrast to at least 4.5:1 (3:1 for large text).\n- Example: change the muted nav description color from a light grey to `#595959` on white, or darken the background.\n- Re-run axe after the change; 10 additional nodes were flagged as \"incomplete\" and should be verified manually."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity for jsdelivr assets","problem":"2 of 2 cross-origin scripts (cookieconsent and iframemanager from cdn.jsdelivr.net) lack an `integrity` attribute.","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-<hash>\" crossorigin=\"anonymous\" defer></script>\n```\nGenerate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`."},{"priority":2,"category":"Performance","title":"Eliminate the /privacy-policy → /privacy-policy/ redirect","impact":"TTFB, LCP, FCP","problem":"Browser runtime shows two document requests: `/privacy-policy` (483 ms, 0 B) followed by `/privacy-policy/` (372 ms, 21.1 KB).","solution":"- Update internal links and the canonical to the trailing-slash URL so the redirect is skipped.\n- If the redirect is intentional, ensure it is a 301 (not 302) so browsers cache it."},{"priority":2,"category":"SEO","title":"Fix tap targets and structured data","impact":"Mobile usability, rich results","problem":"PSI modeled audits `tapTargets` and `structuredData` are failing; the single JSON-LD block is typed \"Unknown\".","solution":"- Ensure interactive elements are at least 44×44 px with adequate spacing.\n- Replace the generic JSON-LD with a valid `WebPage` / `Organization` schema (`@context`, `@type`, `name`, `url`)."},{"priority":2,"category":"Performance","title":"Ship modern JavaScript to drop legacy polyfills","impact":"Bundle size, TBT","problem":"`legacy-javascript-insight` estimates 10 KiB of savings from transpiled/polyfilled code.","solution":"- Update `browserslist` to modern targets and rebuild the theme bundle.\n- Serve ES2017+ output with a `nomodule` fallback only if you still support legacy browsers."},{"priority":3,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is `frame-ancestors 'self';` only — no `default-src` and no `object-src 'none'`. Site signals show no auth, payments, or user content, so XSS impact is low today.","solution":"- Add `default-src 'self'; object-src 'none'; base-uri 'none';`.\n- If you later add login or user content, move to a nonce + `'strict-dynamic'` policy rather than a flat allowlist."},{"priority":3,"category":"Security","title":"Add HSTS preload, COOP and CORP","impact":"Transport hardening, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; COOP and CORP headers are missing.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nSubmit the domain to hstspreload.org after the preload directive is live."},{"priority":3,"category":"Security","title":"Reduce technology disclosure and move the login path","impact":"Attack-surface reduction","problem":"`Server: Apache` is disclosed and the WordPress login form is served on the default `/wp-login.php` path.","solution":"- Set `ServerTokens Prod` and `ServerSignature Off` in Apache.\n- Move the login form behind a custom path or a WAF rule, and rate-limit `/wp-login.php`."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated link text","impact":"WCAG 2.4.4 link purpose","problem":"The inventory lists repeated vague link text (\"home\", \"work\", \"about\", \"contact\", etc. ×2) and axe flags one `link-in-text-block` node as incomplete.","solution":"- Add `aria-label` or visually hidden text to distinguish repeated nav links.\n- Ensure in-text links are distinguishable without relying on color alone (underline or bold)."},{"priority":3,"category":"Performance","title":"Set a sensible Cache-Control for the document","impact":"Repeat-visit TTFB","problem":"The document response sets `cache-control: max-age=0`, forcing revalidation on every visit despite WP Rocket being active.","solution":"- Allow short-lived browser caching with revalidation, e.g. `Cache-Control: public, max-age=600, stale-while-revalidate=86400`.\n- Keep WP Rocket's page cache for the server side."}],"perfScore":75,"a11yScore":100,"bestPracticesScore":100,"seoScore":100,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://playandnope.com/contact","overall":45,"reasoning":"Performance is the dominant drag: PSI mobile 34 / desktop 43, with mobile LCP 12.4 s (desktop 2.1 s), TBT 27.81 s, Speed Index 9.38 s, and TTI 43.5 s — the site is effectively unusable on mobile hardware. The TBT is driven by long tasks from core.js (1.72 s), jquery (1.08 s), and repeated global.js tasks (300–400 ms each), plus 1.42 MB of reCAPTCHA JS from gstatic loaded three times. Accessibility is excellent (PSI 99/100, axe 1 minor violation), and image assets are clean (5 SVGs, all with alt/dimensions/lazy). SEO scores 100 but tapTargets and structuredData audits fail, and the Security basics verdict is PASS with weak CSP (only frame-ancestors, no default-src/object-src) and missing COOP/CORP. The mobile/desktop performance gap (34 vs 43, LCP 12.4 s vs 2.1 s) confirms the mobile experience is the outlier and the primary reason the overall lands in the Poor band.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Eliminate 27.8 s of Total Blocking Time from theme JS","impact":"TBT, TTI, INP, Max Potential FID","problem":"TBT is 27,810 ms on mobile (23,860 ms desktop) with long tasks from core.js (1.72 s), jquery.js (1.08 s), and eight global.js tasks of 300–400 ms each; TTI is 43.5 s and Max Potential FID is 1,720 ms.","solution":"Break up the main-thread work:\n- Audit `core.js` / `global.js` for synchronous DOM work; split into route-level chunks and load non-critical modules on interaction.\n- Drop jQuery if the theme allows, or replace with vanilla equivalents for the remaining uses.\n- Move heavy init (sliders, animations, analytics) behind `requestIdleCallback` or `IntersectionObserver`.\n- Re-measure with Lighthouse after each change; target TBT < 200 ms."},{"priority":1,"category":"Performance","title":"Fix 12.4 s mobile LCP","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 12.4 s (desktop 2.1 s) and Speed Index is 9.38 s; the LCP breakdown and network-dependency-tree insights both score 0.00.","solution":"- Identify the LCP element in DevTools Performance panel (likely the hero heading/image).\n- Preload the LCP resource: `<link rel=\"preload\" as=\"image\" href=\"/hero.webp\" fetchpriority=\"high\">`.\n- Remove render-blocking CSS/JS from the critical path; inline critical CSS.\n- Reduce the network dependency chain — the dependency-tree insight flags a deep chain."},{"priority":1,"category":"Performance","title":"Defer or lazy-load reCAPTCHA","impact":"TBT, page weight, LCP","problem":"reCAPTCHA accounts for 1.42 MB from gstatic.com across 7 requests, with three separate loads of recaptcha__en.js wasting 176 KB + 172 KB + 168 KB, and the slowest request taking 3.27 s.","solution":"- Load reCAPTCHA only when the form enters the viewport or on first user interaction:\n```js\nconst io = new IntersectionObserver(([e]) => {\n  if (e.isIntersecting) { loadRecaptcha(); io.disconnect(); }\n});\nio.observe(document.querySelector('form'));\n```\n- Ensure the script is only injected once (the three duplicate loads suggest a double-enqueue bug in the Gravity Forms integration).\n- Consider a lighter alternative (hCaptcha, Turnstile) if the form is low-risk."},{"priority":1,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self';` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions. The site accepts user input via a textarea form, so XSS would persist into stored content.","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.gstatic.com https://www.google.com;\n  object-src 'none';\n  base-uri 'none';\n  frame-ancestors 'self';\n```\nEmit the nonce server-side per request and add it to every `<script>` tag."},{"priority":2,"category":"Performance","title":"Set a real Cache-Control on the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response is served with `cache-control: max-age=0`, forcing revalidation on every navigation despite WP Rocket being active.","solution":"For a mostly-static marketing page, allow short browser caching with stale-while-revalidate:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nKeep `max-age=0` only on pages that must reflect logged-in state."},{"priority":2,"category":"Security","title":"Add HSTS preload, COOP, and CORP","impact":"Transport security, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both missing.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nThen submit the domain at hstspreload.org."},{"priority":2,"category":"Accessibility","title":"Label the unlabeled textarea in the contact form","impact":"WCAG 1.3.1, 3.3.2, screen-reader form completion","problem":"Form 1 contains a `textarea` with no label (and 12 hidden inputs without labels, which are lower risk). axe also flagged 23 color-contrast nodes as 'incomplete'.","solution":"- Add a visible `<label for=\"...\">` or `aria-label` to the textarea.\n- Manually verify the 23 color-contrast nodes axe could not resolve (gradients/alpha) against WCAG 4.5:1."},{"priority":2,"category":"Best Practices","title":"Fix the reCAPTCHA console error","impact":"Console errors, Best Practices score","problem":"Browser runtime logged `requestStorageAccess: Permission denied` from the reCAPTCHA anchor iframe, and PSI's `errors-in-console` audit fails.","solution":"- Update the reCAPTCHA integration to the current API version and ensure the iframe is loaded in a first-party context.\n- If the error persists, wrap the call in a try/catch and fall back to a server-side challenge."},{"priority":2,"category":"SEO","title":"Fix failing tapTargets and structuredData audits","impact":"Mobile SEO, rich results eligibility","problem":"PSI reports `tapTargets` and `structuredData` as failing modeled audits; the single JSON-LD block is typed 'Unknown'.","solution":"- Ensure all interactive elements meet the 48×48 px tap-target minimum on mobile.\n- Replace the generic JSON-LD with a valid `Organization` / `LocalBusiness` schema including `name`, `url`, `logo`, and `contactPoint`."},{"priority":3,"category":"Best Practices","title":"Fix W3C validation errors on hidden inputs","impact":"HTML validity","problem":"W3C reports 2 errors: hidden inputs carry `autocomplete='off'` (first at line 896, `gform_hidden`).","solution":"Remove `autocomplete` from `type=\"hidden\"` inputs — it is invalid per the HTML spec and has no effect on hidden fields."},{"priority":3,"category":"Security","title":"Reduce technology disclosure and add cross-domain policy header","impact":"Fingerprinting surface","problem":"The `Server: Apache` header is exposed and `X-Permitted-Cross-Domain-Policies` is missing.","solution":"```\nServerTokens Prod\nServerSignature Off\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\n```"},{"priority":3,"category":"Best Practices","title":"Ship source maps for first-party JS","impact":"Debuggability, error tracking","problem":"PSI's `valid-source-maps` audit fails — large first-party bundles (core.js, global.js) ship without source maps.","solution":"Emit `.map` files in the production build and serve them from the same origin (or a private error-tracking endpoint)."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Link purpose (WCAG 2.4.4), crawl clarity","problem":"43 anchors include repeated vague text such as \"home\" ×2, \"work\" ×2, \"contact\" ×2, and \"info@playandnope.com\" ×3.","solution":"Add `aria-label` or visually-hidden context to repeated links, e.g. `<a href=\"/work\" aria-label=\"View our work\">work</a>`."}],"perfScore":34,"a11yScore":99,"bestPracticesScore":96,"seoScore":100,"securityScore":89,"securityVerdict":"PASS"},{"url":"https://playandnope.com/full-stack-digital-agency","overall":64,"reasoning":"PSI mobile performance is 60 with a catastrophic TBT of 30,870 ms and TTI of 44.2 s, driven by theme JS long tasks (global.min.js 918 ms, core.min.js 859 ms, plus eight more 450–500 ms tasks) — desktop PSI errored with HTTP 500, so mobile is the only performance signal available. Accessibility is strong (PSI 98, axe 1 moderate heading-order violation, 23 incomplete contrast nodes) and SEO/Best Practices are 100, but the modeled audits flag tapTargets and structuredData as failing. Images are all alt-tagged, dimensioned and lazy-loaded, yet the runtime still pulls 8 JPEGs totalling 287.5 KB with no WebP/AVIF and ~1.03 s each. Security basics PASS, but the CSP is frame-ancestors-only (no default-src, no object-src 'none'), HSTS lacks preload, COOP/CORP are missing, and 2 cross-origin jsdelivr scripts lack SRI. The CLS figure conflicts between the summary table (0.013) and the priority-fix list (0.615 from the cookie-consent modal), which I weight toward the culprit evidence.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Break up long tasks to cut 30.9 s of Total Blocking Time","impact":"TBT, TTI, INP, Max Potential FID","problem":"TBT is 30,870 ms and TTI 44.2 s, with long tasks of 918 ms (global.min.js), 859 ms (core.min.js) and eight more 450–500 ms tasks on the same theme bundle.","solution":"- Split `global.min.js` / `core.min.js` per-route and load non-critical modules on interaction (`import()` on click/scroll).\n- Audit the theme bundle for synchronous loops and heavy DOM work; move work into `requestIdleCallback` or a Web Worker.\n- Drop `jquery-migrate.min.js` if nothing depends on it.\n- Verify with Lighthouse after each change — target TBT < 200 ms."},{"priority":1,"category":"Performance","title":"Eliminate the 0.615 layout shift from the cookie-consent modal","impact":"CLS","problem":"The layout-shift culprit is `body.wp-singular > div#cc-main > div.cm-wrapper > div.cm` with a shift of 0.615 — the cookie-consent banner is injected after paint and pushes content.","solution":"- Reserve space for the consent banner before it renders (fixed-position overlay, or a placeholder with the same height).\n- Load the `cookieconsent` UMD script with `defer` and initialise it before first paint, or render the banner server-side.\n- Re-run PSI and confirm CLS < 0.1."},{"priority":1,"category":"Performance","title":"Trim unused JavaScript and reduce Speed Index","impact":"Speed Index, TBT, page weight","problem":"92 KB of `global.62444fa2566b44750ca1.min.js` is unused, and Speed Index is 6.59 s (score 0.38).","solution":"- Run `npx source-map-explorer` or webpack-bundle-analyzer against the theme bundle and remove dead modules.\n- Code-split below-the-fold widgets (playlist, podcast, jeopardy, snake game embeds) so they load on interaction.\n- Defer or lazy-init the `iframemanager` and `cookieconsent` scripts from jsdelivr."},{"priority":2,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`, no script/resource restrictions. The site serves a WordPress admin login at `/wp-login.php`, so an XSS would be session-relevant.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\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```\nGenerate the nonce per request in the theme and add it to every `<script>` tag."},{"priority":2,"category":"Security","title":"Add HSTS preload and COOP/CORP headers","impact":"Transport security, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both missing.","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":2,"category":"Accessibility","title":"Fix the h1 → h3 heading skip","impact":"WCAG 1.3.1, screen-reader navigation","problem":"axe reports a moderate `heading-order` violation on `.hero__description > h3`, and the W3C validator flags the same skip (h1 \"Get to know us\" → h3 \"Full-stack digital agency powered by curiosity\").","solution":"- Change the hero `<h3>` to `<h2>` (or promote the h1 to a section heading and demote the hero to h2).\n- Audit the remaining 12 h3s for the same pattern — the outline shows h2 ×7 and h3 ×12 with no h4s.\n- Re-run axe and confirm the `heading-order` rule passes."},{"priority":2,"category":"Performance","title":"Serve WebP/AVIF for the JPEG uploads","impact":"Image bytes, LCP, Speed Index","problem":"The runtime loads 8 JPEGs totalling 287.5 KB, each taking ~1.03 s (e.g. `img-03-388x530.jpg` at 58.4 KB); no WebP or AVIF is served.","solution":"- Convert uploads to WebP/AVIF and add `<picture>` fallbacks.\n- Keep the existing `srcset`/`sizes` and `width`/`height` attributes.\n- Re-encode at the actual rendered size — several files are 530 px tall but may render smaller."},{"priority":2,"category":"Performance","title":"Enable browser caching for the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sets `cache-control: max-age=0` with an `expires` timestamp equal to the request time, so every navigation re-fetches the full 210 KB HTML.","solution":"- In WP Rocket, enable page caching with a sensible TTL and let the CDN serve the cached HTML.\n- Set `Cache-Control: public, max-age=600, stale-while-revalidate=86400` on the document.\n- Keep `Vary: Accept-Encoding` (already present)."},{"priority":3,"category":"Security","title":"Add SRI to cross-origin scripts and hide the server banner","impact":"Supply-chain integrity, information disclosure","problem":"2 of 2 cross-origin scripts (jsdelivr `iframemanager` and `cookieconsent`) lack `integrity` attributes, and the `Server: Apache` header discloses the stack.","solution":"- Add `integrity=\"sha384-…\" crossorigin=\"anonymous\"` to both jsdelivr `<script>` tags, or self-host the libraries.\n- Set `ServerTokens Prod` and `ServerSignature Off` in Apache to suppress the version banner.\n- Consider moving the WordPress login off `/wp-login.php` (currently on the default path)."},{"priority":3,"category":"SEO","title":"Fix structured data and tap targets","impact":"Rich results eligibility, mobile usability","problem":"PSI's modeled audits flag `structuredData` and `tapTargets` as failing, and the single JSON-LD block is reported with type \"Unknown\".","solution":"- Validate the JSON-LD with Google's Rich Results Test and declare an explicit `@type` (e.g. `Organization`, `WebSite`).\n- Ensure interactive elements meet the 44×44 px minimum touch-target size, especially in the nav and footer."},{"priority":3,"category":"Best Practices","title":"Ship source maps for first-party JavaScript","impact":"Debuggability, error attribution","problem":"PSI's `valid-source-maps` audit fails — no source maps are published for the large first-party theme bundles.","solution":"- Emit `.map` files in the theme build and deploy them alongside the minified bundles (or upload them to your error tracker).\n- Confirm the maps are not blocked by the server config."}],"perfScore":60,"a11yScore":98,"bestPracticesScore":100,"seoScore":100,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://playandnope.com/digital-solutions-contact","overall":null,"reasoning":"Insufficient data to score this site — PageSpeed Insights did not return usable data for either mobile or desktop. Re-run the audit once the source is reachable.","confidence":"low","fixes":[],"perfScore":null,"a11yScore":null,"bestPracticesScore":null,"seoScore":null,"securityScore":89,"securityVerdict":"PASS"}]}