{"url":"https://play.ee/","date":"2026-10-13","siteName":"Perfectly formed web development team - gotoAndPlay","overall":84,"reasoning":"Site overall 84 is the mean of 5 pages. Scores range 74 (https://play.ee/et/privaatsustingimused) → 88 (https://play.ee/team). Weakest page: PSI mobile 74 vs desktop 99 — the gap is driven almost entirely by CLS 0.462 on mobile (desktop 0.004), with the footer as the culprit (two shifts of 0.234 and 0.226). LCP 2.7 s and FCP 2.12 s sit in the warning band, but TBT 0 ms and TTFB 35 ms are excellent, so the performance drag is concentrated in one fixable layout-shift problem. Accessibility 93 is solid but carries 1 serious axe violation (color-contrast on h1 > .heading__main and .button) and 1 moderate (heading-order h1→h4), echoed by 5 W3C errors (4 script type/defer, 1 heading skip). Security basics PASS, but real gaps remain: TLS expires in 13 days, CSP is frame-ancestors-only (no default-src, no object-src 'none'), COOP/CORP missing, SRI absent on 2 cross-origin jsdelivr scripts, and login is served on the default /wp-login.php path. Image budget is effectively N/A (1 base64 placeholder), so the score is not dragged by image assets.","confidence":"high","fixes":[{"priority":1,"category":"Security","title":"Renew the TLS certificate before it expires","impact":"Site availability, HTTPS trust","problem":"The TLS certificate expires in 13 days, which will break HTTPS for every visitor if not renewed.","solution":"Renew the certificate now and automate renewal (e.g. certbot / Let's Encrypt with a systemd timer or cron).\n```\nsudo certbot renew --dry-run\n```\nAdd monitoring/alerting for expiry < 30 days."},{"priority":1,"category":"Accessibility","title":"Fix color-contrast on the hero heading and primary button","impact":"WCAG 1.4.3, axe serious violation, PSI accessibility score","problem":"axe reports a serious `color-contrast` violation on `h1 > .heading__main` and `.button`; PSI's `color-contrast` audit scores 0.00 at weight 7.","solution":"Raise contrast to ≥4.5:1 for normal text (≥3:1 for large text):\n- Darken the hero heading color or lighten its background.\n- Adjust the `.button` background/text pair so the ratio passes.\n- Re-run axe after the change; 8 additional nodes were flagged as *incomplete* (alpha/gradient) — verify those manually."},{"priority":1,"category":"Accessibility","title":"Fix color-contrast on the h1 and .how-we-do heading","impact":"WCAG 1.4.3, axe serious violation","problem":"axe reports 1 serious color-contrast violation on `h1 > .heading__main` and `.how-we-do__intro > .heading--primary.heading > .heading__main`; PSI also flags `color-contrast` (score 0.00, weight 7).","solution":"Raise the foreground/background contrast ratio to ≥4.5:1 for normal text (≥3:1 for large text). Inspect the computed color on `.heading__main` and darken the text or lighten the background until it passes. Verify with DevTools' contrast checker or axe DevTools after the change."},{"priority":1,"category":"Performance","title":"Reduce mobile LCP (2.7 s) and FCP (2.14 s)","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 2.7 s and FCP 2.14 s — both just above the 'good' thresholds. PSI flags `document-latency-insight` (est. savings 720 ms), `forced-reflow-insight`, and `network-dependency-tree-insight` as high-priority.","solution":"- Address the document-latency insight: the HTML document request is the slowest request (627 ms) — check server-side rendering / TTFB on the origin and warm the WP Rocket cache for `/team/`.\n- Break the network dependency chain: preload the LCP font/hero asset and inline critical CSS.\n- Fix the forced reflow: batch DOM reads/writes in the theme JS (avoid layout thrash on load).\n- Re-measure with PSI mobile after each change."},{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift driving CLS 0.462","impact":"CLS, mobile Performance score","problem":"Mobile CLS is 0.462 (desktop 0.004), with two shifts on body.privacy-policy > div#page > div.main > footer.footer of 0.234 and 0.226 — the single largest drag on the mobile score.","solution":"- Reserve space for the footer before it renders: give `footer.footer` a `min-height` matching its rendered height, or wrap it in a container with `content-visibility: auto; contain-intrinsic-size: <h>`.\n- If the shift comes from late-loading webfonts (fast.fonts.net is loaded), add `font-display: optional` or `size-adjust`/`ascent-override` on the `@font-face` so the fallback metrics match.\n- Avoid injecting content above the footer after load (cookie banner, iframe manager) — render it in a fixed-position layer instead of in flow.\n- Verify with DevTools Performance → Layout Shifts after the change."},{"priority":1,"category":"Accessibility","title":"Fix color contrast on the H1 and primary button","impact":"WCAG 1.4.3, axe serious violation, Accessibility score","problem":"axe reports a serious color-contrast violation on `h1 > .heading__main` and `.button`; PSI's `color-contrast` audit scores 0.00 (weight 7).","solution":"- Raise the foreground/background contrast ratio to ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold).\n- Check the actual computed colors in DevTools; the H1 likely uses a light gray or a semi-transparent overlay on a hero image.\n- Re-run axe after the change — 10 additional nodes were flagged as \"incomplete\" (alpha/gradient backgrounds) and should be verified manually."},{"priority":1,"category":"Accessibility","title":"Fix color-contrast failures on buttons and capability headings","impact":"WCAG 1.4.3 (AA), Lighthouse accessibility score","problem":"axe-core reports 1 serious color-contrast violation across 15+ nodes, including `.button--tertiary > .button__inner > .button__text` and the four `.capabilities__heading .heading__small` elements; 14 more nodes are 'incomplete' (axe could not determine).","solution":"Raise foreground/background contrast to ≥4.5:1 for body text and ≥3:1 for large text:\n- Audit the tertiary button palette (likely a light accent on white).\n- Darken `.capabilities__heading .heading__small` text or lighten its background.\n- Manually verify the 14 'incomplete' nodes (alpha/gradient backgrounds axe skips) with a contrast checker."},{"priority":1,"category":"Security","title":"Renew TLS certificate before it expires in 13 days","impact":"Site availability, HTTPS trust","problem":"Security basics reports 'TLS certificate expires in 13 days' — an expired cert will hard-fail every visitor's browser.","solution":"Renew the certificate now and automate renewal (e.g. certbot / Let's Encrypt with a systemd timer or cron). Add monitoring that alerts at 30/14/7 days remaining."},{"priority":2,"category":"Performance","title":"Eliminate render-blocking resources","impact":"FCP, LCP, Speed Index","problem":"PSI flags render-blocking-insight with an estimated 860 ms savings and a network-dependency-tree issue; mobile FCP is 1.96 s and LCP 2.6 s.","solution":"- Inline critical CSS for above-the-fold content and defer the rest.\n- Add `defer` or `async` to non-critical scripts (only 3 of 23 scripts currently use defer).\n- Preconnect to `fast.fonts.net` and `cdn.jsdelivr.net` (already 1 preconnect present).\n- Consider `media=\"print\" onload=\"this.media='all'\"` for non-critical stylesheets."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on flagged elements","impact":"WCAG 1.4.3, PSI accessibility score","problem":"PSI's color-contrast audit scored 0.00 (weight 7) and axe flagged 37 nodes as 'incomplete' because it could not determine contrast (likely alpha/gradients).","solution":"- Manually inspect the 37 flagged nodes in DevTools' contrast checker.\n- Raise text/background contrast to at least 4.5:1 (3:1 for large text).\n- Avoid semi-transparent text over images; add a solid backdrop or darken the text color."},{"priority":2,"category":"SEO","title":"Replace vague 'read more' link text","impact":"SEO link-text audit, screen-reader link purpose (WCAG 2.4.4)","problem":"PSI's link-text audit failed with 9 links lacking descriptive text; the HTML inventory shows 'read more' repeated 9 times.","solution":"Give each link a unique, descriptive label:\n```html\n<a href=\"/case-study/foo\" aria-label=\"Read the Foo case study\">Read more</a>\n```\nOr replace the visible text with the destination name."},{"priority":2,"category":"SEO","title":"Fix failing tap targets","impact":"Mobile usability, SEO","problem":"PSI's SEO category fails the `tapTargets` audit on mobile.","solution":"- Ensure every interactive element is at least 44×44 px (WCAG 2.5.8).\n- Add padding to small icon links and language switchers ('eng'/'est' anchors).\n- Verify spacing between adjacent targets is ≥8 px."},{"priority":2,"category":"Performance","title":"Set a real Cache-Control policy on the document","impact":"Repeat-visit TTFB, LCP","problem":"The document response ships `cache-control: max-age=0`, forcing revalidation on every navigation despite WP Rocket being active.","solution":"Configure WP Rocket (or the origin) to send a positive max-age for the HTML document, e.g.:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nKeep `max-age=0` only for logged-in or personalized responses."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity of CDN scripts","problem":"2 of 2 cross-origin scripts (jsdelivr cookieconsent and iframemanager) lack an `integrity` attribute.","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```\nBetter still, self-host these small libraries."},{"priority":2,"category":"Security","title":"Move the WordPress login off /wp-login.php","impact":"Brute-force / credential-stuffing exposure","problem":"The security basics table flags 'Login not on default path' as a warn — the login form is served on the default /wp-login.php path.","solution":"- Rename the login URL (e.g. WPS Hide Login) or restrict /wp-login.php by IP.\n- Enable rate limiting and 2FA on the login form.\n- Ensure xmlrpc.php stays blocked (already passing)."},{"priority":2,"category":"Performance","title":"Cache the document instead of `max-age=0`","impact":"Repeat-visit TTFB, FCP, LCP","problem":"The document response sets `cache-control: max-age=0`, forcing revalidation on every navigation even though the page is a static privacy policy.","solution":"Serve a positive max-age with revalidation:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nWP Rocket is already active — confirm the page-cache TTL is not being overridden by the origin."},{"priority":2,"category":"Accessibility","title":"Fix heading-order skip (h1 → h4)","impact":"WCAG 1.3.1, screen-reader outline, W3C validity","problem":"The document jumps from `h1` to `h4` (\"About the cookies used on our website\"), flagged by both axe (`heading-order`, moderate) and the W3C validator.","solution":"Use sequential levels:\n```html\n<h1>About our privacy policy</h1>\n<h2>About the cookies used on our website</h2>\n<h2>Manage cookie preferences</h2>\n```\nAdjust CSS selectors so visual sizing is preserved."},{"priority":2,"category":"Security","title":"Renew the TLS certificate (expires in 13 days)","impact":"Availability, trust","problem":"Security basics reports the TLS certificate expires in 13 days — an outage risk if renewal fails.","solution":"- Confirm automated renewal (certbot / ACME) is scheduled and working.\n- Add expiry monitoring with alerting at 30/14/7 days."},{"priority":2,"category":"Performance","title":"Fix document cache-control (max-age=0)","impact":"Repeat-visit TTFB, LCP","problem":"The document response ships `cache-control: max-age=0` even though WP Rocket is detected — repeat visitors revalidate the HTML on every navigation.","solution":"Configure WP Rocket (or the origin) to send a positive `max-age` for the HTML document, e.g.:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nKeep `max-age=0` only for logged-in / dynamic pages."},{"priority":2,"category":"Best Practices","title":"Fix 4 W3C errors from Rocket Lazyload script tags","impact":"HTML validity, parser correctness","problem":"W3C reports 4 errors: `A \"script\" element with a \"type\" attribute whose value is neither a JavaScript MIME type, \"module\", \"importmap\", nor \"speculationrules\" (i.e., a data block) must not have a \"defer\" attribute` — first at line 1738 on `type=\"text/rocketlazyloadscript\"`.","solution":"Rocket Lazyload rewrites `<script>` tags to `type=\"text/rocketlazyloadscript\"` and keeps `defer`, which is invalid HTML. Either:\n- Drop the `defer` attribute on the rewritten tags (Lazyload will re-add it on restore), or\n- Switch to a valid pattern such as `type=\"application/json\"` data blocks plus a small loader, or\n- Update WP Rocket to a version that emits valid markup."},{"priority":2,"category":"Security","title":"Renew TLS certificate (expires in 13 days)","impact":"Availability, trust","problem":"Security basics reports `TLS certificate expires in 13 days` (warn tier).","solution":"Renew the certificate now and enable automated renewal (Let's Encrypt / ACME or your CA's auto-renew). Add a monitoring alert at 30 days before expiry."},{"priority":2,"category":"Accessibility","title":"Fix heading order skip (h1 → h4)","impact":"WCAG 1.3.1, screen-reader navigation, W3C validity","problem":"The heading outline jumps from h1 straight to h4 (\"Meie veebilehel kasutatavatest küpsistest\"), skipping two levels — flagged by axe (moderate), PSI (`heading-order` score 0.00), and W3C.","solution":"- Change the two `<h4>` elements to `<h2>` (or insert `<h2>`/`<h3>` levels) so the outline descends sequentially: h1 → h2 → h3.\n- Keep visual sizing via CSS classes rather than heading level.\n- Re-check the outline in the HTML Inventory after the change."},{"priority":2,"category":"Security","title":"Renew the TLS certificate before it expires","impact":"Availability, transport security","problem":"The TLS certificate expires in 13 days — an expired cert will hard-fail all HTTPS connections and break the site for every visitor.","solution":"- Renew the certificate now (Let's Encrypt / your CA) and confirm auto-renewal is configured.\n- Add a monitoring alert at 30/14/7 days before expiry.\n- After renewal, verify the chain and protocol with `openssl s_client -connect play.ee:443 -servername play.ee`."},{"priority":2,"category":"Performance","title":"Fix document caching (Cache-Control: max-age=0)","impact":"Repeat-visit TTFB, FCP, LCP","problem":"The document response sets `cache-control: max-age=0` with an `expires` in the past, forcing revalidation on every visit even though WP Rocket is detected and the page is a static privacy policy.","solution":"- In WP Rocket (or via `.htaccess`), set a positive `max-age` for HTML, e.g. `Cache-Control: public, max-age=3600, stale-while-revalidate=86400`.\n- Keep `Vary: Accept-Encoding` and ensure the cache is purged on content updates.\n- Confirm the canonical URL is warmed after deploy so the first visitor doesn't pay the cold-start cost."},{"priority":2,"category":"Best Practices","title":"Fix W3C script type/defer errors","impact":"HTML validity, spec compliance","problem":"W3C reports 4 errors: `<script type=\"text/rocketlazyloadscript\" ... defer>` — a data-block script type must not carry `defer`.","solution":"- WP Rocket's lazyload rewrites `type` to `text/rocketlazyloadscript`; the `defer` attribute is invalid on a non-JS MIME type.\n- Either drop `defer` from those tags or configure WP Rocket to use a valid JS MIME type (`text/javascript`) with `defer`.\n- Re-validate at validator.w3.org after the change."},{"priority":2,"category":"Performance","title":"Reduce mobile LCP / FCP via document latency and dependency chain","impact":"LCP (2.9 s mobile), FCP (2.19 s mobile), Speed Index","problem":"PSI flags `document-latency-insight` (est. 670 ms savings), `forced-reflow-insight`, and `network-dependency-tree-insight` as high-priority; mobile LCP is 2.9 s vs 0.8 s on desktop.","solution":"- Serve the HTML document from cache/CDN edge (WP Rocket is active but `cache-control: max-age=0` on the document forces revalidation — raise max-age for anonymous visitors).\n- Flatten the critical request chain: preconnect to `fast.fonts.net` and `cdn.jsdelivr.net` (only 2 preconnects currently, 0 preloads).\n- Preload the LCP image/font and eliminate forced reflow by batching DOM reads/writes in theme JS."},{"priority":2,"category":"Performance","title":"Add explicit width/height to 16 images","impact":"CLS, layout stability","problem":"HTML inventory shows 16 of 31 images lack explicit width/height attributes; PSI already records a 0.017 layout shift from `div.canvas__inner > section.section > div.section__content`.","solution":"Add intrinsic dimensions (or `aspect-ratio` in CSS) to every `<img>`:\n```html\n<img src=\"…\" alt=\"…\" width=\"942\" height=\"629\">\n```\nFor SVGs, set `width`/`height` attributes or a CSS `aspect-ratio` on the wrapper."},{"priority":2,"category":"SEO","title":"Use a single <h1> per page","impact":"Document outline, screen-reader navigation","problem":"Heading outline shows h1 ×2 — 'Your worry-free WordPress website' and 'additional services to upgrade your online presence'.","solution":"Demote the second h1 to an h2 (or restructure the section so it uses an h2 heading). Keep exactly one h1 per page."},{"priority":2,"category":"Security","title":"Add HSTS preload directive","impact":"Transport security, preload-list eligibility","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Security basics marks 'HSTS preload' as fail.","solution":"Append `preload` and submit to hstspreload.org:\n```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\nConfirm all subdomains are HTTPS-only before submitting."},{"priority":3,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but weak: only `frame-ancestors 'self'` is set — no `default-src`, no `object-src 'none'`. Site signals show no auth, payments, or user content, so real XSS impact is low.","solution":"Add baseline directives now and move to nonce-based script-src when you add any dynamic surface:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```\nFor scripts, prefer `script-src 'nonce-{random}' 'strict-dynamic'` over a flat allowlist."},{"priority":3,"category":"Security","title":"Add HSTS preload and COOP/CORP headers","impact":"Transport hardening, origin isolation","problem":"HSTS lacks the `preload` directive, and Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both 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 the preload directive is live."},{"priority":3,"category":"Performance","title":"Remove unused CSS and JavaScript","impact":"FCP, LCP, render-blocking","problem":"PSI reports 30 KiB of unused CSS and 23 KB of unused jQuery (`jquery.bfe1bb19d13b3c17b682.min.js`).","solution":"- Audit the theme CSS with Coverage and split per-template stylesheets.\n- Check whether jQuery is still required; if not, drop it or replace usages with vanilla JS.\n- WP Rocket's 'Remove Unused CSS' feature can automate part of this."},{"priority":3,"category":"Best Practices","title":"Fix W3C script type/defer errors","impact":"HTML validity","problem":"W3C reports 4 errors: a `<script>` with a non-JS `type` (e.g. `text/rocketlazyloadscript`) must not carry `defer`.","solution":"WP Rocket's lazyload script type is not a JavaScript MIME type, so `defer` is invalid. Either:\n- Remove `defer` from those `text/rocketlazyloadscript` tags, or\n- Configure WP Rocket to use a valid JS MIME type with `defer`."},{"priority":3,"category":"SEO","title":"Add structured data for the agency","impact":"Rich results eligibility","problem":"PSI's `structuredData` audit fails; the single JSON-LD block has an unrecognized type.","solution":"Add a valid `Organization` / `ProfessionalService` JSON-LD block with name, url, logo, and sameAs social profiles:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"gotoAndPlay\",\"url\":\"https://play.ee/\"}\n```"},{"priority":3,"category":"Security","title":"Suppress the Server header","impact":"Technology disclosure","problem":"The response discloses `Server: Apache`, which the security basics table flags as a warn.","solution":"```\nServerTokens Prod\nServerSignature Off\n```\nOr strip the header at the reverse proxy / CDN edge."},{"priority":3,"category":"Performance","title":"Add explicit dimensions to the remaining image","impact":"CLS","problem":"1 image lacks explicit width/height attributes (the rest of the 50 SVGs are dimensioned).","solution":"Add `width` and `height` (or an `aspect-ratio` CSS rule) to the remaining image so the browser can reserve space before paint."},{"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'`, so it provides no script/resource restriction. Site signals show no auth, payments, or user content, so XSS impact is low.","solution":"Add a nonce-based 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```\nRoll out in report-only mode first to catch breakage."},{"priority":3,"category":"Security","title":"Add HSTS preload, COOP, and CORP headers","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 to hstspreload.org once the preload directive is live."},{"priority":3,"category":"Best Practices","title":"Add SRI to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (jsDelivr cookieconsent / iframemanager) lack an `integrity` attribute.","solution":"Pin versions and add 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```"},{"priority":3,"category":"Best Practices","title":"Fix W3C `script type`/`defer` errors","impact":"HTML validity","problem":"W3C reports 4 errors: a `script` with a non-JS `type` (WP Rocket's `text/rocketlazyloadscript`) must not carry `defer`.","solution":"Remove `defer` from the Rocket-lazyloaded script tags, or let WP Rocket emit the correct attributes — the loader already handles deferred execution."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Link-purpose clarity, WCAG 2.4.4","problem":"Repeated vague anchors: \"view our instagram feed\" ×3, \"visit our facebook page\" ×3, \"visit our linkedin page\" ×3, \"eng\"/\"est\" ×3.","solution":"Add `aria-label` or visually-hidden context:\n```html\n<a href=\"…\" aria-label=\"View our Instagram feed\">view our instagram feed</a>\n```"},{"priority":3,"category":"Security","title":"Move the WordPress login off the default path","impact":"Brute-force surface","problem":"Security basics flags the login form on the default `/wp-login.php` path.","solution":"- Rename the login URL (e.g. WPS Hide Login) or restrict `/wp-login.php` by IP.\n- Enforce 2FA and rate limiting on the login endpoint."},{"priority":3,"category":"Security","title":"Harden CSP (default-src, object-src 'none')","impact":"XSS defense-in-depth","problem":"CSP is present but weak: `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`. Site signals show no auth, payments, or user content, so XSS attack surface is minimal and this is P3 rather than P1.","solution":"If/when you add login or user content, deploy a nonce-based CSP 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```\nFor a brochure site as-is, prioritize the P1/P2 items above."},{"priority":3,"category":"Security","title":"Add COOP/CORP and HSTS preload","impact":"Origin isolation, HSTS preload list","problem":"Security basics flags `Cross-Origin-Opener-Policy missing`, `Cross-Origin-Resource-Policy missing`, and `HSTS lacks preload`.","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\nSubmit the domain to hstspreload.org after adding `preload`."},{"priority":3,"category":"Performance","title":"Remove unused jQuery (23 KB)","impact":"JS bytes, TBT","problem":"PSI flags `jquery.bfe1bb19d13b3c17b682.min.js — 23 KB wasted`; the theme loads jQuery but only a fraction is used.","solution":"Audit theme JS for jQuery usage and replace remaining calls with vanilla JS, or drop the dependency entirely. If jQuery is still needed, load it only on pages that require it."},{"priority":3,"category":"Accessibility","title":"Add captions to <video> elements","impact":"WCAG 1.2.2","problem":"axe reports 7 incomplete `video-caption` nodes — it could not determine whether captions exist.","solution":"Add `<track kind=\"captions\">` to each `<video>` element, or mark decorative videos with `aria-hidden=\"true\"` and no audio."},{"priority":3,"category":"SEO","title":"Fix tap targets, structured data, and vague link text","impact":"Mobile usability, rich results","problem":"PSI flags `tapTargets` and `structuredData` as failing modeled SEO audits; HTML inventory shows repeated vague link text (`view our instagram feed` ×3, `visit our facebook page` ×3, `visit our linkedin page` ×3, `eng` ×3, `est` ×3).","solution":"- Ensure interactive elements are ≥44×44 px with adequate spacing.\n- Add valid JSON-LD (the current block is typed `Unknown`) — use `Organization` / `Person` schema for the team page.\n- Disambiguate repeated link text with `aria-label` or visible context, e.g. `<a href=\"…\" aria-label=\"Play.ee on Instagram\">view our instagram feed</a>`."},{"priority":3,"category":"Performance","title":"Remove unused jQuery and reduce script weight","impact":"JS bytes, main-thread work","problem":"PSI flags 23 KB of wasted jQuery (`jquery.bfe1bb19d13b3c17b682.min.js`); 26 scripts total with 1 render-blocking.","solution":"- Audit whether jQuery is still required by the theme; if not, drop it.\n- Defer or async the remaining non-critical scripts.\n- Consider replacing jQuery-dependent snippets with vanilla JS."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated vague link text","impact":"WCAG 2.4.4, screen-reader link lists","problem":"Repeated link text appears 3× each: \"vaata meie instagrami\", \"külasta meie facebooki lehte\", \"külasta meie linkedin lehte\", plus \"eng\"/\"est\" and \"privaatsustingimused\" ×2.","solution":"- Add `aria-label` to each icon/social link to distinguish them, e.g. `<a href=\"...\" aria-label=\"Instagram — gotoAndPlay\">`.\n- For language switchers, use `aria-label=\"Switch to English\"` / `\"Lülitu eesti keelele\"`."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self';` — missing `default-src` and `object-src 'none'`. Site signals show no auth, payments, or user content, so XSS impact is limited and this is P3 per the rubric.","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```\nRoll out in Report-Only first to catch breakage from WP Rocket's inline scripts."},{"priority":3,"category":"Security","title":"Add COOP and CORP headers","impact":"Cross-origin isolation, side-channel mitigation","problem":"Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both missing; Security basics marks both as fail.","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-site\n```\nLow priority for a brochure site with no auth or payments."},{"priority":3,"category":"Best Practices","title":"Fix W3C errors from rocketlazyloadscript attributes","impact":"HTML validity, standards compliance","problem":"W3C reports 5 errors — 4× `defer` and 1× `async` on `<script type=\"text/rocketlazyloadscript\">`, which is a data block, not a JavaScript MIME type.","solution":"WP Rocket rewrites script tags to `type=\"text/rocketlazyloadscript\"` and moves `src` to `data-rocket-src`. Either:\n- Exclude these scripts from WP Rocket's JS delay/optimization so they keep `type=\"text/javascript\"`, or\n- Configure WP Rocket to strip the `async`/`defer` attributes on rewritten tags (they are meaningless on a data block)."},{"priority":3,"category":"Security","title":"Move login off /wp-login.php and hide the server header","impact":"Attack-surface reduction, information disclosure","problem":"Security basics warns 'Login form is served on the default /wp-login.php path' and 'Response headers disclose server technology' (`Server: Apache`).","solution":"- Rename the login URL (e.g. WPS Hide Login plugin) or front it with a WAF rule limiting /wp-login.php.\n- Suppress the Server header:\n```\nServerTokens Prod\nServerSignature Off\n```"},{"priority":3,"category":"Performance","title":"Trim unused jQuery and resolve preload warning","impact":"JS bytes, console cleanliness","problem":"PSI reports 23 KB of unused JavaScript in `jquery.bfe1bb19d13b3c17b682.min.js`; the runtime capture logs 'Couldn't load preload assets'.","solution":"- Audit theme JS for jQuery usage and drop the dependency where possible (or replace with vanilla equivalents).\n- Fix the preload warning by ensuring every `<link rel=\"preload\">` points to a resource that is actually fetched (check the font preloads for `fast.fonts.net`)."}],"coverage":{"pct":100,"missing":[]},"siteSummary":{"pagesAudited":5,"pagesAttempted":5,"urls":["https://play.ee/","https://play.ee/privacy-policy","https://play.ee/team","https://play.ee/et/privaatsustingimused","https://play.ee/wordpress-support-service"]},"psiSnapshot":{"rows":[{"pageUrl":"https://play.ee/","perfMobile":95,"perfDesktop":100,"lcpMobileMs":2598,"lcpDesktopMs":616.5,"clsMobile":0.0005708993761969398,"clsDesktop":0.006701776480018551},{"pageUrl":"https://play.ee/privacy-policy","perfMobile":95,"perfDesktop":99,"lcpMobileMs":2570.1607000000004,"lcpDesktopMs":704.520425,"clsMobile":0.0021662342252127494,"clsDesktop":0.005286069142668605},{"pageUrl":"https://play.ee/team","perfMobile":94,"perfDesktop":99,"lcpMobileMs":2749.5527199999997,"lcpDesktopMs":665.16738,"clsMobile":0.036139568688490095,"clsDesktop":0.002748949539154828},{"pageUrl":"https://play.ee/et/privaatsustingimused","perfMobile":74,"perfDesktop":99,"lcpMobileMs":2734.7464299999997,"lcpDesktopMs":673.9163025,"clsMobile":0.4617080934818974,"clsDesktop":0.004400179806394887},{"pageUrl":"https://play.ee/wordpress-support-service","perfMobile":92,"perfDesktop":99,"lcpMobileMs":2938.470985,"lcpDesktopMs":767.346025,"clsMobile":0.01654484511671322,"clsDesktop":0.0012131753824632906}]},"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: 224706 bytes","ratio: 0.158"]},{"id":"lazyload","title":"Images lazy-loaded","status":"n/a","detail":"No raster <img> elements found (50 SVGs excluded).","evidence":[]},{"id":"heroEager","title":"Hero image eagerly loaded","status":"n/a","detail":"No raster <img> elements found (50 SVGs 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 (50 SVGs 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://play.ee/","overall":88,"reasoning":"PSI mobile 95 / desktop 100 with clean Core Web Vitals (LCP 2.6 s, CLS 0.001, TBT 4 ms, TTFB 41 ms) puts performance in the excellent band; the only drags are LCP just over the 2.5 s threshold and 860 ms of render-blocking savings. Accessibility is strong — axe reports 0 violations and 36 passes — but PSI's color-contrast audit scored 0.00 and axe flagged 37 incomplete contrast nodes, so contrast needs manual verification. Security basics PASS, yet the TLS certificate expires in 13 days, CSP is weak (no default-src, no object-src 'none'), and COOP/CORP are missing. SEO 92 is dragged by 9 vague 'read more' links, failing tap targets, and missing structured data. W3C reports 4 errors on script type/defer, and the document ships with Cache-Control max-age=0. Overall 88 — excellent performance and accessibility, held back by operational security and SEO polish.","confidence":"high","fixes":[{"priority":1,"category":"Security","title":"Renew the TLS certificate before it expires","impact":"Site availability, HTTPS trust","problem":"The TLS certificate expires in 13 days, which will break HTTPS for every visitor if not renewed.","solution":"Renew the certificate now and automate renewal (e.g. certbot / Let's Encrypt with a systemd timer or cron).\n```\nsudo certbot renew --dry-run\n```\nAdd monitoring/alerting for expiry < 30 days."},{"priority":2,"category":"Performance","title":"Eliminate render-blocking resources","impact":"FCP, LCP, Speed Index","problem":"PSI flags render-blocking-insight with an estimated 860 ms savings and a network-dependency-tree issue; mobile FCP is 1.96 s and LCP 2.6 s.","solution":"- Inline critical CSS for above-the-fold content and defer the rest.\n- Add `defer` or `async` to non-critical scripts (only 3 of 23 scripts currently use defer).\n- Preconnect to `fast.fonts.net` and `cdn.jsdelivr.net` (already 1 preconnect present).\n- Consider `media=\"print\" onload=\"this.media='all'\"` for non-critical stylesheets."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on flagged elements","impact":"WCAG 1.4.3, PSI accessibility score","problem":"PSI's color-contrast audit scored 0.00 (weight 7) and axe flagged 37 nodes as 'incomplete' because it could not determine contrast (likely alpha/gradients).","solution":"- Manually inspect the 37 flagged nodes in DevTools' contrast checker.\n- Raise text/background contrast to at least 4.5:1 (3:1 for large text).\n- Avoid semi-transparent text over images; add a solid backdrop or darken the text color."},{"priority":2,"category":"SEO","title":"Replace vague 'read more' link text","impact":"SEO link-text audit, screen-reader link purpose (WCAG 2.4.4)","problem":"PSI's link-text audit failed with 9 links lacking descriptive text; the HTML inventory shows 'read more' repeated 9 times.","solution":"Give each link a unique, descriptive label:\n```html\n<a href=\"/case-study/foo\" aria-label=\"Read the Foo case study\">Read more</a>\n```\nOr replace the visible text with the destination name."},{"priority":2,"category":"SEO","title":"Fix failing tap targets","impact":"Mobile usability, SEO","problem":"PSI's SEO category fails the `tapTargets` audit on mobile.","solution":"- Ensure every interactive element is at least 44×44 px (WCAG 2.5.8).\n- Add padding to small icon links and language switchers ('eng'/'est' anchors).\n- Verify spacing between adjacent targets is ≥8 px."},{"priority":2,"category":"Performance","title":"Set a real Cache-Control policy on the document","impact":"Repeat-visit TTFB, LCP","problem":"The document response ships `cache-control: max-age=0`, forcing revalidation on every navigation despite WP Rocket being active.","solution":"Configure WP Rocket (or the origin) to send a positive max-age for the HTML document, e.g.:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nKeep `max-age=0` only for logged-in or personalized responses."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity of CDN scripts","problem":"2 of 2 cross-origin scripts (jsdelivr cookieconsent and iframemanager) lack an `integrity` attribute.","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```\nBetter still, self-host these small libraries."},{"priority":2,"category":"Security","title":"Move the WordPress login off /wp-login.php","impact":"Brute-force / credential-stuffing exposure","problem":"The security basics table flags 'Login not on default path' as a warn — the login form is served on the default /wp-login.php path.","solution":"- Rename the login URL (e.g. WPS Hide Login) or restrict /wp-login.php by IP.\n- Enable rate limiting and 2FA on the login form.\n- Ensure xmlrpc.php stays blocked (already passing)."},{"priority":3,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but weak: only `frame-ancestors 'self'` is set — no `default-src`, no `object-src 'none'`. Site signals show no auth, payments, or user content, so real XSS impact is low.","solution":"Add baseline directives now and move to nonce-based script-src when you add any dynamic surface:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```\nFor scripts, prefer `script-src 'nonce-{random}' 'strict-dynamic'` over a flat allowlist."},{"priority":3,"category":"Security","title":"Add HSTS preload and COOP/CORP headers","impact":"Transport hardening, origin isolation","problem":"HSTS lacks the `preload` directive, and Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both 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 the preload directive is live."},{"priority":3,"category":"Performance","title":"Remove unused CSS and JavaScript","impact":"FCP, LCP, render-blocking","problem":"PSI reports 30 KiB of unused CSS and 23 KB of unused jQuery (`jquery.bfe1bb19d13b3c17b682.min.js`).","solution":"- Audit the theme CSS with Coverage and split per-template stylesheets.\n- Check whether jQuery is still required; if not, drop it or replace usages with vanilla JS.\n- WP Rocket's 'Remove Unused CSS' feature can automate part of this."},{"priority":3,"category":"Best Practices","title":"Fix W3C script type/defer errors","impact":"HTML validity","problem":"W3C reports 4 errors: a `<script>` with a non-JS `type` (e.g. `text/rocketlazyloadscript`) must not carry `defer`.","solution":"WP Rocket's lazyload script type is not a JavaScript MIME type, so `defer` is invalid. Either:\n- Remove `defer` from those `text/rocketlazyloadscript` tags, or\n- Configure WP Rocket to use a valid JS MIME type with `defer`."},{"priority":3,"category":"SEO","title":"Add structured data for the agency","impact":"Rich results eligibility","problem":"PSI's `structuredData` audit fails; the single JSON-LD block has an unrecognized type.","solution":"Add a valid `Organization` / `ProfessionalService` JSON-LD block with name, url, logo, and sameAs social profiles:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"gotoAndPlay\",\"url\":\"https://play.ee/\"}\n```"},{"priority":3,"category":"Security","title":"Suppress the Server header","impact":"Technology disclosure","problem":"The response discloses `Server: Apache`, which the security basics table flags as a warn.","solution":"```\nServerTokens Prod\nServerSignature Off\n```\nOr strip the header at the reverse proxy / CDN edge."},{"priority":3,"category":"Performance","title":"Add explicit dimensions to the remaining image","impact":"CLS","problem":"1 image lacks explicit width/height attributes (the rest of the 50 SVGs are dimensioned).","solution":"Add `width` and `height` (or an `aspect-ratio` CSS rule) to the remaining image so the browser can reserve space before paint."}],"perfScore":95,"a11yScore":96,"bestPracticesScore":100,"seoScore":92,"securityScore":83,"securityVerdict":"PASS"},{"url":"https://play.ee/privacy-policy","overall":86,"reasoning":"PSI mobile 95 / desktop 99 with clean Core Web Vitals (LCP 2.6 s, CLS 0.002, TBT 0 ms, TTFB 40 ms) makes performance a clear strength — the only lab drags are FCP 2.11 s and modeled render-blocking/document-latency savings. Accessibility sits at 93/94, held back by one serious axe color-contrast violation on `h1 > .heading__main` and `.button` plus a heading-order skip (h1→h4) that also shows up as a W3C error. Security basics verdict is PASS, but the advanced checks flag a weak CSP (only `frame-ancestors 'self'`, no `default-src`/`object-src 'none'`), HSTS without preload, missing COOP/CORP, 2 cross-origin scripts without SRI, and a TLS certificate expiring in 13 days. W3C reports 5 errors (4× `script type`/`defer`, 1× heading skip) and the document ships `cache-control: max-age=0`, forcing revalidation on every visit. Site signals show no auth, payments, user content, or commerce, so CSP and origin-isolation headers are calibrated down to P3.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Fix color-contrast on the hero heading and primary button","impact":"WCAG 1.4.3, axe serious violation, PSI accessibility score","problem":"axe reports a serious `color-contrast` violation on `h1 > .heading__main` and `.button`; PSI's `color-contrast` audit scores 0.00 at weight 7.","solution":"Raise contrast to ≥4.5:1 for normal text (≥3:1 for large text):\n- Darken the hero heading color or lighten its background.\n- Adjust the `.button` background/text pair so the ratio passes.\n- Re-run axe after the change; 8 additional nodes were flagged as *incomplete* (alpha/gradient) — verify those manually."},{"priority":2,"category":"Performance","title":"Cache the document instead of `max-age=0`","impact":"Repeat-visit TTFB, FCP, LCP","problem":"The document response sets `cache-control: max-age=0`, forcing revalidation on every navigation even though the page is a static privacy policy.","solution":"Serve a positive max-age with revalidation:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nWP Rocket is already active — confirm the page-cache TTL is not being overridden by the origin."},{"priority":2,"category":"Accessibility","title":"Fix heading-order skip (h1 → h4)","impact":"WCAG 1.3.1, screen-reader outline, W3C validity","problem":"The document jumps from `h1` to `h4` (\"About the cookies used on our website\"), flagged by both axe (`heading-order`, moderate) and the W3C validator.","solution":"Use sequential levels:\n```html\n<h1>About our privacy policy</h1>\n<h2>About the cookies used on our website</h2>\n<h2>Manage cookie preferences</h2>\n```\nAdjust CSS selectors so visual sizing is preserved."},{"priority":2,"category":"Security","title":"Renew the TLS certificate (expires in 13 days)","impact":"Availability, trust","problem":"Security basics reports the TLS certificate expires in 13 days — an outage risk if renewal fails.","solution":"- Confirm automated renewal (certbot / ACME) is scheduled and working.\n- Add expiry monitoring with alerting at 30/14/7 days."},{"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'`, so it provides no script/resource restriction. Site signals show no auth, payments, or user content, so XSS impact is low.","solution":"Add a nonce-based 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```\nRoll out in report-only mode first to catch breakage."},{"priority":3,"category":"Security","title":"Add HSTS preload, COOP, and CORP headers","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 to hstspreload.org once the preload directive is live."},{"priority":3,"category":"Best Practices","title":"Add SRI to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (jsDelivr cookieconsent / iframemanager) lack an `integrity` attribute.","solution":"Pin versions and add 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```"},{"priority":3,"category":"Best Practices","title":"Fix W3C `script type`/`defer` errors","impact":"HTML validity","problem":"W3C reports 4 errors: a `script` with a non-JS `type` (WP Rocket's `text/rocketlazyloadscript`) must not carry `defer`.","solution":"Remove `defer` from the Rocket-lazyloaded script tags, or let WP Rocket emit the correct attributes — the loader already handles deferred execution."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Link-purpose clarity, WCAG 2.4.4","problem":"Repeated vague anchors: \"view our instagram feed\" ×3, \"visit our facebook page\" ×3, \"visit our linkedin page\" ×3, \"eng\"/\"est\" ×3.","solution":"Add `aria-label` or visually-hidden context:\n```html\n<a href=\"…\" aria-label=\"View our Instagram feed\">view our instagram feed</a>\n```"},{"priority":3,"category":"Security","title":"Move the WordPress login off the default path","impact":"Brute-force surface","problem":"Security basics flags the login form on the default `/wp-login.php` path.","solution":"- Rename the login URL (e.g. WPS Hide Login) or restrict `/wp-login.php` by IP.\n- Enforce 2FA and rate limiting on the login endpoint."}],"perfScore":95,"a11yScore":93,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://play.ee/team","overall":88,"reasoning":"PSI is strong across the board — mobile 94 / desktop 99 performance, 100 Best Practices, 100 SEO, and clean CWV (TBT 0 ms, CLS 0.036, TTFB 37 ms). The two material drags are mobile LCP 2.7 s and FCP 2.14 s, both just above the 'good' thresholds, plus a serious axe color-contrast violation on the h1 and the .how-we-do heading. Security basics PASS, but advanced checks flag a non-strict CSP (no default-src, object-src not 'none'), missing COOP/CORP, HSTS without preload, and a TLS certificate expiring in 13 days. W3C reports 4 errors from Rocket Lazyload's `type=\"text/rocketlazyloadscript\"` + `defer` pattern, and the document ships with `cache-control: max-age=0`, which undercuts the WP Rocket caching plugin. Site signals (no auth, payments, UGC, or commerce) put this in the brochure/marketing bucket, so CSP hardening is downgraded to P3 per the rubric.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Fix color-contrast on the h1 and .how-we-do heading","impact":"WCAG 1.4.3, axe serious violation","problem":"axe reports 1 serious color-contrast violation on `h1 > .heading__main` and `.how-we-do__intro > .heading--primary.heading > .heading__main`; PSI also flags `color-contrast` (score 0.00, weight 7).","solution":"Raise the foreground/background contrast ratio to ≥4.5:1 for normal text (≥3:1 for large text). Inspect the computed color on `.heading__main` and darken the text or lighten the background until it passes. Verify with DevTools' contrast checker or axe DevTools after the change."},{"priority":1,"category":"Performance","title":"Reduce mobile LCP (2.7 s) and FCP (2.14 s)","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 2.7 s and FCP 2.14 s — both just above the 'good' thresholds. PSI flags `document-latency-insight` (est. savings 720 ms), `forced-reflow-insight`, and `network-dependency-tree-insight` as high-priority.","solution":"- Address the document-latency insight: the HTML document request is the slowest request (627 ms) — check server-side rendering / TTFB on the origin and warm the WP Rocket cache for `/team/`.\n- Break the network dependency chain: preload the LCP font/hero asset and inline critical CSS.\n- Fix the forced reflow: batch DOM reads/writes in the theme JS (avoid layout thrash on load).\n- Re-measure with PSI mobile after each change."},{"priority":2,"category":"Performance","title":"Fix document cache-control (max-age=0)","impact":"Repeat-visit TTFB, LCP","problem":"The document response ships `cache-control: max-age=0` even though WP Rocket is detected — repeat visitors revalidate the HTML on every navigation.","solution":"Configure WP Rocket (or the origin) to send a positive `max-age` for the HTML document, e.g.:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\nKeep `max-age=0` only for logged-in / dynamic pages."},{"priority":2,"category":"Best Practices","title":"Fix 4 W3C errors from Rocket Lazyload script tags","impact":"HTML validity, parser correctness","problem":"W3C reports 4 errors: `A \"script\" element with a \"type\" attribute whose value is neither a JavaScript MIME type, \"module\", \"importmap\", nor \"speculationrules\" (i.e., a data block) must not have a \"defer\" attribute` — first at line 1738 on `type=\"text/rocketlazyloadscript\"`.","solution":"Rocket Lazyload rewrites `<script>` tags to `type=\"text/rocketlazyloadscript\"` and keeps `defer`, which is invalid HTML. Either:\n- Drop the `defer` attribute on the rewritten tags (Lazyload will re-add it on restore), or\n- Switch to a valid pattern such as `type=\"application/json\"` data blocks plus a small loader, or\n- Update WP Rocket to a version that emits valid markup."},{"priority":2,"category":"Security","title":"Renew TLS certificate (expires in 13 days)","impact":"Availability, trust","problem":"Security basics reports `TLS certificate expires in 13 days` (warn tier).","solution":"Renew the certificate now and enable automated renewal (Let's Encrypt / ACME or your CA's auto-renew). Add a monitoring alert at 30 days before expiry."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"Security basics reports `2 of 2 cross-origin scripts lack an integrity attribute` — both are loaded from cdn.jsdelivr.net (iframemanager, cookieconsent).","solution":"Pin a version and add SRI hashes:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nGenerate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`."},{"priority":3,"category":"Security","title":"Harden CSP (default-src, object-src 'none')","impact":"XSS defense-in-depth","problem":"CSP is present but weak: `frame-ancestors 'self';` only — no `default-src`, no `object-src 'none'`. Site signals show no auth, payments, or user content, so XSS attack surface is minimal and this is P3 rather than P1.","solution":"If/when you add login or user content, deploy a nonce-based CSP 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```\nFor a brochure site as-is, prioritize the P1/P2 items above."},{"priority":3,"category":"Security","title":"Add COOP/CORP and HSTS preload","impact":"Origin isolation, HSTS preload list","problem":"Security basics flags `Cross-Origin-Opener-Policy missing`, `Cross-Origin-Resource-Policy missing`, and `HSTS lacks preload`.","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\nSubmit the domain to hstspreload.org after adding `preload`."},{"priority":3,"category":"Performance","title":"Remove unused jQuery (23 KB)","impact":"JS bytes, TBT","problem":"PSI flags `jquery.bfe1bb19d13b3c17b682.min.js — 23 KB wasted`; the theme loads jQuery but only a fraction is used.","solution":"Audit theme JS for jQuery usage and replace remaining calls with vanilla JS, or drop the dependency entirely. If jQuery is still needed, load it only on pages that require it."},{"priority":3,"category":"Accessibility","title":"Add captions to <video> elements","impact":"WCAG 1.2.2","problem":"axe reports 7 incomplete `video-caption` nodes — it could not determine whether captions exist.","solution":"Add `<track kind=\"captions\">` to each `<video>` element, or mark decorative videos with `aria-hidden=\"true\"` and no audio."},{"priority":3,"category":"SEO","title":"Fix tap targets, structured data, and vague link text","impact":"Mobile usability, rich results","problem":"PSI flags `tapTargets` and `structuredData` as failing modeled SEO audits; HTML inventory shows repeated vague link text (`view our instagram feed` ×3, `visit our facebook page` ×3, `visit our linkedin page` ×3, `eng` ×3, `est` ×3).","solution":"- Ensure interactive elements are ≥44×44 px with adequate spacing.\n- Add valid JSON-LD (the current block is typed `Unknown`) — use `Organization` / `Person` schema for the team page.\n- Disambiguate repeated link text with `aria-label` or visible context, e.g. `<a href=\"…\" aria-label=\"Play.ee on Instagram\">view our instagram feed</a>`."},{"priority":3,"category":"Best Practices","title":"Suppress the Server header","impact":"Technology disclosure","problem":"Security basics warns `Response headers disclose server technology` — `Server: Apache`.","solution":"In Apache config:\n```\nServerTokens Prod\nServerSignature Off\nHeader unset Server\n```"}],"perfScore":94,"a11yScore":96,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://play.ee/et/privaatsustingimused","overall":74,"reasoning":"PSI mobile 74 vs desktop 99 — the gap is driven almost entirely by CLS 0.462 on mobile (desktop 0.004), with the footer as the culprit (two shifts of 0.234 and 0.226). LCP 2.7 s and FCP 2.12 s sit in the warning band, but TBT 0 ms and TTFB 35 ms are excellent, so the performance drag is concentrated in one fixable layout-shift problem. Accessibility 93 is solid but carries 1 serious axe violation (color-contrast on h1 > .heading__main and .button) and 1 moderate (heading-order h1→h4), echoed by 5 W3C errors (4 script type/defer, 1 heading skip). Security basics PASS, but real gaps remain: TLS expires in 13 days, CSP is frame-ancestors-only (no default-src, no object-src 'none'), COOP/CORP missing, SRI absent on 2 cross-origin jsdelivr scripts, and login is served on the default /wp-login.php path. Image budget is effectively N/A (1 base64 placeholder), so the score is not dragged by image assets.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift driving CLS 0.462","impact":"CLS, mobile Performance score","problem":"Mobile CLS is 0.462 (desktop 0.004), with two shifts on body.privacy-policy > div#page > div.main > footer.footer of 0.234 and 0.226 — the single largest drag on the mobile score.","solution":"- Reserve space for the footer before it renders: give `footer.footer` a `min-height` matching its rendered height, or wrap it in a container with `content-visibility: auto; contain-intrinsic-size: <h>`.\n- If the shift comes from late-loading webfonts (fast.fonts.net is loaded), add `font-display: optional` or `size-adjust`/`ascent-override` on the `@font-face` so the fallback metrics match.\n- Avoid injecting content above the footer after load (cookie banner, iframe manager) — render it in a fixed-position layer instead of in flow.\n- Verify with DevTools Performance → Layout Shifts after the change."},{"priority":1,"category":"Accessibility","title":"Fix color contrast on the H1 and primary button","impact":"WCAG 1.4.3, axe serious violation, Accessibility score","problem":"axe reports a serious color-contrast violation on `h1 > .heading__main` and `.button`; PSI's `color-contrast` audit scores 0.00 (weight 7).","solution":"- Raise the foreground/background contrast ratio to ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold).\n- Check the actual computed colors in DevTools; the H1 likely uses a light gray or a semi-transparent overlay on a hero image.\n- Re-run axe after the change — 10 additional nodes were flagged as \"incomplete\" (alpha/gradient backgrounds) and should be verified manually."},{"priority":2,"category":"Accessibility","title":"Fix heading order skip (h1 → h4)","impact":"WCAG 1.3.1, screen-reader navigation, W3C validity","problem":"The heading outline jumps from h1 straight to h4 (\"Meie veebilehel kasutatavatest küpsistest\"), skipping two levels — flagged by axe (moderate), PSI (`heading-order` score 0.00), and W3C.","solution":"- Change the two `<h4>` elements to `<h2>` (or insert `<h2>`/`<h3>` levels) so the outline descends sequentially: h1 → h2 → h3.\n- Keep visual sizing via CSS classes rather than heading level.\n- Re-check the outline in the HTML Inventory after the change."},{"priority":2,"category":"Security","title":"Renew the TLS certificate before it expires","impact":"Availability, transport security","problem":"The TLS certificate expires in 13 days — an expired cert will hard-fail all HTTPS connections and break the site for every visitor.","solution":"- Renew the certificate now (Let's Encrypt / your CA) and confirm auto-renewal is configured.\n- Add a monitoring alert at 30/14/7 days before expiry.\n- After renewal, verify the chain and protocol with `openssl s_client -connect play.ee:443 -servername play.ee`."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity, XSS defense","problem":"2 of 2 cross-origin scripts (cookieconsent and iframemanager from cdn.jsdelivr.net) lack an `integrity` attribute, so a compromised CDN could inject arbitrary JS.","solution":"- Pin exact 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-<hash>\" crossorigin=\"anonymous\" defer></script>\n```\n- Generate hashes with `openssl dgst -sha384 -binary file.js | openssl base64 -A`.\n- Better: self-host these two libraries to remove the third-party dependency entirely."},{"priority":2,"category":"Performance","title":"Fix document caching (Cache-Control: max-age=0)","impact":"Repeat-visit TTFB, FCP, LCP","problem":"The document response sets `cache-control: max-age=0` with an `expires` in the past, forcing revalidation on every visit even though WP Rocket is detected and the page is a static privacy policy.","solution":"- In WP Rocket (or via `.htaccess`), set a positive `max-age` for HTML, e.g. `Cache-Control: public, max-age=3600, stale-while-revalidate=86400`.\n- Keep `Vary: Accept-Encoding` and ensure the cache is purged on content updates.\n- Confirm the canonical URL is warmed after deploy so the first visitor doesn't pay the cold-start cost."},{"priority":2,"category":"Best Practices","title":"Fix W3C script type/defer errors","impact":"HTML validity, spec compliance","problem":"W3C reports 4 errors: `<script type=\"text/rocketlazyloadscript\" ... defer>` — a data-block script type must not carry `defer`.","solution":"- WP Rocket's lazyload rewrites `type` to `text/rocketlazyloadscript`; the `defer` attribute is invalid on a non-JS MIME type.\n- Either drop `defer` from those tags or configure WP Rocket to use a valid JS MIME type (`text/javascript`) with `defer`.\n- Re-validate at validator.w3.org after the change."},{"priority":3,"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'`, so it provides no script/resource restriction. Site signals show no auth, payments, or user content, so this is P3 rather than P1.","solution":"- Add a baseline policy and tighten over time:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  frame-ancestors 'self'; script-src 'self' 'nonce-<random>' 'strict-dynamic';\n```\n- Prefer nonce + `'strict-dynamic'` over a flat allowlist.\n- Roll out in `Content-Security-Policy-Report-Only` first to catch breakage."},{"priority":3,"category":"Security","title":"Add COOP/CORP and HSTS preload","impact":"Origin isolation, HSTS coverage","problem":"Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are missing; HSTS lacks the `preload` directive.","solution":"```\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Submit to hstspreload.org only after confirming all subdomains are HTTPS-only."},{"priority":3,"category":"Performance","title":"Remove unused jQuery and reduce script weight","impact":"JS bytes, main-thread work","problem":"PSI flags 23 KB of wasted jQuery (`jquery.bfe1bb19d13b3c17b682.min.js`); 26 scripts total with 1 render-blocking.","solution":"- Audit whether jQuery is still required by the theme; if not, drop it.\n- Defer or async the remaining non-critical scripts.\n- Consider replacing jQuery-dependent snippets with vanilla JS."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated vague link text","impact":"WCAG 2.4.4, screen-reader link lists","problem":"Repeated link text appears 3× each: \"vaata meie instagrami\", \"külasta meie facebooki lehte\", \"külasta meie linkedin lehte\", plus \"eng\"/\"est\" and \"privaatsustingimused\" ×2.","solution":"- Add `aria-label` to each icon/social link to distinguish them, e.g. `<a href=\"...\" aria-label=\"Instagram — gotoAndPlay\">`.\n- For language switchers, use `aria-label=\"Switch to English\"` / `\"Lülitu eesti keelele\"`."},{"priority":3,"category":"Security","title":"Move the WordPress login off the default path","impact":"Brute-force / enumeration surface","problem":"The login form is served on the default `/wp-login.php` path, which is the first target for automated credential-stuffing bots.","solution":"- Rename the login URL (e.g. WPS Hide Login) or front it with a WAF rate-limit / IP allowlist.\n- Enforce strong passwords and 2FA for all admin accounts.\n- Keep the existing xmlrpc.php block and user-enumeration protections in place."}],"perfScore":74,"a11yScore":93,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://play.ee/wordpress-support-service","overall":84,"reasoning":"Strong site overall: PSI mobile 92 / desktop 99, SEO 100, Best Practices 100, and Security basics PASS. The main drags are a serious axe color-contrast violation hitting 15+ nodes (Lighthouse accessibility 96), a mobile LCP of 2.9 s vs desktop 0.8 s with 670 ms of document-latency savings flagged, and 5 W3C errors from WP Rocket's rocketlazyloadscript pattern. Security headers are mostly present but CSP is weak (only frame-ancestors, no default-src/object-src), HSTS lacks preload, and COOP/CORP are missing — low-risk for a brochure site with no auth, payments, or user content. TLS certificate expires in 13 days, which is the most urgent operational item. Image budget is largely fine (25 SVGs, 0 raster images), so the 16 missing width/height attributes are a minor CLS concern rather than a heavy penalty.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Fix color-contrast failures on buttons and capability headings","impact":"WCAG 1.4.3 (AA), Lighthouse accessibility score","problem":"axe-core reports 1 serious color-contrast violation across 15+ nodes, including `.button--tertiary > .button__inner > .button__text` and the four `.capabilities__heading .heading__small` elements; 14 more nodes are 'incomplete' (axe could not determine).","solution":"Raise foreground/background contrast to ≥4.5:1 for body text and ≥3:1 for large text:\n- Audit the tertiary button palette (likely a light accent on white).\n- Darken `.capabilities__heading .heading__small` text or lighten its background.\n- Manually verify the 14 'incomplete' nodes (alpha/gradient backgrounds axe skips) with a contrast checker."},{"priority":1,"category":"Security","title":"Renew TLS certificate before it expires in 13 days","impact":"Site availability, HTTPS trust","problem":"Security basics reports 'TLS certificate expires in 13 days' — an expired cert will hard-fail every visitor's browser.","solution":"Renew the certificate now and automate renewal (e.g. certbot / Let's Encrypt with a systemd timer or cron). Add monitoring that alerts at 30/14/7 days remaining."},{"priority":2,"category":"Performance","title":"Reduce mobile LCP / FCP via document latency and dependency chain","impact":"LCP (2.9 s mobile), FCP (2.19 s mobile), Speed Index","problem":"PSI flags `document-latency-insight` (est. 670 ms savings), `forced-reflow-insight`, and `network-dependency-tree-insight` as high-priority; mobile LCP is 2.9 s vs 0.8 s on desktop.","solution":"- Serve the HTML document from cache/CDN edge (WP Rocket is active but `cache-control: max-age=0` on the document forces revalidation — raise max-age for anonymous visitors).\n- Flatten the critical request chain: preconnect to `fast.fonts.net` and `cdn.jsdelivr.net` (only 2 preconnects currently, 0 preloads).\n- Preload the LCP image/font and eliminate forced reflow by batching DOM reads/writes in theme JS."},{"priority":2,"category":"Performance","title":"Add explicit width/height to 16 images","impact":"CLS, layout stability","problem":"HTML inventory shows 16 of 31 images lack explicit width/height attributes; PSI already records a 0.017 layout shift from `div.canvas__inner > section.section > div.section__content`.","solution":"Add intrinsic dimensions (or `aspect-ratio` in CSS) to every `<img>`:\n```html\n<img src=\"…\" alt=\"…\" width=\"942\" height=\"629\">\n```\nFor SVGs, set `width`/`height` attributes or a CSS `aspect-ratio` on the wrapper."},{"priority":2,"category":"SEO","title":"Use a single <h1> per page","impact":"Document outline, screen-reader navigation","problem":"Heading outline shows h1 ×2 — 'Your worry-free WordPress website' and 'additional services to upgrade your online presence'.","solution":"Demote the second h1 to an h2 (or restructure the section so it uses an h2 heading). Keep exactly one h1 per page."},{"priority":2,"category":"Security","title":"Add HSTS preload directive","impact":"Transport security, preload-list eligibility","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Security basics marks 'HSTS preload' as fail.","solution":"Append `preload` and submit to hstspreload.org:\n```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\nConfirm all subdomains are HTTPS-only before submitting."},{"priority":2,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity for jsdelivr scripts","problem":"Security basics reports '2 of 2 cross-origin scripts lack an integrity attribute' — the cookieconsent and iframemanager bundles from cdn.jsdelivr.net.","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":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self';` — missing `default-src` and `object-src 'none'`. Site signals show no auth, payments, or user content, so XSS impact is limited and this is P3 per the rubric.","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```\nRoll out in Report-Only first to catch breakage from WP Rocket's inline scripts."},{"priority":3,"category":"Security","title":"Add COOP and CORP headers","impact":"Cross-origin isolation, side-channel mitigation","problem":"Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are both missing; Security basics marks both as fail.","solution":"```\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-site\n```\nLow priority for a brochure site with no auth or payments."},{"priority":3,"category":"Best Practices","title":"Fix W3C errors from rocketlazyloadscript attributes","impact":"HTML validity, standards compliance","problem":"W3C reports 5 errors — 4× `defer` and 1× `async` on `<script type=\"text/rocketlazyloadscript\">`, which is a data block, not a JavaScript MIME type.","solution":"WP Rocket rewrites script tags to `type=\"text/rocketlazyloadscript\"` and moves `src` to `data-rocket-src`. Either:\n- Exclude these scripts from WP Rocket's JS delay/optimization so they keep `type=\"text/javascript\"`, or\n- Configure WP Rocket to strip the `async`/`defer` attributes on rewritten tags (they are meaningless on a data block)."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated vague link text","impact":"WCAG 2.4.4 link purpose","problem":"47 anchors include 'get in touch' ×14, 'view our instagram feed' ×3, 'visit our facebook page' ×3, 'visit our linkedin page' ×3, 'eng' ×3, 'est' ×3, 'privacy policy' ×2.","solution":"Add `aria-label` or visually-hidden text to distinguish each link, e.g.:\n```html\n<a href=\"/contact\" aria-label=\"Get in touch about WordPress support\">Get in touch</a>\n```\nFor language switchers, use `aria-label=\"Switch to English\"` / `\"Switch to Estonian\"`."},{"priority":3,"category":"Security","title":"Move login off /wp-login.php and hide the server header","impact":"Attack-surface reduction, information disclosure","problem":"Security basics warns 'Login form is served on the default /wp-login.php path' and 'Response headers disclose server technology' (`Server: Apache`).","solution":"- Rename the login URL (e.g. WPS Hide Login plugin) or front it with a WAF rule limiting /wp-login.php.\n- Suppress the Server header:\n```\nServerTokens Prod\nServerSignature Off\n```"},{"priority":3,"category":"Performance","title":"Trim unused jQuery and resolve preload warning","impact":"JS bytes, console cleanliness","problem":"PSI reports 23 KB of unused JavaScript in `jquery.bfe1bb19d13b3c17b682.min.js`; the runtime capture logs 'Couldn't load preload assets'.","solution":"- Audit theme JS for jQuery usage and drop the dependency where possible (or replace with vanilla equivalents).\n- Fix the preload warning by ensuring every `<link rel=\"preload\">` points to a resource that is actually fetched (check the font preloads for `fast.fonts.net`)."}],"perfScore":92,"a11yScore":96,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"}]}