{"url":"https://playandnope.com/","date":"2026-10-12","siteName":"Full-stack digital solutions – premier custom software & design","overall":58,"reasoning":"Site overall 58 is the mean of 4 pages. Scores range 18 (https://playandnope.com/digital-solutions-contact) → 88 (https://playandnope.com/privacy-policy). Weakest page: The audited URL returns HTTP 500 with the WordPress 'Error establishing a database connection' page — confirmed independently by the HTTP response (status 500), the W3C validator fetch failure, the browser runtime console error, and the HTML inventory (title 'Database Error', 2.4 KB body, zero scripts, images, links or landmarks). That single fact dominates the score: the page is unusable and unindexable, so no amount of header or asset polish matters until the database is restored. Even setting the outage aside, PSI mobile performance is 35 with LCP 14.2 s and TBT 25.66 s — both far past the heavy-penalty thresholds — driven by ~600 KB of unused reCAPTCHA/theme JavaScript and long tasks from jQuery (898 ms) and core.js (626 ms). Accessibility scores 99 in Lighthouse but axe still flags a serious html-has-lang violation plus missing main landmark and region containment. Security basics PASSes, but the CSP is only `frame-ancestors 'self'` with no default-src or object-src 'none', and the document is served `no-store` with no cache plugin or CDN detected. Desktop PSI errored (HTTP 500) and W3C could not fetch the page, so desktop parity is unverified and confidence is medium.","confidence":"low","fixes":[{"priority":1,"category":"Performance","title":"Eliminate long tasks driving 21.14 s TBT","impact":"TBT, TTI, INP, Speed Index","problem":"TBT is 21,140 ms (threshold is 600 ms) with long tasks of 444 ms and 428 ms from global.min.js and core.min.js, plus 92 KB of unused JS in global.min.js.","solution":"- Code-split `global.min.js` and `core.min.js`; load only what the current route needs.\n- Remove the 92 KB of unused JS reported by Lighthouse.\n- Defer or lazy-init non-critical widgets (carousels, modals, analytics) until interaction.\n- Audit the WebGL/canvas work — the 4 console warnings ('GPU stall due to ReadPixels') suggest a render loop blocking the main thread.\n- Re-measure TBT after each change; target <200 ms."},{"priority":1,"category":"Performance","title":"Fix 6.6 s LCP","impact":"LCP, Speed Index","problem":"LCP is 6.6 s while FCP is only 1.81 s — the LCP element is being delayed by JS execution, not by network.","solution":"- Identify the LCP element in DevTools Performance panel.\n- If it's an image, add `<link rel=\"preload\" as=\"image\">` and ensure it's not lazy-loaded.\n- If it's text, ensure the font is preloaded and `font-display: swap` is set.\n- Avoid rendering the hero via JS after hydration; server-render it."},{"priority":1,"category":"Accessibility","title":"Fix color-contrast failure on the h1","impact":"WCAG 1.4.3 (AA), axe serious violation","problem":"axe reports 1 serious `color-contrast` violation on the `h1` (\"Privacy Policy\"), and could not determine contrast for 7 additional nodes.","solution":"- Raise the h1 foreground/background contrast to at least **4.5:1** for normal text, or **3:1** if the h1 renders at ≥24 px (or ≥18.66 px bold).\n- Re-run axe after the change and manually verify the 7 undetermined nodes (alpha-transparency / gradient backgrounds are skipped by axe).\n- Also check the 1 `link-in-text-block` node — links inside body copy must be distinguishable by more than color alone (e.g. add `text-decoration: underline`)."},{"priority":1,"category":"Performance","title":"Cut main-thread blocking time (TBT 23.84 s)","impact":"TBT, TTI, Max Potential FID, Speed Index","problem":"TBT is 23,840 ms and TTI 31.4 s; long tasks come from core.js (932 ms), jquery.min.js (729 ms) and global.min.js (300–366 ms ×7), while reCAPTCHA ships 1.05 MB from gstatic with three ~170 KB unused chunks.","solution":"- Load reCAPTCHA only when the form is actually submitted (lazy-init the widget on first interaction) instead of on page load.\n- Drop jQuery if the theme allows; the 729 ms long task is pure overhead on a contact page.\n- Split `global.min.js` (92 KB wasted) and `core.js` so only the code needed for this route is parsed.\n- Audit the 22 script requests / 842 KB of script bytes — most are not needed for a contact form."},{"priority":1,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS mitigation, script injection","problem":"CSP is `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`, no `script-src`. The page contains a user-submitted `<textarea>` (hasUserContent: yes), so an 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:;\n  object-src 'none';\n  base-uri 'none';\n  frame-ancestors 'self';\n  require-trusted-types-for 'script';\n```\nEmit the nonce server-side per request and propagate it to every `<script>` tag."},{"priority":1,"category":"Best Practices","title":"Restore the database connection — the page is returning HTTP 500","impact":"Availability, SEO, all metrics","problem":"The audited URL returns HTTP 500 with title 'Database Error' and h1 'Error establishing a database connection'; W3C and the browser runtime both confirm the failure.","solution":"- Check MySQL/MariaDB is running and reachable from the web host.\n- Verify `DB_HOST`, `DB_USER`, `DB_PASSWORD`, `DB_NAME` in `wp-config.php`.\n- Inspect `wp-content/debug.log` and the PHP/MySQL error logs for the root cause (corrupt table, disk full, max connections).\n- Serve a proper 503 with `Retry-After` during maintenance instead of a bare 500 so crawlers back off gracefully."},{"priority":1,"category":"Performance","title":"Eliminate 25.7 s of blocking JavaScript and the 14.2 s LCP","impact":"TBT, LCP, Speed Index, TTI","problem":"TBT is 25,660 ms and LCP 14.2 s on mobile; long tasks come from jquery.min.js (898 ms), core.min.js (626 ms) and global.min.js (331/312/297/293/284/273/268 ms), with ~520 KB of unused reCAPTCHA JS.","solution":"- Defer or async every non-critical script:\n```html\n<script src=\"/wp-content/themes/.../global.min.js\" defer></script>\n```\n- Load reCAPTCHA only when the contact form is focused/visible (IntersectionObserver + dynamic `<script>` injection) instead of on page load.\n- Audit jQuery usage — if the theme no longer needs it, drop it entirely.\n- Split the long tasks in `global.min.js` and `core.min.js` with `requestIdleCallback` / `scheduler.yield`.\n- Ship source maps so the bundles can be profiled."},{"priority":1,"category":"Performance","title":"Stop serving the document with no-store and add page caching / CDN","impact":"TTFB, repeat-visit LCP, bandwidth","problem":"The document response carries `cache-control: no-cache, must-revalidate, max-age=0, no-store, private`, and the optimized-web checklist reports no WordPress cache plugin or CDN edge cache detected.","solution":"- Remove `no-store` from cacheable HTML responses; use `Cache-Control: public, max-age=0, s-maxage=600, stale-while-revalidate=60` behind a CDN.\n- Install a page-cache plugin (e.g. WP Rocket, LiteSpeed Cache) or front the site with a CDN edge cache.\n- Keep `no-store` only on authenticated or cart/checkout responses.\n- Add long-lived immutable caching for hashed static assets:\n```\nCache-Control: public, max-age=31536000, immutable\n```"},{"priority":2,"category":"Performance","title":"Set a real cache policy on the document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sends `cache-control: max-age=0` with an `expires` in the past, forcing revalidation on every navigation despite WP Rocket being active.","solution":"- Configure WP Rocket / server to send a positive `max-age` with `stale-while-revalidate`, e.g.:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Verify the cache is warmed for the canonical URL after deploy."},{"priority":2,"category":"Performance","title":"Drop legacy JavaScript polyfills","impact":"Bundle size, TBT","problem":"Lighthouse reports ~10 KiB of legacy JavaScript savings and 92 KB unused JS in global.min.js.","solution":"- Update `browserslist` to drop IE11 / legacy targets.\n- Remove `jquery-migrate` if no legacy plugin depends on it.\n- Rebuild and re-measure."},{"priority":2,"category":"SEO","title":"Replace vague repeated link text","impact":"SEO link-text audit, screen-reader navigation","problem":"The `link-text` SEO audit fails with 4 links lacking descriptive text, and the inventory shows 'read more' repeated ×4 plus 'development', 'design & innovation', etc. repeated 3× each.","solution":"- Replace 'read more' with the destination, e.g. `<a href=\"/services/design\">Design & Innovation services</a>`.\n- If visual design requires short text, add `aria-label` with the full context."},{"priority":2,"category":"SEO","title":"Add valid structured data","impact":"Rich results eligibility","problem":"The `structuredData` SEO audit fails and the single JSON-LD block has type 'Unknown'.","solution":"- Add a valid `Organization` and `WebSite` JSON-LD block:\n```html\n<script type=\"application/ld+json\">\n{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"Play and Nope\",\"url\":\"https://playandnope.com/\"}\n</script>\n```\n- Validate with Google's Rich Results Test."},{"priority":2,"category":"SEO","title":"Enlarge tap targets","impact":"Mobile usability","problem":"The `tapTargets` SEO audit fails on mobile.","solution":"- Ensure every interactive element is at least 44×44 px with adequate spacing.\n- Increase padding on nav links and icon buttons rather than shrinking them."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (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-…\" crossorigin=\"anonymous\" defer></script>\n```\nGenerate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self';` — no `default-src` and no `object-src 'none'`, so it provides no script or resource restrictions. The site also serves a WordPress login at the default `/wp-login.php` path, which is an auth surface even though the heuristic signals say otherwise.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy:\n  default-src 'self';\n  object-src 'none';\n  base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self';\n```\n- Roll out in `Content-Security-Policy-Report-Only` first, collect violations, then enforce.\n- Keep `frame-ancestors 'self'` (it already covers clickjacking alongside `X-Frame-Options: SAMEORIGIN`)."},{"priority":2,"category":"Performance","title":"Eliminate the /privacy-policy → /privacy-policy/ redirect","impact":"Document latency, FCP, Speed Index","problem":"Browser runtime shows the document request to `/privacy-policy` took 638 ms and returned 0 B before redirecting to `/privacy-policy/` (287 ms, 21.1 KB); PSI flags `document-latency-insight` with an estimated 640 ms saving.","solution":"- Link to the canonical trailing-slash URL everywhere: `https://playandnope.com/privacy-policy/`.\n- Ensure the redirect is a server-side 301 (not a JS/meta refresh) so it is cacheable.\n- Audit internal navigation and sitemap entries for the non-slash variant."},{"priority":2,"category":"Performance","title":"Fix document caching (cache-control: max-age=0)","impact":"repeat-visit TTFB, LCP","problem":"The HTML document is served with `cache-control: max-age=0` and an `expires` equal to the response date, so nothing is cached despite WP Rocket being detected.","solution":"- Let WP Rocket serve the cached HTML with a short `max-age` + `stale-while-revalidate` for anonymous visitors.\n- Set long-lived `Cache-Control: public, max-age=31536000, immutable` on hashed theme assets (`global.62444fa2…min.js`, `core.c872dceb…min.js`).\n- Bypass the cache for logged-in users and for POST responses."},{"priority":2,"category":"Security","title":"Add HSTS preload, COOP and CORP","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```\nSubmit the domain to hstspreload.org once the preload directive is live."},{"priority":2,"category":"Best Practices","title":"Resolve the reCAPTCHA console error","impact":"console errors, Best Practices score","problem":"`requestStorageAccess: Permission denied` is logged from the reCAPTCHA anchor iframe, and `errors-in-console` is a failing Best Practices audit.","solution":"- Update the reCAPTCHA integration to the current API and load it only on form submit.\n- If the error persists, gate the storage-access call behind a feature check and catch the rejection so it does not surface as an unhandled console error."},{"priority":2,"category":"Accessibility","title":"Label the unlabeled textarea and fix the presentational-role conflict","impact":"WCAG 1.3.1, 4.1.2","problem":"Form 1 contains a `textarea` with no label, and axe reports `presentation-role-conflict` on `iframe[title=\"reCAPTCHA\"]`.","solution":"- Add a visible `<label for=\"…\">` (or `aria-label`) to the textarea.\n- Remove `role=\"presentation\"` / `role=\"none\"` from the reCAPTCHA iframe, or stop applying it to an element that also carries a `title`."},{"priority":2,"category":"SEO","title":"Fix the two W3C errors and add real structured data","impact":"HTML validity, rich results eligibility","problem":"W3C reports 2 errors — hidden inputs carrying `autocomplete='off'` — and PSI's `structuredData` modeled audit fails with the single JSON-LD block typed as `Unknown`.","solution":"- Remove `autocomplete` from `<input type=\"hidden\">` elements (Gravity Forms `gform_hidden` fields).\n- Replace the untyped JSON-LD block with a valid `Organization` / `LocalBusiness` schema including `name`, `url`, `logo` and `contactPoint`."},{"priority":2,"category":"Security","title":"Move login off /wp-login.php and suppress the Server header","impact":"attack surface, information disclosure","problem":"Security basics flags `Login not on default path` as warn (form served on `/wp-login.php`) and `Technology disclosure` as warn (`Server: Apache`).","solution":"- Rename the login path (e.g. via a security plugin) and block direct access to `/wp-login.php`.\n- Strip the version banner: `ServerTokens Prod` and `ServerSignature Off` in Apache, or remove the `Server` header at the edge."},{"priority":2,"category":"Accessibility","title":"Add a lang attribute to <html>","impact":"WCAG 3.1.1, screen reader pronunciation","problem":"axe-core reports a serious `html-has-lang` violation — the `<html>` element has no lang attribute, and the HTML inventory confirms 'Lang: not set'.","solution":"```html\n<html lang=\"en\">\n```\nUse the correct BCP-47 tag for the page's primary language."},{"priority":2,"category":"Accessibility","title":"Add main/nav landmarks, region containment and a skip link","impact":"WCAG 1.3.1, 2.4.1, keyboard navigation","problem":"axe flags `landmark-one-main` and `region` (moderate), and the HTML inventory finds no `<nav>`, `<main>`, `<header>` or `<footer>` landmarks and no skip-to-content link.","solution":"- Wrap primary content in `<main id=\"main-content\">` and navigation in `<nav>`.\n- Ensure all content sits inside a landmark region.\n- Add a skip link as the first focusable element:\n```html\n<a class=\"skip-link\" href=\"#main-content\">Skip to content</a>\n```"},{"priority":2,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self';` — it has no `default-src` and no `object-src 'none'`, so it restricts nothing about scripts or resources.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  frame-ancestors 'self'; script-src 'nonce-{random}' 'strict-dynamic';\n```\nNote: site signals show no auth, payments or user content, so this is defense-in-depth rather than an active exposure."},{"priority":3,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self';` — no `default-src`, no `object-src 'none'`. Site signals show no auth, payments, or user content, so XSS attack surface is low and this is P3 per the rubric.","solution":"- Add `default-src 'self'` and `object-src 'none'` as a baseline.\n- When you later add login or user content, move to a nonce + `'strict-dynamic'` policy:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; script-src 'nonce-{random}' 'strict-dynamic'; base-uri 'none';\n```"},{"priority":3,"category":"Security","title":"Add HSTS preload and COOP/CORP","impact":"Transport hardening, origin isolation","problem":"HSTS lacks the `preload` directive; `Cross-Origin-Opener-Policy` and `Cross-Origin-Resource-Policy` are missing.","solution":"```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nSubmit the domain at hstspreload.org once preload is set."},{"priority":3,"category":"Accessibility","title":"Add explicit width/height to 5 images","impact":"CLS","problem":"5 of 30 images lack explicit `width`/`height` attributes; CLS is currently 0.000 so impact is latent.","solution":"- Add `width` and `height` attributes to every `<img>` so the browser can reserve space before load."},{"priority":3,"category":"Best Practices","title":"Suppress server technology disclosure","impact":"Fingerprinting surface","problem":"The `Server: Apache` response header discloses the web server software.","solution":"```\nServerTokens Prod\nServerSignature Off\n```\nOr strip the header at the reverse proxy."},{"priority":3,"category":"Security","title":"Move the WordPress login off /wp-login.php","impact":"Brute-force / credential-stuffing surface","problem":"The login form is served on the default `/wp-login.php` path, which is the first target for automated attacks.","solution":"- Rename the login URL (e.g. WPS Hide Login) and add rate limiting / 2FA.\n- Keep xmlrpc.php blocked (already passing)."},{"priority":3,"category":"Performance","title":"Ship source maps for first-party JS","impact":"Debuggability, error tracking","problem":"The `valid-source-maps` best-practices audit fails for large first-party JavaScript.","solution":"- Emit `.map` files in the production build and serve them from the same origin."},{"priority":3,"category":"Security","title":"Add HSTS preload, COOP and CORP headers","impact":"Transport hardening, origin isolation","problem":"HSTS is set (`max-age=31536000; includeSubDomains`) but lacks the `preload` directive; `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```\n- Submit the domain at https://hstspreload.org once the preload directive is live."},{"priority":3,"category":"Security","title":"Reduce technology disclosure and harden the WordPress login path","impact":"Attack-surface reduction","problem":"The `Server: Apache` header discloses the web server, and the login form is served on the default `/wp-login.php` path (flagged as a warn in the WordPress checks).","solution":"- Suppress the banner: `ServerTokens Prod` and `ServerSignature Off` in Apache config.\n- Move or restrict the login: rename via a security plugin, add IP allowlisting, or front it with a WAF.\n- Enable rate limiting / 2FA on `/wp-login.php`."},{"priority":3,"category":"Performance","title":"Trim unused JavaScript and ship source maps","impact":"TBT, TTI, transfer size","problem":"`global.62444fa2566b44750ca1.min.js` carries 112 KB of unused JavaScript and produces a 65 ms long task; PSI also flags `valid-source-maps` as failing for large first-party JS.","solution":"- Code-split the theme bundle so only the modules used on this template load.\n- Emit `.map` files in the production build so DevTools can attribute the unused bytes.\n- Re-check `legacy-javascript-insight` (est. 10 KiB saving) — drop the legacy transpile target if browser support allows."},{"priority":3,"category":"Performance","title":"Reduce font payload and preload the critical face","impact":"Page weight, FCP, Speed Index","problem":"Fonts are the single largest resource type at 105.3 KB across 3 requests, out of 228.3 KB total page weight.","solution":"- Subset the webfonts to the glyphs actually used (Latin + punctuation) with `pyftsubset` or `glyphhanger`.\n- Preload the above-the-fold face:\n```html\n<link rel=\"preload\" href=\"/fonts/body.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n- Prefer `font-display: swap` and drop any unused weights."},{"priority":3,"category":"Best Practices","title":"Fix document caching and structured data","impact":"Repeat-visit TTFB, rich results eligibility","problem":"The document response sets `cache-control: max-age=0`, and PSI's modeled SEO audit flags `structuredData` (the single JSON-LD block has type \"Unknown\").","solution":"- Let WP Rocket serve the cached HTML with a positive `max-age` (or `s-maxage` at the CDN edge) instead of `max-age=0`.\n- Replace the generic JSON-LD block with a typed schema (`Organization`, `WebSite`, `WebPage`) so search engines can parse it.\n- Also address the failing `tapTargets` SEO audit by ensuring interactive elements are ≥44×44 px with adequate spacing."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"anchor text quality, screen-reader navigation","problem":"43 anchors include repeated vague text: \"info@playandnope.com\" ×3, \"home\" ×2, \"work\" ×2, \"about\" ×2, \"contact\" ×2, \"design & innovation\" ×2.","solution":"- Add `aria-label` to icon/logo links, e.g. `<a href=\"/\" aria-label=\"Play and Nope home\">`.\n- Differentiate footer/nav duplicates with context (\"Contact — Play and Nope\" vs \"Contact — NOPE Creative\")."},{"priority":3,"category":"Accessibility","title":"Verify color contrast on the 23 undetermined nodes","impact":"WCAG 1.4.3","problem":"axe could not determine contrast for 23 nodes (alpha/gradient backgrounds) and flagged 1 `link-in-text-block` node.","solution":"- Sample the rendered colors in DevTools and confirm ≥4.5:1 for body text and ≥3:1 for large text.\n- Ensure in-text links are distinguishable by more than color alone (underline or weight)."},{"priority":3,"category":"Performance","title":"Improve tap target sizing","impact":"mobile usability","problem":"PSI's `tapTargets` modeled SEO audit fails.","solution":"- Ensure every interactive element is at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Increase padding on footer/nav icon links rather than shrinking the icons."},{"priority":3,"category":"Security","title":"Complete HSTS preload and add COOP/CORP","impact":"Transport hardening, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy headers 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 preload directive is live."},{"priority":3,"category":"Security","title":"Suppress the Server header","impact":"Technology disclosure","problem":"The response discloses `Server: Apache`, which the security-basics checklist flags as a warn for technology disclosure.","solution":"```\nServerTokens Prod\nServerSignature Off\n```\nOr strip/rewrite the header at the CDN/reverse-proxy layer."},{"priority":3,"category":"SEO","title":"Add structured data and enlarge tap targets","impact":"Rich results eligibility, mobile usability","problem":"PSI's modeled audits report `structuredData` and `tapTargets` failing, and the HTML inventory finds no JSON-LD, no canonical, and no meta description.","solution":"- Emit JSON-LD for the organisation and contact page:\n```html\n<script type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"ContactPage\"}</script>\n```\n- Add a canonical link and a meta description.\n- Ensure interactive controls are at least 44×44 px with adequate spacing."},{"priority":3,"category":"Best Practices","title":"Ship source maps for first-party bundles","impact":"Debuggability, error triage","problem":"PSI's `valid-source-maps` audit fails — large first-party JavaScript (global.min.js, core.min.js) ships without source maps, and the console logs a 500 error.","solution":"- Enable source maps in the build pipeline and deploy `.map` files alongside the minified bundles.\n- Keep maps out of the public path if you prefer, and upload them to your error-tracking service instead."}],"coverage":{"pct":89,"missing":["PageSpeed Insights (desktop): PSI HTTP 502","PageSpeed Insights (mobile): PSI HTTP 500","PageSpeed Insights: mobile: PageSpeed fetched an error page — The target returned HTTP 500, so the fetched response is an error page rather than the real content. The audit cannot reach the page.; desktop: PageSpeed fetched an error page — The target returned HTTP 500, so the fetched response is an error page rather than the real content. The audit cannot reach the page.","W3C Validator: W3C validator could not fetch the page — The target returned HTTP 500, so the fetched response is an error page rather than the real content. The audit cannot reach the page.","PageSpeed Insights (desktop): PSI HTTP 500"]},"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":41,"perfDesktop":null,"lcpMobileMs":6596,"lcpDesktopMs":null,"clsMobile":0,"clsDesktop":null},{"pageUrl":"https://playandnope.com/privacy-policy","perfMobile":96,"perfDesktop":97,"lcpMobileMs":2343.2859,"lcpDesktopMs":580.5948199999999,"clsMobile":0.0002986029347399358,"clsDesktop":0.09796379242060262},{"pageUrl":"https://playandnope.com/contact","perfMobile":null,"perfDesktop":45,"lcpMobileMs":null,"lcpDesktopMs":2592.405166362478,"clsMobile":null,"clsDesktop":0.08299933936870091},{"pageUrl":"https://playandnope.com/digital-solutions-contact","perfMobile":35,"perfDesktop":null,"lcpMobileMs":14159.778366577442,"lcpDesktopMs":null,"clsMobile":0.0557996926161437,"clsDesktop":null}]},"optimizationChecklist":{"items":[{"id":"caching","title":"Page caching plugin / CDN active","status":"fail","detail":"No WordPress cache plugin marker or CDN edge cache detected on the document response.","evidence":[]},{"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":"n/a","detail":"No external scripts on the page.","evidence":[]}],"summary":{"passed":1,"warned":0,"failed":1,"notApplicable":6},"priorities":[{"title":"Page caching plugin / CDN active","severity":"high","detail":"No WordPress cache plugin marker or CDN edge cache detected on the document response."}]},"perPageOverall":[{"url":"https://playandnope.com/","overall":58,"reasoning":"Performance is the dominant drag: PSI mobile 41 with TBT 21.14 s, LCP 6.6 s, TTI 45 s, and Speed Index 5.71 s — TBT alone is ~35× the 'heavy penalty' threshold, making the site effectively unusable on mobile. Desktop PSI errored (HTTP 502) so mobile data was duplicated for both columns; confidence is therefore medium. Everything else is strong: PSI Accessibility 100, axe 0 violations, W3C 0 errors, Security basics PASS, SEO 92, and image assets are clean (30 images, 0 without alt, 25 SVGs + 5 placeholders, no raster images to convert). The remaining drags are SEO (tapTargets, structuredData, link-text failing; 'read more' ×4), a weak CSP (frame-ancestors only, no default-src or object-src 'none'), missing SRI on 2 jsdelivr scripts, and a document cache-control of max-age=0. The 58 reflects a technically clean, accessible site whose mobile runtime is catastrophically slow.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eliminate long tasks driving 21.14 s TBT","impact":"TBT, TTI, INP, Speed Index","problem":"TBT is 21,140 ms (threshold is 600 ms) with long tasks of 444 ms and 428 ms from global.min.js and core.min.js, plus 92 KB of unused JS in global.min.js.","solution":"- Code-split `global.min.js` and `core.min.js`; load only what the current route needs.\n- Remove the 92 KB of unused JS reported by Lighthouse.\n- Defer or lazy-init non-critical widgets (carousels, modals, analytics) until interaction.\n- Audit the WebGL/canvas work — the 4 console warnings ('GPU stall due to ReadPixels') suggest a render loop blocking the main thread.\n- Re-measure TBT after each change; target <200 ms."},{"priority":1,"category":"Performance","title":"Fix 6.6 s LCP","impact":"LCP, Speed Index","problem":"LCP is 6.6 s while FCP is only 1.81 s — the LCP element is being delayed by JS execution, not by network.","solution":"- Identify the LCP element in DevTools Performance panel.\n- If it's an image, add `<link rel=\"preload\" as=\"image\">` and ensure it's not lazy-loaded.\n- If it's text, ensure the font is preloaded and `font-display: swap` is set.\n- Avoid rendering the hero via JS after hydration; server-render it."},{"priority":2,"category":"Performance","title":"Set a real cache policy on the document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sends `cache-control: max-age=0` with an `expires` in the past, forcing revalidation on every navigation despite WP Rocket being active.","solution":"- Configure WP Rocket / server to send a positive `max-age` with `stale-while-revalidate`, e.g.:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Verify the cache is warmed for the canonical URL after deploy."},{"priority":2,"category":"Performance","title":"Drop legacy JavaScript polyfills","impact":"Bundle size, TBT","problem":"Lighthouse reports ~10 KiB of legacy JavaScript savings and 92 KB unused JS in global.min.js.","solution":"- Update `browserslist` to drop IE11 / legacy targets.\n- Remove `jquery-migrate` if no legacy plugin depends on it.\n- Rebuild and re-measure."},{"priority":2,"category":"SEO","title":"Replace vague repeated link text","impact":"SEO link-text audit, screen-reader navigation","problem":"The `link-text` SEO audit fails with 4 links lacking descriptive text, and the inventory shows 'read more' repeated ×4 plus 'development', 'design & innovation', etc. repeated 3× each.","solution":"- Replace 'read more' with the destination, e.g. `<a href=\"/services/design\">Design & Innovation services</a>`.\n- If visual design requires short text, add `aria-label` with the full context."},{"priority":2,"category":"SEO","title":"Add valid structured data","impact":"Rich results eligibility","problem":"The `structuredData` SEO audit fails and the single JSON-LD block has type 'Unknown'.","solution":"- Add a valid `Organization` and `WebSite` JSON-LD block:\n```html\n<script type=\"application/ld+json\">\n{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"Play and Nope\",\"url\":\"https://playandnope.com/\"}\n</script>\n```\n- Validate with Google's Rich Results Test."},{"priority":2,"category":"SEO","title":"Enlarge tap targets","impact":"Mobile usability","problem":"The `tapTargets` SEO audit fails on mobile.","solution":"- Ensure every interactive element is at least 44×44 px with adequate spacing.\n- Increase padding on nav links and icon buttons rather than shrinking them."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (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-…\" crossorigin=\"anonymous\" defer></script>\n```\nGenerate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`."},{"priority":3,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self';` — no `default-src`, no `object-src 'none'`. Site signals show no auth, payments, or user content, so XSS attack surface is low and this is P3 per the rubric.","solution":"- Add `default-src 'self'` and `object-src 'none'` as a baseline.\n- When you later add login or user content, move to a nonce + `'strict-dynamic'` policy:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; script-src 'nonce-{random}' 'strict-dynamic'; base-uri 'none';\n```"},{"priority":3,"category":"Security","title":"Add HSTS preload and COOP/CORP","impact":"Transport hardening, origin isolation","problem":"HSTS lacks the `preload` directive; `Cross-Origin-Opener-Policy` and `Cross-Origin-Resource-Policy` are missing.","solution":"```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nSubmit the domain at hstspreload.org once preload is set."},{"priority":3,"category":"Accessibility","title":"Add explicit width/height to 5 images","impact":"CLS","problem":"5 of 30 images lack explicit `width`/`height` attributes; CLS is currently 0.000 so impact is latent.","solution":"- Add `width` and `height` attributes to every `<img>` so the browser can reserve space before load."},{"priority":3,"category":"Best Practices","title":"Suppress server technology disclosure","impact":"Fingerprinting surface","problem":"The `Server: Apache` response header discloses the web server software.","solution":"```\nServerTokens Prod\nServerSignature Off\n```\nOr strip the header at the reverse proxy."},{"priority":3,"category":"Security","title":"Move the WordPress login off /wp-login.php","impact":"Brute-force / credential-stuffing surface","problem":"The login form is served on the default `/wp-login.php` path, which is the first target for automated attacks.","solution":"- Rename the login URL (e.g. WPS Hide Login) and add rate limiting / 2FA.\n- Keep xmlrpc.php blocked (already passing)."},{"priority":3,"category":"Performance","title":"Ship source maps for first-party JS","impact":"Debuggability, error tracking","problem":"The `valid-source-maps` best-practices audit fails for large first-party JavaScript.","solution":"- Emit `.map` files in the production build and serve them from the same origin."}],"perfScore":41,"a11yScore":100,"bestPracticesScore":100,"seoScore":92,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://playandnope.com/privacy-policy","overall":88,"reasoning":"Performance is essentially solved: PSI mobile 96 / desktop 97 with clean Core Web Vitals (LCP 2.3 s mobile, CLS 0.000, TBT 8 ms, TTFB 3 ms), and the mobile/desktop delta is only 1 point so there is no mobile-first penalty. The main drag is accessibility — axe reports 1 serious color-contrast violation on the h1 (WCAG 1.4.3), plus 7 undetermined contrast nodes and 1 link-in-text-block node that axe could not resolve. Security basics returns PASS, but the advanced tier fails on CSP strictness (only `frame-ancestors 'self'` is set — no `default-src`, no `object-src 'none'`), HSTS preload, COOP, and CORP, and 2 of 2 cross-origin jsdelivr scripts lack SRI. W3C is clean (0 errors, 0 warnings) and the optimized-web checklist is 3 pass / 0 fail, so SEO and image handling are not dragging the score. The site lands just below the excellent band because of the serious WCAG violation and the advanced security hardening gaps, not because of any core breakage.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Fix color-contrast failure on the h1","impact":"WCAG 1.4.3 (AA), axe serious violation","problem":"axe reports 1 serious `color-contrast` violation on the `h1` (\"Privacy Policy\"), and could not determine contrast for 7 additional nodes.","solution":"- Raise the h1 foreground/background contrast to at least **4.5:1** for normal text, or **3:1** if the h1 renders at ≥24 px (or ≥18.66 px bold).\n- Re-run axe after the change and manually verify the 7 undetermined nodes (alpha-transparency / gradient backgrounds are skipped by axe).\n- Also check the 1 `link-in-text-block` node — links inside body copy must be distinguishable by more than color alone (e.g. add `text-decoration: underline`)."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self';` — no `default-src` and no `object-src 'none'`, so it provides no script or resource restrictions. The site also serves a WordPress login at the default `/wp-login.php` path, which is an auth surface even though the heuristic signals say otherwise.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy:\n  default-src 'self';\n  object-src 'none';\n  base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self';\n```\n- Roll out in `Content-Security-Policy-Report-Only` first, collect violations, then enforce.\n- Keep `frame-ancestors 'self'` (it already covers clickjacking alongside `X-Frame-Options: SAMEORIGIN`)."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (from `cdn.jsdelivr.net`) lack an `integrity` attribute, so a compromised CDN could inject arbitrary JS.","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- Better still, self-host the cookieconsent and iframemanager bundles so no third-party origin is needed."},{"priority":2,"category":"Performance","title":"Eliminate the /privacy-policy → /privacy-policy/ redirect","impact":"Document latency, FCP, Speed Index","problem":"Browser runtime shows the document request to `/privacy-policy` took 638 ms and returned 0 B before redirecting to `/privacy-policy/` (287 ms, 21.1 KB); PSI flags `document-latency-insight` with an estimated 640 ms saving.","solution":"- Link to the canonical trailing-slash URL everywhere: `https://playandnope.com/privacy-policy/`.\n- Ensure the redirect is a server-side 301 (not a JS/meta refresh) so it is cacheable.\n- Audit internal navigation and sitemap entries for the non-slash variant."},{"priority":3,"category":"Security","title":"Add HSTS preload, COOP and CORP headers","impact":"Transport hardening, origin isolation","problem":"HSTS is set (`max-age=31536000; includeSubDomains`) but lacks the `preload` directive; `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```\n- Submit the domain at https://hstspreload.org once the preload directive is live."},{"priority":3,"category":"Security","title":"Reduce technology disclosure and harden the WordPress login path","impact":"Attack-surface reduction","problem":"The `Server: Apache` header discloses the web server, and the login form is served on the default `/wp-login.php` path (flagged as a warn in the WordPress checks).","solution":"- Suppress the banner: `ServerTokens Prod` and `ServerSignature Off` in Apache config.\n- Move or restrict the login: rename via a security plugin, add IP allowlisting, or front it with a WAF.\n- Enable rate limiting / 2FA on `/wp-login.php`."},{"priority":3,"category":"Performance","title":"Trim unused JavaScript and ship source maps","impact":"TBT, TTI, transfer size","problem":"`global.62444fa2566b44750ca1.min.js` carries 112 KB of unused JavaScript and produces a 65 ms long task; PSI also flags `valid-source-maps` as failing for large first-party JS.","solution":"- Code-split the theme bundle so only the modules used on this template load.\n- Emit `.map` files in the production build so DevTools can attribute the unused bytes.\n- Re-check `legacy-javascript-insight` (est. 10 KiB saving) — drop the legacy transpile target if browser support allows."},{"priority":3,"category":"Performance","title":"Reduce font payload and preload the critical face","impact":"Page weight, FCP, Speed Index","problem":"Fonts are the single largest resource type at 105.3 KB across 3 requests, out of 228.3 KB total page weight.","solution":"- Subset the webfonts to the glyphs actually used (Latin + punctuation) with `pyftsubset` or `glyphhanger`.\n- Preload the above-the-fold face:\n```html\n<link rel=\"preload\" href=\"/fonts/body.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n- Prefer `font-display: swap` and drop any unused weights."},{"priority":3,"category":"Best Practices","title":"Fix document caching and structured data","impact":"Repeat-visit TTFB, rich results eligibility","problem":"The document response sets `cache-control: max-age=0`, and PSI's modeled SEO audit flags `structuredData` (the single JSON-LD block has type \"Unknown\").","solution":"- Let WP Rocket serve the cached HTML with a positive `max-age` (or `s-maxage` at the CDN edge) instead of `max-age=0`.\n- Replace the generic JSON-LD block with a typed schema (`Organization`, `WebSite`, `WebPage`) so search engines can parse it.\n- Also address the failing `tapTargets` SEO audit by ensuring interactive elements are ≥44×44 px with adequate spacing."}],"perfScore":96,"a11yScore":100,"bestPracticesScore":100,"seoScore":100,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://playandnope.com/contact","overall":68,"reasoning":"PSI desktop (duplicated for mobile after the mobile run returned HTTP 500) shows Performance 45 with a catastrophic TBT of 23,840 ms and TTI 31.4 s, driven by reCAPTCHA (1.05 MB from gstatic, three ~170 KB unused chunks) and theme JS long tasks (core.js 932 ms, jquery.min.js 729 ms, global.min.js 300–366 ms ×7). Delivery metrics are healthy — LCP 2.6 s, CLS 0.083, FCP 546 ms, TTFB 7 ms — so the drag is main-thread execution, not network. Accessibility is strong (PSI a11y 99, axe 1 minor violation on the reCAPTCHA iframe) and SEO is 100 with only modeled tapTargets/structuredData failures. Security basics PASS, but advanced checks fail: CSP is `frame-ancestors 'self';` only (no default-src, no object-src 'none'), HSTS lacks preload, COOP/CORP are missing, and 3 of 4 cross-origin scripts lack SRI. The document is served with `cache-control: max-age=0`, and the mobile PSI failure means mobile numbers are desktop duplicates — confidence is medium.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Cut main-thread blocking time (TBT 23.84 s)","impact":"TBT, TTI, Max Potential FID, Speed Index","problem":"TBT is 23,840 ms and TTI 31.4 s; long tasks come from core.js (932 ms), jquery.min.js (729 ms) and global.min.js (300–366 ms ×7), while reCAPTCHA ships 1.05 MB from gstatic with three ~170 KB unused chunks.","solution":"- Load reCAPTCHA only when the form is actually submitted (lazy-init the widget on first interaction) instead of on page load.\n- Drop jQuery if the theme allows; the 729 ms long task is pure overhead on a contact page.\n- Split `global.min.js` (92 KB wasted) and `core.js` so only the code needed for this route is parsed.\n- Audit the 22 script requests / 842 KB of script bytes — most are not needed for a contact form."},{"priority":1,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS mitigation, script injection","problem":"CSP is `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`, no `script-src`. The page contains a user-submitted `<textarea>` (hasUserContent: yes), so an 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:;\n  object-src 'none';\n  base-uri 'none';\n  frame-ancestors 'self';\n  require-trusted-types-for 'script';\n```\nEmit the nonce server-side per request and propagate it to every `<script>` tag."},{"priority":2,"category":"Performance","title":"Fix document caching (cache-control: max-age=0)","impact":"repeat-visit TTFB, LCP","problem":"The HTML document is served with `cache-control: max-age=0` and an `expires` equal to the response date, so nothing is cached despite WP Rocket being detected.","solution":"- Let WP Rocket serve the cached HTML with a short `max-age` + `stale-while-revalidate` for anonymous visitors.\n- Set long-lived `Cache-Control: public, max-age=31536000, immutable` on hashed theme assets (`global.62444fa2…min.js`, `core.c872dceb…min.js`).\n- Bypass the cache for logged-in users and for POST responses."},{"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/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```\nGenerate hashes with `openssl dgst -sha384 -binary file.js | openssl base64 -A`."},{"priority":2,"category":"Security","title":"Add HSTS preload, COOP and CORP","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```\nSubmit the domain to hstspreload.org once the preload directive is live."},{"priority":2,"category":"Best Practices","title":"Resolve the reCAPTCHA console error","impact":"console errors, Best Practices score","problem":"`requestStorageAccess: Permission denied` is logged from the reCAPTCHA anchor iframe, and `errors-in-console` is a failing Best Practices audit.","solution":"- Update the reCAPTCHA integration to the current API and load it only on form submit.\n- If the error persists, gate the storage-access call behind a feature check and catch the rejection so it does not surface as an unhandled console error."},{"priority":2,"category":"Accessibility","title":"Label the unlabeled textarea and fix the presentational-role conflict","impact":"WCAG 1.3.1, 4.1.2","problem":"Form 1 contains a `textarea` with no label, and axe reports `presentation-role-conflict` on `iframe[title=\"reCAPTCHA\"]`.","solution":"- Add a visible `<label for=\"…\">` (or `aria-label`) to the textarea.\n- Remove `role=\"presentation\"` / `role=\"none\"` from the reCAPTCHA iframe, or stop applying it to an element that also carries a `title`."},{"priority":2,"category":"SEO","title":"Fix the two W3C errors and add real structured data","impact":"HTML validity, rich results eligibility","problem":"W3C reports 2 errors — hidden inputs carrying `autocomplete='off'` — and PSI's `structuredData` modeled audit fails with the single JSON-LD block typed as `Unknown`.","solution":"- Remove `autocomplete` from `<input type=\"hidden\">` elements (Gravity Forms `gform_hidden` fields).\n- Replace the untyped JSON-LD block with a valid `Organization` / `LocalBusiness` schema including `name`, `url`, `logo` and `contactPoint`."},{"priority":2,"category":"Security","title":"Move login off /wp-login.php and suppress the Server header","impact":"attack surface, information disclosure","problem":"Security basics flags `Login not on default path` as warn (form served on `/wp-login.php`) and `Technology disclosure` as warn (`Server: Apache`).","solution":"- Rename the login path (e.g. via a security plugin) and block direct access to `/wp-login.php`.\n- Strip the version banner: `ServerTokens Prod` and `ServerSignature Off` in Apache, or remove the `Server` header at the edge."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"anchor text quality, screen-reader navigation","problem":"43 anchors include repeated vague text: \"info@playandnope.com\" ×3, \"home\" ×2, \"work\" ×2, \"about\" ×2, \"contact\" ×2, \"design & innovation\" ×2.","solution":"- Add `aria-label` to icon/logo links, e.g. `<a href=\"/\" aria-label=\"Play and Nope home\">`.\n- Differentiate footer/nav duplicates with context (\"Contact — Play and Nope\" vs \"Contact — NOPE Creative\")."},{"priority":3,"category":"Accessibility","title":"Verify color contrast on the 23 undetermined nodes","impact":"WCAG 1.4.3","problem":"axe could not determine contrast for 23 nodes (alpha/gradient backgrounds) and flagged 1 `link-in-text-block` node.","solution":"- Sample the rendered colors in DevTools and confirm ≥4.5:1 for body text and ≥3:1 for large text.\n- Ensure in-text links are distinguishable by more than color alone (underline or weight)."},{"priority":3,"category":"Performance","title":"Improve tap target sizing","impact":"mobile usability","problem":"PSI's `tapTargets` modeled SEO audit fails.","solution":"- Ensure every interactive element is at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Increase padding on footer/nav icon links rather than shrinking the icons."}],"perfScore":45,"a11yScore":99,"bestPracticesScore":96,"seoScore":100,"securityScore":89,"securityVerdict":"PASS"},{"url":"https://playandnope.com/full-stack-digital-agency","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"},{"url":"https://playandnope.com/digital-solutions-contact","overall":18,"reasoning":"The audited URL returns HTTP 500 with the WordPress 'Error establishing a database connection' page — confirmed independently by the HTTP response (status 500), the W3C validator fetch failure, the browser runtime console error, and the HTML inventory (title 'Database Error', 2.4 KB body, zero scripts, images, links or landmarks). That single fact dominates the score: the page is unusable and unindexable, so no amount of header or asset polish matters until the database is restored. Even setting the outage aside, PSI mobile performance is 35 with LCP 14.2 s and TBT 25.66 s — both far past the heavy-penalty thresholds — driven by ~600 KB of unused reCAPTCHA/theme JavaScript and long tasks from jQuery (898 ms) and core.js (626 ms). Accessibility scores 99 in Lighthouse but axe still flags a serious html-has-lang violation plus missing main landmark and region containment. Security basics PASSes, but the CSP is only `frame-ancestors 'self'` with no default-src or object-src 'none', and the document is served `no-store` with no cache plugin or CDN detected. Desktop PSI errored (HTTP 500) and W3C could not fetch the page, so desktop parity is unverified and confidence is medium.","confidence":"medium","fixes":[{"priority":1,"category":"Best Practices","title":"Restore the database connection — the page is returning HTTP 500","impact":"Availability, SEO, all metrics","problem":"The audited URL returns HTTP 500 with title 'Database Error' and h1 'Error establishing a database connection'; W3C and the browser runtime both confirm the failure.","solution":"- Check MySQL/MariaDB is running and reachable from the web host.\n- Verify `DB_HOST`, `DB_USER`, `DB_PASSWORD`, `DB_NAME` in `wp-config.php`.\n- Inspect `wp-content/debug.log` and the PHP/MySQL error logs for the root cause (corrupt table, disk full, max connections).\n- Serve a proper 503 with `Retry-After` during maintenance instead of a bare 500 so crawlers back off gracefully."},{"priority":1,"category":"Performance","title":"Eliminate 25.7 s of blocking JavaScript and the 14.2 s LCP","impact":"TBT, LCP, Speed Index, TTI","problem":"TBT is 25,660 ms and LCP 14.2 s on mobile; long tasks come from jquery.min.js (898 ms), core.min.js (626 ms) and global.min.js (331/312/297/293/284/273/268 ms), with ~520 KB of unused reCAPTCHA JS.","solution":"- Defer or async every non-critical script:\n```html\n<script src=\"/wp-content/themes/.../global.min.js\" defer></script>\n```\n- Load reCAPTCHA only when the contact form is focused/visible (IntersectionObserver + dynamic `<script>` injection) instead of on page load.\n- Audit jQuery usage — if the theme no longer needs it, drop it entirely.\n- Split the long tasks in `global.min.js` and `core.min.js` with `requestIdleCallback` / `scheduler.yield`.\n- Ship source maps so the bundles can be profiled."},{"priority":1,"category":"Performance","title":"Stop serving the document with no-store and add page caching / CDN","impact":"TTFB, repeat-visit LCP, bandwidth","problem":"The document response carries `cache-control: no-cache, must-revalidate, max-age=0, no-store, private`, and the optimized-web checklist reports no WordPress cache plugin or CDN edge cache detected.","solution":"- Remove `no-store` from cacheable HTML responses; use `Cache-Control: public, max-age=0, s-maxage=600, stale-while-revalidate=60` behind a CDN.\n- Install a page-cache plugin (e.g. WP Rocket, LiteSpeed Cache) or front the site with a CDN edge cache.\n- Keep `no-store` only on authenticated or cart/checkout responses.\n- Add long-lived immutable caching for hashed static assets:\n```\nCache-Control: public, max-age=31536000, immutable\n```"},{"priority":2,"category":"Accessibility","title":"Add a lang attribute to <html>","impact":"WCAG 3.1.1, screen reader pronunciation","problem":"axe-core reports a serious `html-has-lang` violation — the `<html>` element has no lang attribute, and the HTML inventory confirms 'Lang: not set'.","solution":"```html\n<html lang=\"en\">\n```\nUse the correct BCP-47 tag for the page's primary language."},{"priority":2,"category":"Accessibility","title":"Add main/nav landmarks, region containment and a skip link","impact":"WCAG 1.3.1, 2.4.1, keyboard navigation","problem":"axe flags `landmark-one-main` and `region` (moderate), and the HTML inventory finds no `<nav>`, `<main>`, `<header>` or `<footer>` landmarks and no skip-to-content link.","solution":"- Wrap primary content in `<main id=\"main-content\">` and navigation in `<nav>`.\n- Ensure all content sits inside a landmark region.\n- Add a skip link as the first focusable element:\n```html\n<a class=\"skip-link\" href=\"#main-content\">Skip to content</a>\n```"},{"priority":2,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self';` — it has no `default-src` and no `object-src 'none'`, so it restricts nothing about scripts or resources.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  frame-ancestors 'self'; script-src 'nonce-{random}' 'strict-dynamic';\n```\nNote: site signals show no auth, payments or user content, so this is defense-in-depth rather than an active exposure."},{"priority":3,"category":"Security","title":"Complete HSTS preload and add COOP/CORP","impact":"Transport hardening, origin isolation","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy headers 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 preload directive is live."},{"priority":3,"category":"Security","title":"Suppress the Server header","impact":"Technology disclosure","problem":"The response discloses `Server: Apache`, which the security-basics checklist flags as a warn for technology disclosure.","solution":"```\nServerTokens Prod\nServerSignature Off\n```\nOr strip/rewrite the header at the CDN/reverse-proxy layer."},{"priority":3,"category":"SEO","title":"Add structured data and enlarge tap targets","impact":"Rich results eligibility, mobile usability","problem":"PSI's modeled audits report `structuredData` and `tapTargets` failing, and the HTML inventory finds no JSON-LD, no canonical, and no meta description.","solution":"- Emit JSON-LD for the organisation and contact page:\n```html\n<script type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"ContactPage\"}</script>\n```\n- Add a canonical link and a meta description.\n- Ensure interactive controls are at least 44×44 px with adequate spacing."},{"priority":3,"category":"Best Practices","title":"Ship source maps for first-party bundles","impact":"Debuggability, error triage","problem":"PSI's `valid-source-maps` audit fails — large first-party JavaScript (global.min.js, core.min.js) ships without source maps, and the console logs a 500 error.","solution":"- Enable source maps in the build pipeline and deploy `.map` files alongside the minified bundles.\n- Keep maps out of the public path if you prefer, and upload them to your error-tracking service instead."}],"perfScore":35,"a11yScore":99,"bestPracticesScore":96,"seoScore":100,"securityScore":89,"securityVerdict":"PASS"}]}