{"url":"https://estply.com/","date":"2026-10-28","siteName":"Avaleht - estply","overall":70,"reasoning":"Site overall 70 is the mean of 5 pages. Scores range 62 (https://estply.com/) → 74 (https://estply.com/kontakt). Weakest page: Mobile performance is the dominant drag: PSI mobile 64 vs desktop 95, with LCP 8.0 s and Speed Index 8.07 s against a 0.7 s / 2.19 s desktop result — a >7 s LCP delta that lands squarely in the heavy-penalty band. PSI attributes the gap to image-delivery (544 KiB savings) and font-display (500 ms), and the runtime capture confirms a single 464 KB hero WebP plus 161 KB of fonts out of 963 KB total. Accessibility is close but not clean: axe-core reports 0 violations, yet PSI accessibility is 91 with `button-name` (weight 10) and `target-size` (weight 7) both scoring 0, and 17 color-contrast nodes were left undetermined. SEO loses points for a missing meta description and failing structured data, and W3C logs 8 errors (5× `text/rocketlazyloadscript` with `defer`, 2× srcset candidates without width descriptors). Security basics PASSes, but the CSP is only `frame-ancestors 'self'` with no `default-src` or `object-src 'none'`, and Referrer-Policy/Permissions-Policy/COOP/CORP are absent. The CrUX field values (0 ms p75 for LCP/TTFB/INP, all labelled \"slow\") are internally inconsistent and were not used for scoring.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP from 8.0 s by fixing hero image delivery and font loading","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 8.0 s and Speed Index 8.07 s (desktop 0.7 s / 2.19 s); PSI flags image-delivery-insight (544 KiB) and font-display-insight (500 ms), and the runtime capture shows a single 464 KB hero WebP plus 161 KB of fonts.","solution":"- Serve a properly sized hero: the LCP image is `kaasik-kaupo-kalda-1600x900.webp` at 464 KB — generate 640/960/1280 widths and let `srcset`/`sizes` pick the right one.\n- Prioritise it explicitly:\n```html\n<img src=\".../hero-960.webp\" srcset=\".../hero-640.webp 640w, .../hero-960.webp 960w, .../hero-1280.webp 1280w\"\n     sizes=\"100vw\" width=\"960\" height=\"540\"\n     fetchpriority=\"high\" loading=\"eager\" alt=\"...\">\n<link rel=\"preload\" as=\"image\" href=\".../hero-960.webp\" imagesrcset=\"...\" imagesizes=\"100vw\" fetchpriority=\"high\">\n```\n- Add `font-display: swap` to the Open Sans `@font-face` rules and preload the two woff2 files (56 KB + 58 KB) actually used above the fold; consider dropping the third font file.\n- Do not lazy-load the hero image (it is currently `loading=\"eager\"` — keep that, but add `fetchpriority`)."},{"priority":1,"category":"Best Practices","title":"Fix the broken cross-origin SVG sprite (32 console errors, 32 failed requests)","impact":"Console errors, icon rendering, PSI Best Practices","problem":"The runtime capture logged 32 identical errors: \"Unsafe attempt to load URL https://27c41eda.delivery.rocketcdn.me/.../svg/global.f0c272df5a4f94d0b14a.svg from frame with URL https://estply.com/. Domains, protocols and ports must match.\" — the same file also appears 32 times in failed requests, so the icon sprite is not loading.","solution":"- Serve the sprite from the same origin (`https://estply.com/...`) instead of the RocketCDN host, or\n- If it must stay on the CDN, add `crossorigin=\"anonymous\"` on the `<use>`/fetch and return `Access-Control-Allow-Origin: https://estply.com` from the CDN.\n- Simplest robust fix: inline the sprite into the document or bundle it with the theme CSS."},{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift driving CLS 0.491","impact":"CLS, mobile Performance score","problem":"Lighthouse attributes 0.481 of the 0.491 mobile CLS to `div#page > div.main > div.main__footer > footer.footer`, with a second 0.010 shift on the same element.","solution":"- Reserve space for the footer before it renders: give `footer.footer` an explicit `min-height` matching its final height.\n- Check the cookie banner (`cookieyes` / RocketLazyLoad) — a banner injected above the footer after load is the classic cause of a 0.48 shift. Render it in a fixed-position overlay, not in document flow.\n- Avoid inserting late-loading widgets, ads, or lazy images above the footer without a reserved placeholder.\n- Re-run Lighthouse mobile after each change; target CLS ≤ 0.1."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP (3.8 s mobile), Speed Index (5.41 s)","problem":"The Optimized-Web checklist fails 'Hero image eagerly loaded': the first raster image (`6c041c12…png`) has `loading=\"lazy\"` and no `fetchpriority`, while mobile LCP is 3.8 s.","solution":"```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\"\n     width=\"251\" height=\"134\"\n     loading=\"eager\"\n     fetchpriority=\"high\"\n     decoding=\"async\">\n```\nAlso add a `<link rel=\"preload\" as=\"image\" fetchpriority=\"high\">` for the LCP image in `<head>`."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2, mobile Accessibility score (91)","problem":"Lighthouse `button-name` scores 0.00 at weight 10 on mobile — buttons render with no text or ARIA label.","solution":"- Add visible text, or `aria-label` / `aria-labelledby` to each icon-only button:\n```html\n<button type=\"button\" aria-label=\"Open search\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\n- Never rely on a background-image or icon font alone for the accessible name."},{"priority":1,"category":"Accessibility","title":"Add a single H1 and a real heading hierarchy","impact":"WCAG 1.3.1 / 2.4.6, document outline, SEO","problem":"The HTML inventory reports h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0 — the page has no headings at all — and axe flags `page-has-heading-one` (moderate).","solution":"- Wrap the article title in exactly one `<h1>`.\n- Use `<h2>` for major sections and `<h3>` for subsections; do not skip levels.\n- Keep the visual styling via CSS classes rather than choosing tags by appearance."},{"priority":1,"category":"Performance","title":"Cut mobile LCP (4.4 s) and FCP (3.17 s) on the critical render path","impact":"LCP, FCP, Speed Index, document latency","problem":"Mobile LCP is 4.4 s vs 1.0 s on desktop and FCP is 3.17 s; Lighthouse flags `document-latency-insight` (610 ms est. savings) and `font-display-insight` (110 ms est. savings) as high-priority.","solution":"- Preload the LCP image and the primary font in `<head>`:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png\" fetchpriority=\"high\">\n<link rel=\"preload\" as=\"font\" type=\"font/woff2\" href=\"/fonts/opensans.woff2\" crossorigin>\n```\n- Add `font-display: swap` (or `optional`) to the Open Sans `@font-face` rules.\n- Self-host the 4 Google Fonts files (96.2 KB from fonts.gstatic.com) to remove the third-party DNS/TLS hop.\n- Flatten the network dependency tree: the 21 requests chain through fonts.googleapis.com → fonts.gstatic.com → cdn.jsdelivr.net before first paint."},{"priority":1,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2 Name/Role/Value, 2.5.8 Target Size","problem":"Lighthouse mobile accessibility is 91 with `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) both failing, even though axe reported 0 violations.","solution":"- Add `aria-label` (or visible text) to every icon-only `<button>`, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Manually verify the 7 nodes axe marked 'incomplete' for color contrast — axe skips gradients and alpha transparency."},{"priority":1,"category":"Performance","title":"Eager-load the LCP hero image with high fetch priority","impact":"LCP, FCP, Speed Index","problem":"The hero image (uploads/2026/08/6c041c12…png) carries loading=\"lazy\" and no fetchpriority, and mobile LCP is 4.4 s versus 0.9 s on desktop.","solution":"- Remove `loading=\"lazy\"` from the hero and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     fetchpriority=\"high\" decoding=\"async\">\n```\n- Add a preload hint in `<head>` so the browser discovers it before CSS/JS:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12….png\" fetchpriority=\"high\">\n```\n- In WP Rocket, exclude this image from LazyLoad (Settings → Media → Excluded images)."},{"priority":1,"category":"Performance","title":"Eliminate the document redirect hop and shorten the critical request chain","impact":"LCP, FCP, TTFB, document latency","problem":"The runtime capture shows two document requests — /kupsiste-poliitika (493 ms, 0 B) redirecting to /kupsiste-poliitika/ (1.39 s) — and Lighthouse's document-latency-insight estimates 590 ms of savings.","solution":"- Link internally to the canonical trailing-slash URL (`https://estply.com/kupsiste-poliitika/`) so no request pays the redirect.\n- Ensure the canonical tag and all nav/footer links match the final URL exactly.\n- Keep WP Rocket page caching warm for the canonical URL so the first visitor does not pay the cold-start cost."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly to fix the 4.3 s mobile LCP","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 4.3 s (desktop 1.0 s) and the optimized-web checklist fails \"Hero image eagerly loaded\": the hero `/wp-content/uploads/2026/10/cz5i9178-100x100.webp` has `loading=\"lazy\"` and no `fetchpriority`.","solution":"- Remove `loading=\"lazy\"` from the above-the-fold hero and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/10/cz5i9178.webp\"\n     srcset=\"... 400w, ... 800w, ... 1600w\"\n     sizes=\"100vw\"\n     width=\"1600\" height=\"900\"\n     fetchpriority=\"high\"\n     alt=\"...\">\n```\n- Add a `<link rel=\"preload\" as=\"image\" fetchpriority=\"high\" imagesrcset=\"...\" imagesizes=\"100vw\">` in `<head>`.\n- Exclude the hero from WP Rocket's lazy-load exclusion list so the plugin does not re-add `loading=\"lazy\"`."},{"priority":1,"category":"Accessibility","title":"Give icon buttons accessible names and enlarge touch targets","impact":"Lighthouse accessibility (92 mobile), WCAG 4.1.2, 2.5.8","problem":"Lighthouse reports `button-name` (weight 10) and `target-size` (weight 7) both at score 0, and the SEO `tapTargets` audit also fails.","solution":"- Add an accessible name to every icon-only button:\n```html\n<button type=\"button\" aria-label=\"Ava menüü\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Re-run Lighthouse after the change to confirm both audits pass."},{"priority":1,"category":"Security","title":"Replace the frame-ancestors-only CSP with a nonce-based policy","impact":"XSS defense-in-depth, CSP strictness","problem":"The only CSP directive is `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so no script or resource restrictions apply. The page contains a `<textarea>` (user-content signal), which raises the value of a real CSP.","solution":"Deploy a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{RANDOM}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; form-action 'self'\n```\n- In WordPress, generate the nonce per request and add it to every enqueued script tag.\n- Roll out in `Content-Security-Policy-Report-Only` first and watch the reports before enforcing."},{"priority":2,"category":"Accessibility","title":"Name icon buttons and enlarge touch targets","impact":"WCAG 4.1.2, 2.5.8; PSI accessibility 91","problem":"PSI accessibility is 91 on mobile with `button-name` (score 0, weight 10) and `target-size` (score 0, weight 7) both failing; axe-core reported 0 violations but left 17 color-contrast nodes undetermined.","solution":"- Give every icon-only `<button>` an accessible name: `<button aria-label=\"Close menu\"><svg aria-hidden=\"true\">…</svg></button>`.\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Manually verify the 17 undetermined contrast nodes (gradients/alpha backgrounds) with a contrast checker."},{"priority":2,"category":"SEO","title":"Add a meta description and valid structured data","impact":"SEO score (92), SERP snippet, rich results","problem":"The document has no meta description (`metaDescription` failing in PSI) and `structuredData` fails — the single JSON-LD block is typed \"Unknown\".","solution":"- Add a 140–160 character description in Estonian (and a matching one for `/en/`):\n```html\n<meta name=\"description\" content=\"ESTPLY tootab kvaliteetset kasevineeri Jõgevamaa kaasaegses vineeritehases – usaldusväärne partner sinu ärile.\">\n```\n- Replace the untyped JSON-LD block with a valid `Organization` (and `WebSite`) schema including `name`, `url`, `logo`, `sameAs`."},{"priority":2,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"The CSP is only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, no script/resource restrictions; the security checklist marks \"CSP is strict\" as FAILED.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; upgrade-insecure-requests\n```\nRoll it out in report-only mode first, then enforce. Note the site has no auth or payment surface, so this is defense-in-depth rather than an urgent exposure."},{"priority":2,"category":"Performance","title":"Fix invalid srcset/sizes markup so responsive images actually apply","impact":"Image bytes, LCP","problem":"W3C reports 8 errors, including 2 `srcset` candidates with no width descriptor and one `sizes` value starting with \"auto\" on an eagerly loaded image — browsers discard such srcsets and download the full-size file.","solution":"- Every candidate in a `srcset` needs a width (or density) descriptor:\n```html\n<img src=\".../6c041c12....png\"\n     srcset=\".../6c041c12-251x134.png 251w, .../6c041c12-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 251px, 502px\" width=\"251\" height=\"134\" alt=\"\">\n```\n- Remove `auto` from `sizes` on the eager image at line 297, or add `loading=\"lazy\"` if it is genuinely below the fold."},{"priority":2,"category":"Performance","title":"Shrink the 531 KB HTML document","impact":"TTFB, FCP, parse time","problem":"HTML bytes are 531,748 (21.6 KB gzipped) and the document request took 2.38 s in the runtime capture — the largest single request in the waterfall.","solution":"- Move the 9.6 KB of inline CSS and inline scripts into cacheable external files.\n- Trim the DOM and remove unused markup/whitespace from the page builder output.\n- Verify WP Rocket's \"Remove unused CSS\" / delay-JS options are not inflating the inline payload."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 44×44 px","impact":"WCAG 2.5.8, mobile usability, SEO tap-targets audit","problem":"Lighthouse `target-size` scores 0.00 (weight 7) and the SEO `tapTargets` audit fails on mobile.","solution":"- Give icon links and nav items a minimum 44×44 px hit area via padding or `min-width`/`min-height`.\n- Add at least 8 px spacing between adjacent targets.\n```css\n.nav a, .icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```"},{"priority":2,"category":"Performance","title":"Stop serving the HTML with cache-control: max-age=0","impact":"Repeat-visit TTFB, FCP, LCP","problem":"The document response sends `cache-control: max-age=0` with an `Expires` equal to the request time, so the 66.6 KB HTML is re-downloaded on every navigation despite WP Rocket being active.","solution":"- Let WP Rocket manage the document cache, or set a short browser TTL with revalidation:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=60\n```\n- Keep `Vary: Accept-Encoding` (already present).\n- Verify the canonical URL is warmed after deploy so the first visitor does not pay the cold-start cost."},{"priority":2,"category":"Best Practices","title":"Fix the 5 invalid rocketlazyloadscript + defer combinations","impact":"W3C validity (7 errors), HTML correctness","problem":"5 of the 7 W3C errors are `<script type=\"text/rocketlazyloadscript\" … defer>` — a data-block script type must not carry `defer` (first at line 21, the cookieyes banner).","solution":"- Remove `defer` from the `text/rocketlazyloadscript` tags, or switch to a real JS type:\n```html\n<script type=\"text/javascript\" defer src=\"…\"></script>\n```\n- If the tag is a data block for WP Rocket's lazy loader, drop `defer` and let the loader handle timing.\n- Also remove the redundant `type=\"text/javascript\"` flagged as a warning at line 272."},{"priority":2,"category":"Best Practices","title":"Add width descriptors to the two srcset attributes","impact":"W3C validity, responsive image selection","problem":"2 W3C errors: `srcset` on the two PNGs (lines 391 and 411) lists a candidate with no width while `sizes` is present, so browsers cannot pick a source.","solution":"```html\n<img src=\"…251w.png\"\n     srcset=\"…251w.png 251w, …502w.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```\nEvery candidate in `srcset` must carry a `w` or `x` descriptor when `sizes` is used."},{"priority":2,"category":"SEO","title":"Add valid structured data","impact":"Rich results eligibility, PSI SEO audit","problem":"PSI's `structuredData` audit fails on mobile, and the single JSON-LD block on the page is reported with type `Unknown`.","solution":"- Emit an `Article` (or `BlogPosting`) block with `headline`, `datePublished`, `author`, `image` and `mainEntityOfPage`.\n- Validate with the Rich Results Test and Schema Markup Validator after deploying."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score, SERP snippet","problem":"`meta-description` scores 0.00 and the HTML inventory confirms `Description: not set`; SEO is 85 on both mobile and desktop.","solution":"```html\n<meta name=\"description\" content=\"Estply cookie policy — how we collect, use and retain personal data, and how to exercise your GDPR rights.\">\n```\nKeep it 120–155 characters and unique per language variant (en / et)."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self'` — `default-src` is missing and `object-src` is not `'none'`, so there are no script or resource restrictions at all.","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  style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self'\n```\nNote: this is a WordPress site with an admin login at `/wp-login.php`, so a stolen admin session is a real risk even though the audited page has no auth surface."},{"priority":2,"category":"Security","title":"Complete the missing/weak security headers","impact":"Transport security, referrer leakage, feature exposure","problem":"HSTS lacks the `preload` directive, and Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing.","solution":"```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\nX-Permitted-Cross-Domain-Policies: none\n```\nThen submit the domain at hstspreload.org once the preload directive is live."},{"priority":2,"category":"Best Practices","title":"Fix the 7 W3C validation errors","impact":"HTML validity, lazy-load behavior","problem":"W3C reports 7 errors: 5× a `script` with `type=\"text/rocketlazyloadscript\"` also carrying `defer`, and 2× `srcset` candidates with no width descriptor while `sizes` is present.","solution":"- WP Rocket's `text/rocketlazyloadscript` data blocks must not carry `defer`; exclude those scripts from Delay JS execution or let WP Rocket rewrite them without `defer`.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\"…png\" srcset=\"…-251x134.png 251w, …-502x268.png 502w\" sizes=\"(max-width: 600px) 251px, 502px\" width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":2,"category":"Accessibility","title":"Use a single h1 and disambiguate vague link text","impact":"Document outline, link purpose (WCAG 2.4.4)","problem":"The heading outline shows h1 ×2 ('Küpsiste poliitika' and 'Privacy Policy'), and Lighthouse `link-text` fails with 2 links; the inventory also lists 'here' ×2 and 'about us' ×2.","solution":"- Demote the second `<h1>` to `<h2>` so the page has exactly one top-level heading.\n- Replace 'here' with descriptive text, or add `aria-label`, e.g. `<a href=\"…\" aria-label=\"Read the full cookie policy\">`."},{"priority":2,"category":"Performance","title":"Stop sending cache-control: max-age=0 on the document","impact":"Repeat-visit TTFB, LCP","problem":"The document response carries `cache-control: max-age=0` even though WP Rocket 3.23.5.1 is active, forcing revalidation on every visit to a static policy page.","solution":"- In WP Rocket → Cache, enable browser caching for HTML with a short TTL (e.g. `max-age=600`) and keep `Vary: Accept-Encoding`.\n- Alternatively set it at the server:\n```\n<FilesMatch \"\\.html$\">\n  Header set Cache-Control \"public, max-age=600\"\n</FilesMatch>\n```"},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 24×24 px (44×44 recommended)","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"Lighthouse fails `target-size` with score 0.00 and weight 7 — interactive elements are too small or too close together on mobile.","solution":"- Add padding to icon links and small nav items so the hit area is ≥44×44 px:\n```css\n.icon-link, .footer-nav a {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  min-width: 44px;\n  min-height: 44px;\n}\n```\n- Use `gap` on flex/grid nav containers instead of margins so spacing counts toward the target-size rule."},{"priority":2,"category":"Performance","title":"Self-host and preload the Open Sans webfonts","impact":"FCP, LCP, render-blocking chain","problem":"4 font files totalling 96.2 KB load from fonts.gstatic.com (the largest single resource type on the page), and Lighthouse's font-display-insight estimates 150 ms of savings.","solution":"- Self-host the two used weights as WOFF2 and drop the fonts.googleapis.com/gstatic.com round trips.\n- Declare `font-display: swap` (or `optional`) in `@font-face`:\n```css\n@font-face {\n  font-family: 'Open Sans';\n  src: url('/fonts/opensans-var.woff2') format('woff2-variations');\n  font-display: swap;\n  font-weight: 300 800;\n}\n```\n- Preload only the single font file used above the fold:\n```html\n<link rel=\"preload\" as=\"font\" type=\"font/woff2\" href=\"/fonts/opensans-var.woff2\" crossorigin>\n```"},{"priority":2,"category":"SEO","title":"Fix heading structure, vague link text and language tagging","impact":"Document outline, screen-reader navigation, SEO","problem":"The page has 2 `<h1>` elements (\"Küpsiste poliitika\" and \"Privacy Policy\"), repeated vague link text (\"here\" ×2, \"meist\" ×2, \"kontakt\" ×2), and W3C warns the document reads as English while `<html lang=\"et\">`.","solution":"- Keep exactly one `<h1>`; demote the second to `<h2>` or split the English policy onto the `/en/` hreflang variant.\n- Replace \"here\" links with descriptive text: `<a href=\"…\">Loe meie privaatsuspoliitikat</a>`.\n- If the body is genuinely English, set `lang=\"en\"` on the wrapping element:\n```html\n<div lang=\"en\"> … English policy text … </div>\n```"},{"priority":2,"category":"Best Practices","title":"Resolve the 7 W3C validation errors","impact":"HTML validity, lazy-load correctness, responsive images","problem":"W3C reports 7 errors: 5× `script type=\"text/rocketlazyloadscript\"` carrying a `defer` attribute (invalid for a data block), and 2× `srcset` candidates with no width descriptor while `sizes` is present.","solution":"- For the RocketLazyload scripts, drop `defer` from the data-block script tags (WP Rocket re-adds it at execution time), or exclude those specific scripts from Delay JavaScript Execution.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12-251x134.png 251w, …6c041c12-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":2,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sends `cache-control: max-age=0` with an `expires` value equal to the request time, forcing revalidation on every navigation despite WP Rocket being active.","solution":"- For a static policy page, serve a short but non-zero browser TTL and let the CDN handle freshness:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Keep `max-age=0, must-revalidate` only for pages that must never be stale (cart, account)."},{"priority":2,"category":"Performance","title":"Cut image bytes and self-host the web font","impact":"LCP, page weight, FCP","problem":"Images account for 611 KB of the 740 KB total page weight across 16 requests, Lighthouse estimates 51 KiB of image-delivery savings, and 47.2 KB of Open Sans is fetched from fonts.gstatic.com with a `font-display-insight` saving of 40 ms.","solution":"- Serve the hero and gallery images at the exact rendered size; the srcset currently exposes 20 distinct widths up to 2561 px, so cap the largest candidate.\n- Re-encode remaining JPEG/PNG sources to WebP/AVIF (the site already uses WebP for most thumbnails).\n- Self-host Open Sans as woff2 with `font-display: swap` and `<link rel=\"preload\" as=\"font\" crossorigin>` to remove the fonts.gstatic.com / fonts.googleapis.com round trips."},{"priority":2,"category":"Best Practices","title":"Fix the 17 W3C validation errors","impact":"HTML validity, image rendering, script execution","problem":"W3C reports 17 errors: 12× `script type=\"text/rocketlazyloadscript\"` combined with `defer`, 2× `srcset` candidates missing a width descriptor, 1× `charset` meta after the first 1024 bytes, and 2× hidden inputs with `autocomplete`.","solution":"- Move `<meta charset=\"utf-8\">` to the very first element inside `<head>`.\n- Add width descriptors to the two offending srcset entries:\n```html\n<img src=\"…6c041c12….png\" srcset=\"…6c041c12….png 800w\" sizes=\"(max-width: 800px) 100vw, 800px\" alt=\"\">\n```\n- Remove `autocomplete` from `<input type=\"hidden\">` fields (Gravity Forms).\n- Ask WP Rocket support about the `text/rocketlazyloadscript` + `defer` combination, or disable the \"Delay JS execution\" option for these scripts."},{"priority":2,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy leakage, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing from the response headers.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=(), interest-cohort=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\n```"},{"priority":2,"category":"SEO","title":"Emit valid, typed structured data","impact":"Rich results eligibility, SEO score","problem":"The single JSON-LD block is reported with type `Unknown` and Lighthouse's `structuredData` audit fails.","solution":"- Replace the untyped block with a schema.org `Organization` / `LocalBusiness` graph including `name`, `url`, `logo`, `address`, `telephone` and `contactPoint`.\n- Validate with the Rich Results Test and Schema Markup Validator after the change."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP, CORP, HSTS preload and SRI","impact":"Privacy, origin isolation, supply-chain integrity","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing; HSTS lacks `preload`; 2 of 2 cross-origin scripts lack an `integrity` attribute; the `Server: Apache / ZoneOS` header discloses the stack.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always unset Server\n```\n- Add `integrity` + `crossorigin=\"anonymous\"` to the jsDelivr `iframemanager.js` and other cross-origin scripts."},{"priority":3,"category":"Security","title":"Harden WordPress entry points","impact":"Attack surface","problem":"The security checklist warns that `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Restrict `/wp-login.php` by IP or move it behind HTTP basic auth / a custom login slug.\n- Keep the existing protections (xmlrpc blocked, no version disclosure, no user enumeration) in place."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated vague link text","impact":"WCAG 2.4.4 link purpose","problem":"The HTML inventory flags repeated vague anchors: \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2, \"ressursid\" ×2, \"liitu meiega\" ×2, \"käitumiskoodeks\" ×3, \"tehase külastaja meelespea\" ×2.","solution":"- Add distinguishing context or `aria-label`, e.g. `<a href=\"/et/tooted\" aria-label=\"Tooted – vineeritooted\">tooted</a>`.\n- Where the same label appears in header and footer, differentiate with `aria-label=\"Tooted (päis)\"` / `\"Tooted (jalus)\"`."},{"priority":3,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB","problem":"The document response sends `cache-control: max-age=0` with an `expires` timestamp equal to the request time, so every navigation revalidates.","solution":"- Keep `max-age=0` only if the page is genuinely dynamic; otherwise use a short shared cache with stale-while-revalidate:\n```\nCache-Control: public, max-age=0, s-maxage=600, stale-while-revalidate=86400\n```\n- Confirm WP Rocket's page cache is warmed for the canonical URL after each deploy."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"The CSP is `frame-ancestors 'self'` only — no `default-src`, no `object-src 'none'`, so no script or resource restrictions apply. Site signals show no auth, payments, or user content, so this is a hardening item rather than an urgent one.","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 it out in report-only mode first and watch for violations from the jsdelivr iframemanager script."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy, origin isolation, cross-origin read protection","problem":"All four headers are missing from the response: `referrer-policy`, `permissions-policy`, `cross-origin-opener-policy`, `cross-origin-resource-policy`.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\n```"},{"priority":3,"category":"Security","title":"Add SRI to the jsdelivr script and finish HSTS preload","impact":"Supply-chain integrity, HSTS coverage","problem":"1 of 1 cross-origin scripts (`iframemanager.js` from cdn.jsdelivr.net) lacks an `integrity` attribute, and HSTS is `max-age=31536000; includeSubDomains` without `preload`.","solution":"- Add `integrity=\"sha384-…\"` and `crossorigin=\"anonymous\"` to the jsdelivr `<script>` and `<link>` tags, or self-host the file.\n- Append `; preload` to HSTS once you are ready to submit at hstspreload.org."},{"priority":3,"category":"Security","title":"Reduce WordPress attack surface and tech disclosure","impact":"Brute-force exposure, information disclosure","problem":"The security basics table warns that `/wp-admin/install.php` is reachable, the login form is on the default `/wp-login.php` path, and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (custom login slug, or IP allowlist / basic auth on `/wp-login.php`).\n- Strip the version banner: `ServerTokens Prod` and `Header unset Server`."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Anchor-text clarity, screen-reader navigation","problem":"The HTML inventory flags vague repeated anchors: \"code of conduct\" ×3, \"factory visitor reminder\" ×2, \"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"timber purchasing\" ×2, \"contact\" ×2.","solution":"- Make each anchor's text unique in context, or add `aria-label`:\n```html\n<a href=\"/en/about/\" aria-label=\"About estply\">about us</a>\n```\n- Ensure the surrounding heading or list item provides the disambiguating context."},{"priority":3,"category":"Security","title":"Add Subresource Integrity to the jsDelivr script","impact":"Supply-chain tampering risk","problem":"Security basics reports 1 of 1 cross-origin scripts lacking an `integrity` attribute — `iframemanager.js` is loaded from cdn.jsdelivr.net.","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nBetter still, self-host the 3.0 KB file."},{"priority":3,"category":"Security","title":"Harden the WordPress install paths","impact":"Attack surface","problem":"Security basics warns that `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (custom login slug, IP allowlist, or HTTP basic auth in front of `/wp-login.php`).\n- Also strip the `Server: Apache / ZoneOS` header via `ServerTokens Prod` / `ServerSignature Off`."},{"priority":3,"category":"SEO","title":"Add valid structured data","impact":"Rich results eligibility","problem":"Lighthouse `structuredData` fails and the single JSON-LD block is typed 'Unknown', so no Organization/WebPage schema is being recognised.","solution":"Emit a typed graph, e.g.:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"WebPage\",\"name\":\"Küpsiste poliitika\",\"inLanguage\":\"en\",\"url\":\"https://estply.com/en/kupsiste-poliitika/\"}\n```\nValidate with the Rich Results Test after deployment."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload","impact":"Privacy leakage, feature abuse, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, HSTS lacks `preload`, and 1 of 1 cross-origin scripts (cdn.jsdelivr.net) has no `integrity` attribute.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Add SRI to the jsDelivr script: `<script src=\"…iframemanager.js\" integrity=\"sha384-…\" crossorigin=\"anonymous\" defer>`.\n- Submit the domain at hstspreload.org once the preload directive is live."},{"priority":3,"category":"Security","title":"Close WordPress hardening gaps and stop disclosing the server","impact":"Attack surface, information disclosure","problem":"`/wp-admin/install.php` is reachable, the login form is on the default `/wp-login.php` path, and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (a login-rename plugin or an IP/2FA gate on `/wp-login.php`).\n- Strip the version banner: `Header always unset Server` and `ServerTokens Prod` in the Apache config."},{"priority":3,"category":"Accessibility","title":"Manually verify contrast on the 8 undetermined nodes","impact":"WCAG 1.4.3 Contrast","problem":"axe-core returned 0 violations but flagged 8 nodes as incomplete for color-contrast — it cannot evaluate text over gradients or with alpha transparency.","solution":"- Inspect the 8 flagged nodes in DevTools and confirm ≥4.5:1 for body text and ≥3:1 for large text.\n- Where text sits over an image or gradient, add a solid scrim behind it rather than relying on the image's average luminance."},{"priority":3,"category":"Security","title":"Harden remaining WordPress and header hygiene","impact":"Attack surface, information disclosure","problem":"HSTS lacks `preload`, the `Server: Apache / ZoneOS` header discloses the stack, `/wp-admin/install.php` is reachable, the login form sits on the default `/wp-login.php`, and 1 of 1 cross-origin scripts lacks an `integrity` attribute.","solution":"- Add `preload` to HSTS once you are ready to submit to hstspreload.org.\n- Strip the `Server` header: `Header unset Server` / `ServerTokens Prod`.\n- Block the installer: `Redirect 404 /wp-admin/install.php`.\n- Move the login form off `/wp-login.php` (e.g. a security plugin's custom login URL).\n- Add SRI to the jsDelivr iframemanager script, or self-host it."},{"priority":3,"category":"Performance","title":"Stop sending `cache-control: max-age=0` on the HTML document","impact":"Repeat-visit TTFB, back/forward navigation","problem":"The document response carries `cache-control: max-age=0` with an `expires` value only seconds ahead, so every navigation revalidates the HTML despite WP Rocket being active.","solution":"- Let WP Rocket serve the cached HTML with a short browser TTL, e.g. `Cache-Control: public, max-age=600, stale-while-revalidate=60`.\n- Keep `max-age=0` only for logged-in or personalized responses."},{"priority":3,"category":"Accessibility","title":"Manually verify the 109 undetermined contrast nodes","impact":"WCAG 1.4.3 color contrast","problem":"axe-core returned 0 violations but could not determine contrast for 109 nodes (alpha transparency, gradients or overlapping backgrounds).","solution":"- Run a contrast check in DevTools on the flagged nodes, especially text over the photographic hero and any semi-transparent overlays.\n- Target ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold)."}],"coverage":{"pct":100,"missing":[]},"siteSummary":{"pagesAudited":5,"pagesAttempted":5,"urls":["https://estply.com/","https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","https://estply.com/en/kupsiste-poliitika","https://estply.com/kupsiste-poliitika","https://estply.com/kontakt"]},"psiSnapshot":{"rows":[{"pageUrl":"https://estply.com/","perfMobile":64,"perfDesktop":95,"lcpMobileMs":7969.522344311403,"lcpDesktopMs":727.7057221352923,"clsMobile":0.005922343499244829,"clsDesktop":0.0008739945593050523},{"pageUrl":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","perfMobile":62,"perfDesktop":93,"lcpMobileMs":3836.3307000000004,"lcpDesktopMs":875.9262399999999,"clsMobile":0.4910331611373498,"clsDesktop":0.0007224834081113645},{"pageUrl":"https://estply.com/en/kupsiste-poliitika","perfMobile":78,"perfDesktop":98,"lcpMobileMs":4402.74709159124,"lcpDesktopMs":968.818051525049,"clsMobile":0.00001146708658755514,"clsDesktop":0.0009330543371108848},{"pageUrl":"https://estply.com/kupsiste-poliitika","perfMobile":78,"perfDesktop":98,"lcpMobileMs":4434.725722828438,"lcpDesktopMs":937.7724793689835,"clsMobile":0,"clsDesktop":0.0007651388859043338},{"pageUrl":"https://estply.com/kontakt","perfMobile":81,"perfDesktop":98,"lcpMobileMs":4283.2001806934295,"lcpDesktopMs":986.5369600816234,"clsMobile":0.009141790769330709,"clsDesktop":0.0002535857192613942}]},"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: 90130 bytes","ratio: 0.246"]},{"id":"lazyload","title":"Images lazy-loaded","status":"pass","detail":"All non-hero raster images use loading=\"lazy\".","evidence":[]},{"id":"heroEager","title":"Hero image eagerly loaded","status":"fail","detail":"Hero image has loading=\"lazy\", which delays LCP (inferred from DOM order/size — Lighthouse LCP element unavailable). Use loading=\"eager\" (or omit loading) and add fetchpriority=\"high\".","evidence":["hero: …y.com/wp-content/uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png","loading: lazy","fetchpriority: (not set)"]},{"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 2 raster images on the page — 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":4,"warned":0,"failed":1,"notApplicable":3},"priorities":[{"title":"Hero image eagerly loaded","severity":"high","detail":"Hero image has loading=\"lazy\", which delays LCP (inferred from DOM order/size — Lighthouse LCP element unavailable). Use loading=\"eager\" (or omit loading) and add fetchpriority=\"high\"."}]},"perPageOverall":[{"url":"https://estply.com/","overall":62,"reasoning":"Mobile performance is the dominant drag: PSI mobile 64 vs desktop 95, with LCP 8.0 s and Speed Index 8.07 s against a 0.7 s / 2.19 s desktop result — a >7 s LCP delta that lands squarely in the heavy-penalty band. PSI attributes the gap to image-delivery (544 KiB savings) and font-display (500 ms), and the runtime capture confirms a single 464 KB hero WebP plus 161 KB of fonts out of 963 KB total. Accessibility is close but not clean: axe-core reports 0 violations, yet PSI accessibility is 91 with `button-name` (weight 10) and `target-size` (weight 7) both scoring 0, and 17 color-contrast nodes were left undetermined. SEO loses points for a missing meta description and failing structured data, and W3C logs 8 errors (5× `text/rocketlazyloadscript` with `defer`, 2× srcset candidates without width descriptors). Security basics PASSes, but the CSP is only `frame-ancestors 'self'` with no `default-src` or `object-src 'none'`, and Referrer-Policy/Permissions-Policy/COOP/CORP are absent. The CrUX field values (0 ms p75 for LCP/TTFB/INP, all labelled \"slow\") are internally inconsistent and were not used for scoring.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP from 8.0 s by fixing hero image delivery and font loading","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 8.0 s and Speed Index 8.07 s (desktop 0.7 s / 2.19 s); PSI flags image-delivery-insight (544 KiB) and font-display-insight (500 ms), and the runtime capture shows a single 464 KB hero WebP plus 161 KB of fonts.","solution":"- Serve a properly sized hero: the LCP image is `kaasik-kaupo-kalda-1600x900.webp` at 464 KB — generate 640/960/1280 widths and let `srcset`/`sizes` pick the right one.\n- Prioritise it explicitly:\n```html\n<img src=\".../hero-960.webp\" srcset=\".../hero-640.webp 640w, .../hero-960.webp 960w, .../hero-1280.webp 1280w\"\n     sizes=\"100vw\" width=\"960\" height=\"540\"\n     fetchpriority=\"high\" loading=\"eager\" alt=\"...\">\n<link rel=\"preload\" as=\"image\" href=\".../hero-960.webp\" imagesrcset=\"...\" imagesizes=\"100vw\" fetchpriority=\"high\">\n```\n- Add `font-display: swap` to the Open Sans `@font-face` rules and preload the two woff2 files (56 KB + 58 KB) actually used above the fold; consider dropping the third font file.\n- Do not lazy-load the hero image (it is currently `loading=\"eager\"` — keep that, but add `fetchpriority`)."},{"priority":1,"category":"Best Practices","title":"Fix the broken cross-origin SVG sprite (32 console errors, 32 failed requests)","impact":"Console errors, icon rendering, PSI Best Practices","problem":"The runtime capture logged 32 identical errors: \"Unsafe attempt to load URL https://27c41eda.delivery.rocketcdn.me/.../svg/global.f0c272df5a4f94d0b14a.svg from frame with URL https://estply.com/. Domains, protocols and ports must match.\" — the same file also appears 32 times in failed requests, so the icon sprite is not loading.","solution":"- Serve the sprite from the same origin (`https://estply.com/...`) instead of the RocketCDN host, or\n- If it must stay on the CDN, add `crossorigin=\"anonymous\"` on the `<use>`/fetch and return `Access-Control-Allow-Origin: https://estply.com` from the CDN.\n- Simplest robust fix: inline the sprite into the document or bundle it with the theme CSS."},{"priority":2,"category":"Accessibility","title":"Name icon buttons and enlarge touch targets","impact":"WCAG 4.1.2, 2.5.8; PSI accessibility 91","problem":"PSI accessibility is 91 on mobile with `button-name` (score 0, weight 10) and `target-size` (score 0, weight 7) both failing; axe-core reported 0 violations but left 17 color-contrast nodes undetermined.","solution":"- Give every icon-only `<button>` an accessible name: `<button aria-label=\"Close menu\"><svg aria-hidden=\"true\">…</svg></button>`.\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Manually verify the 17 undetermined contrast nodes (gradients/alpha backgrounds) with a contrast checker."},{"priority":2,"category":"SEO","title":"Add a meta description and valid structured data","impact":"SEO score (92), SERP snippet, rich results","problem":"The document has no meta description (`metaDescription` failing in PSI) and `structuredData` fails — the single JSON-LD block is typed \"Unknown\".","solution":"- Add a 140–160 character description in Estonian (and a matching one for `/en/`):\n```html\n<meta name=\"description\" content=\"ESTPLY tootab kvaliteetset kasevineeri Jõgevamaa kaasaegses vineeritehases – usaldusväärne partner sinu ärile.\">\n```\n- Replace the untyped JSON-LD block with a valid `Organization` (and `WebSite`) schema including `name`, `url`, `logo`, `sameAs`."},{"priority":2,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"The CSP is only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, no script/resource restrictions; the security checklist marks \"CSP is strict\" as FAILED.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; upgrade-insecure-requests\n```\nRoll it out in report-only mode first, then enforce. Note the site has no auth or payment surface, so this is defense-in-depth rather than an urgent exposure."},{"priority":2,"category":"Performance","title":"Fix invalid srcset/sizes markup so responsive images actually apply","impact":"Image bytes, LCP","problem":"W3C reports 8 errors, including 2 `srcset` candidates with no width descriptor and one `sizes` value starting with \"auto\" on an eagerly loaded image — browsers discard such srcsets and download the full-size file.","solution":"- Every candidate in a `srcset` needs a width (or density) descriptor:\n```html\n<img src=\".../6c041c12....png\"\n     srcset=\".../6c041c12-251x134.png 251w, .../6c041c12-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 251px, 502px\" width=\"251\" height=\"134\" alt=\"\">\n```\n- Remove `auto` from `sizes` on the eager image at line 297, or add `loading=\"lazy\"` if it is genuinely below the fold."},{"priority":2,"category":"Performance","title":"Shrink the 531 KB HTML document","impact":"TTFB, FCP, parse time","problem":"HTML bytes are 531,748 (21.6 KB gzipped) and the document request took 2.38 s in the runtime capture — the largest single request in the waterfall.","solution":"- Move the 9.6 KB of inline CSS and inline scripts into cacheable external files.\n- Trim the DOM and remove unused markup/whitespace from the page builder output.\n- Verify WP Rocket's \"Remove unused CSS\" / delay-JS options are not inflating the inline payload."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP, CORP, HSTS preload and SRI","impact":"Privacy, origin isolation, supply-chain integrity","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing; HSTS lacks `preload`; 2 of 2 cross-origin scripts lack an `integrity` attribute; the `Server: Apache / ZoneOS` header discloses the stack.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always unset Server\n```\n- Add `integrity` + `crossorigin=\"anonymous\"` to the jsDelivr `iframemanager.js` and other cross-origin scripts."},{"priority":3,"category":"Security","title":"Harden WordPress entry points","impact":"Attack surface","problem":"The security checklist warns that `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Restrict `/wp-login.php` by IP or move it behind HTTP basic auth / a custom login slug.\n- Keep the existing protections (xmlrpc blocked, no version disclosure, no user enumeration) in place."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated vague link text","impact":"WCAG 2.4.4 link purpose","problem":"The HTML inventory flags repeated vague anchors: \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2, \"ressursid\" ×2, \"liitu meiega\" ×2, \"käitumiskoodeks\" ×3, \"tehase külastaja meelespea\" ×2.","solution":"- Add distinguishing context or `aria-label`, e.g. `<a href=\"/et/tooted\" aria-label=\"Tooted – vineeritooted\">tooted</a>`.\n- Where the same label appears in header and footer, differentiate with `aria-label=\"Tooted (päis)\"` / `\"Tooted (jalus)\"`."},{"priority":3,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB","problem":"The document response sends `cache-control: max-age=0` with an `expires` timestamp equal to the request time, so every navigation revalidates.","solution":"- Keep `max-age=0` only if the page is genuinely dynamic; otherwise use a short shared cache with stale-while-revalidate:\n```\nCache-Control: public, max-age=0, s-maxage=600, stale-while-revalidate=86400\n```\n- Confirm WP Rocket's page cache is warmed for the canonical URL after each deploy."}],"perfScore":64,"a11yScore":91,"bestPracticesScore":96,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","overall":69,"reasoning":"Mobile PSI is 62 against desktop 93 — a 31-point gap driven almost entirely by CLS 0.491 (footer shift 0.481) and LCP 3.8 s, both well past the 'good' thresholds, while desktop is clean at 0.001 CLS and 0.9 s LCP. Accessibility is the second drag: axe reports only 1 moderate violation (page-has-heading-one) but the document has zero headings of any level, and Lighthouse flags unnamed buttons (score 0.00, weight 10) and undersized touch targets (score 0.00, weight 7). Security basics PASS, but the CSP is frame-ancestors-only with no default-src or object-src 'none', and Referrer-Policy, Permissions-Policy, COOP and CORP are all absent — advanced-tier gaps rather than basic failures. W3C reports 7 errors (5× rocketlazyloadscript with defer, 2× srcset without width descriptors) and the document is served with cache-control max-age=0, so the 66.6 KB HTML is re-fetched on every visit. Image assets are a minor factor here — only 2 raster PNGs totalling 29.3 KB — but the hero is lazy-loaded and no WebP is used.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift driving CLS 0.491","impact":"CLS, mobile Performance score","problem":"Lighthouse attributes 0.481 of the 0.491 mobile CLS to `div#page > div.main > div.main__footer > footer.footer`, with a second 0.010 shift on the same element.","solution":"- Reserve space for the footer before it renders: give `footer.footer` an explicit `min-height` matching its final height.\n- Check the cookie banner (`cookieyes` / RocketLazyLoad) — a banner injected above the footer after load is the classic cause of a 0.48 shift. Render it in a fixed-position overlay, not in document flow.\n- Avoid inserting late-loading widgets, ads, or lazy images above the footer without a reserved placeholder.\n- Re-run Lighthouse mobile after each change; target CLS ≤ 0.1."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP (3.8 s mobile), Speed Index (5.41 s)","problem":"The Optimized-Web checklist fails 'Hero image eagerly loaded': the first raster image (`6c041c12…png`) has `loading=\"lazy\"` and no `fetchpriority`, while mobile LCP is 3.8 s.","solution":"```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\"\n     width=\"251\" height=\"134\"\n     loading=\"eager\"\n     fetchpriority=\"high\"\n     decoding=\"async\">\n```\nAlso add a `<link rel=\"preload\" as=\"image\" fetchpriority=\"high\">` for the LCP image in `<head>`."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2, mobile Accessibility score (91)","problem":"Lighthouse `button-name` scores 0.00 at weight 10 on mobile — buttons render with no text or ARIA label.","solution":"- Add visible text, or `aria-label` / `aria-labelledby` to each icon-only button:\n```html\n<button type=\"button\" aria-label=\"Open search\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\n- Never rely on a background-image or icon font alone for the accessible name."},{"priority":1,"category":"Accessibility","title":"Add a single H1 and a real heading hierarchy","impact":"WCAG 1.3.1 / 2.4.6, document outline, SEO","problem":"The HTML inventory reports h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0 — the page has no headings at all — and axe flags `page-has-heading-one` (moderate).","solution":"- Wrap the article title in exactly one `<h1>`.\n- Use `<h2>` for major sections and `<h3>` for subsections; do not skip levels.\n- Keep the visual styling via CSS classes rather than choosing tags by appearance."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 44×44 px","impact":"WCAG 2.5.8, mobile usability, SEO tap-targets audit","problem":"Lighthouse `target-size` scores 0.00 (weight 7) and the SEO `tapTargets` audit fails on mobile.","solution":"- Give icon links and nav items a minimum 44×44 px hit area via padding or `min-width`/`min-height`.\n- Add at least 8 px spacing between adjacent targets.\n```css\n.nav a, .icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```"},{"priority":2,"category":"Performance","title":"Stop serving the HTML with cache-control: max-age=0","impact":"Repeat-visit TTFB, FCP, LCP","problem":"The document response sends `cache-control: max-age=0` with an `Expires` equal to the request time, so the 66.6 KB HTML is re-downloaded on every navigation despite WP Rocket being active.","solution":"- Let WP Rocket manage the document cache, or set a short browser TTL with revalidation:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=60\n```\n- Keep `Vary: Accept-Encoding` (already present).\n- Verify the canonical URL is warmed after deploy so the first visitor does not pay the cold-start cost."},{"priority":2,"category":"Best Practices","title":"Fix the 5 invalid rocketlazyloadscript + defer combinations","impact":"W3C validity (7 errors), HTML correctness","problem":"5 of the 7 W3C errors are `<script type=\"text/rocketlazyloadscript\" … defer>` — a data-block script type must not carry `defer` (first at line 21, the cookieyes banner).","solution":"- Remove `defer` from the `text/rocketlazyloadscript` tags, or switch to a real JS type:\n```html\n<script type=\"text/javascript\" defer src=\"…\"></script>\n```\n- If the tag is a data block for WP Rocket's lazy loader, drop `defer` and let the loader handle timing.\n- Also remove the redundant `type=\"text/javascript\"` flagged as a warning at line 272."},{"priority":2,"category":"Best Practices","title":"Add width descriptors to the two srcset attributes","impact":"W3C validity, responsive image selection","problem":"2 W3C errors: `srcset` on the two PNGs (lines 391 and 411) lists a candidate with no width while `sizes` is present, so browsers cannot pick a source.","solution":"```html\n<img src=\"…251w.png\"\n     srcset=\"…251w.png 251w, …502w.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```\nEvery candidate in `srcset` must carry a `w` or `x` descriptor when `sizes` is used."},{"priority":2,"category":"SEO","title":"Add valid structured data","impact":"Rich results eligibility, PSI SEO audit","problem":"PSI's `structuredData` audit fails on mobile, and the single JSON-LD block on the page is reported with type `Unknown`.","solution":"- Emit an `Article` (or `BlogPosting`) block with `headline`, `datePublished`, `author`, `image` and `mainEntityOfPage`.\n- Validate with the Rich Results Test and Schema Markup Validator after deploying."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"The CSP is `frame-ancestors 'self'` only — no `default-src`, no `object-src 'none'`, so no script or resource restrictions apply. Site signals show no auth, payments, or user content, so this is a hardening item rather than an urgent one.","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 it out in report-only mode first and watch for violations from the jsdelivr iframemanager script."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy, origin isolation, cross-origin read protection","problem":"All four headers are missing from the response: `referrer-policy`, `permissions-policy`, `cross-origin-opener-policy`, `cross-origin-resource-policy`.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\n```"},{"priority":3,"category":"Security","title":"Add SRI to the jsdelivr script and finish HSTS preload","impact":"Supply-chain integrity, HSTS coverage","problem":"1 of 1 cross-origin scripts (`iframemanager.js` from cdn.jsdelivr.net) lacks an `integrity` attribute, and HSTS is `max-age=31536000; includeSubDomains` without `preload`.","solution":"- Add `integrity=\"sha384-…\"` and `crossorigin=\"anonymous\"` to the jsdelivr `<script>` and `<link>` tags, or self-host the file.\n- Append `; preload` to HSTS once you are ready to submit at hstspreload.org."},{"priority":3,"category":"Security","title":"Reduce WordPress attack surface and tech disclosure","impact":"Brute-force exposure, information disclosure","problem":"The security basics table warns that `/wp-admin/install.php` is reachable, the login form is on the default `/wp-login.php` path, and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (custom login slug, or IP allowlist / basic auth on `/wp-login.php`).\n- Strip the version banner: `ServerTokens Prod` and `Header unset Server`."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Anchor-text clarity, screen-reader navigation","problem":"The HTML inventory flags vague repeated anchors: \"code of conduct\" ×3, \"factory visitor reminder\" ×2, \"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"timber purchasing\" ×2, \"contact\" ×2.","solution":"- Make each anchor's text unique in context, or add `aria-label`:\n```html\n<a href=\"/en/about/\" aria-label=\"About estply\">about us</a>\n```\n- Ensure the surrounding heading or list item provides the disambiguating context."}],"perfScore":62,"a11yScore":91,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/en/kupsiste-poliitika","overall":74,"reasoning":"Mobile PSI is 78 against 98 on desktop, driven by a 4.4 s mobile LCP (vs 1.0 s desktop) and 3.17 s FCP — a >3 s mobile/desktop LCP delta that points at render-path and font cost rather than page weight, since total transfer is only 171.9 KB. Accessibility is strong on axe (0 violations, 40 passes) but Lighthouse mobile still fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7), holding it at 91. SEO is 85 on both strategies with no meta description, vague link text and no usable structured data. Security basics PASS, but the CSP is only `frame-ancestors 'self'` with no `default-src` or `object-src 'none'`, and Referrer-Policy, Permissions-Policy, COOP and CORP are all missing; W3C reports 7 errors. Nothing is critically broken, but the mobile LCP and the SEO/header gaps keep this in the 'needs improvement' band.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP (4.4 s) and FCP (3.17 s) on the critical render path","impact":"LCP, FCP, Speed Index, document latency","problem":"Mobile LCP is 4.4 s vs 1.0 s on desktop and FCP is 3.17 s; Lighthouse flags `document-latency-insight` (610 ms est. savings) and `font-display-insight` (110 ms est. savings) as high-priority.","solution":"- Preload the LCP image and the primary font in `<head>`:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png\" fetchpriority=\"high\">\n<link rel=\"preload\" as=\"font\" type=\"font/woff2\" href=\"/fonts/opensans.woff2\" crossorigin>\n```\n- Add `font-display: swap` (or `optional`) to the Open Sans `@font-face` rules.\n- Self-host the 4 Google Fonts files (96.2 KB from fonts.gstatic.com) to remove the third-party DNS/TLS hop.\n- Flatten the network dependency tree: the 21 requests chain through fonts.googleapis.com → fonts.gstatic.com → cdn.jsdelivr.net before first paint."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP","problem":"The Optimized-Web checklist fails 'Hero image eagerly loaded': the first image (`…6c041c12fb0c531933532c08c2749a1a836d595a.png`, 251×134) has `loading=\"lazy\"` and no `fetchpriority`.","solution":"```html\n<img src=\"…/6c041c12fb0c531933532c08c2749a1a836d595a.png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` only on genuinely below-the-fold images. Verify visually which element is the real LCP — the heuristic picks the first `<img>`."},{"priority":1,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2 Name/Role/Value, 2.5.8 Target Size","problem":"Lighthouse mobile accessibility is 91 with `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) both failing, even though axe reported 0 violations.","solution":"- Add `aria-label` (or visible text) to every icon-only `<button>`, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Manually verify the 7 nodes axe marked 'incomplete' for color contrast — axe skips gradients and alpha transparency."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score, SERP snippet","problem":"`meta-description` scores 0.00 and the HTML inventory confirms `Description: not set`; SEO is 85 on both mobile and desktop.","solution":"```html\n<meta name=\"description\" content=\"Estply cookie policy — how we collect, use and retain personal data, and how to exercise your GDPR rights.\">\n```\nKeep it 120–155 characters and unique per language variant (en / et)."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self'` — `default-src` is missing and `object-src` is not `'none'`, so there are no script or resource restrictions at all.","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  style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self'\n```\nNote: this is a WordPress site with an admin login at `/wp-login.php`, so a stolen admin session is a real risk even though the audited page has no auth surface."},{"priority":2,"category":"Security","title":"Complete the missing/weak security headers","impact":"Transport security, referrer leakage, feature exposure","problem":"HSTS lacks the `preload` directive, and Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing.","solution":"```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\nX-Permitted-Cross-Domain-Policies: none\n```\nThen submit the domain at hstspreload.org once the preload directive is live."},{"priority":2,"category":"Best Practices","title":"Fix the 7 W3C validation errors","impact":"HTML validity, lazy-load behavior","problem":"W3C reports 7 errors: 5× a `script` with `type=\"text/rocketlazyloadscript\"` also carrying `defer`, and 2× `srcset` candidates with no width descriptor while `sizes` is present.","solution":"- WP Rocket's `text/rocketlazyloadscript` data blocks must not carry `defer`; exclude those scripts from Delay JS execution or let WP Rocket rewrite them without `defer`.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\"…png\" srcset=\"…-251x134.png 251w, …-502x268.png 502w\" sizes=\"(max-width: 600px) 251px, 502px\" width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":2,"category":"Accessibility","title":"Use a single h1 and disambiguate vague link text","impact":"Document outline, link purpose (WCAG 2.4.4)","problem":"The heading outline shows h1 ×2 ('Küpsiste poliitika' and 'Privacy Policy'), and Lighthouse `link-text` fails with 2 links; the inventory also lists 'here' ×2 and 'about us' ×2.","solution":"- Demote the second `<h1>` to `<h2>` so the page has exactly one top-level heading.\n- Replace 'here' with descriptive text, or add `aria-label`, e.g. `<a href=\"…\" aria-label=\"Read the full cookie policy\">`."},{"priority":2,"category":"Performance","title":"Stop sending cache-control: max-age=0 on the document","impact":"Repeat-visit TTFB, LCP","problem":"The document response carries `cache-control: max-age=0` even though WP Rocket 3.23.5.1 is active, forcing revalidation on every visit to a static policy page.","solution":"- In WP Rocket → Cache, enable browser caching for HTML with a short TTL (e.g. `max-age=600`) and keep `Vary: Accept-Encoding`.\n- Alternatively set it at the server:\n```\n<FilesMatch \"\\.html$\">\n  Header set Cache-Control \"public, max-age=600\"\n</FilesMatch>\n```"},{"priority":3,"category":"Security","title":"Add Subresource Integrity to the jsDelivr script","impact":"Supply-chain tampering risk","problem":"Security basics reports 1 of 1 cross-origin scripts lacking an `integrity` attribute — `iframemanager.js` is loaded from cdn.jsdelivr.net.","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nBetter still, self-host the 3.0 KB file."},{"priority":3,"category":"Security","title":"Harden the WordPress install paths","impact":"Attack surface","problem":"Security basics warns that `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (custom login slug, IP allowlist, or HTTP basic auth in front of `/wp-login.php`).\n- Also strip the `Server: Apache / ZoneOS` header via `ServerTokens Prod` / `ServerSignature Off`."},{"priority":3,"category":"SEO","title":"Add valid structured data","impact":"Rich results eligibility","problem":"Lighthouse `structuredData` fails and the single JSON-LD block is typed 'Unknown', so no Organization/WebPage schema is being recognised.","solution":"Emit a typed graph, e.g.:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"WebPage\",\"name\":\"Küpsiste poliitika\",\"inLanguage\":\"en\",\"url\":\"https://estply.com/en/kupsiste-poliitika/\"}\n```\nValidate with the Rich Results Test after deployment."}],"perfScore":78,"a11yScore":91,"bestPracticesScore":100,"seoScore":85,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/kupsiste-poliitika","overall":71,"reasoning":"PSI mobile 78 vs desktop 98, with LCP 4.4 s on mobile against 0.9 s on desktop — the gap is almost entirely delivery, not execution: TBT is 0 ms and CLS 0.000, and the page weighs only 171.9 KB. The single biggest lever is the hero image, which ships with loading=\"lazy\" and no fetchpriority, plus a redirect hop visible in the runtime capture (two document requests: 1.39 s and 493 ms/0 B) that Lighthouse prices at ~590 ms of savings. Accessibility is close to clean — axe reports 0 violations across 40 passes — but Lighthouse still fails button-name (score 0, weight 10) and target-size (score 0, weight 7), holding mobile a11y at 91. Security basics PASS (HTTPS redirect, HSTS ≥1 yr with includeSubDomains, nosniff, framing restriction, TLS, SPF/DMARC all in place), but the CSP is only frame-ancestors 'self' with no default-src or object-src 'none', and Referrer-Policy, Permissions-Policy, COOP and CORP are absent; with no auth, payments, UGC or commerce signals these are hardening rather than exposure. W3C reports 7 errors (5 from WP Rocket's text/rocketlazyloadscript + defer pattern, 2 from srcset candidates missing width descriptors) and the page ships two h1s and no meta description, capping SEO at 92.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eager-load the LCP hero image with high fetch priority","impact":"LCP, FCP, Speed Index","problem":"The hero image (uploads/2026/08/6c041c12…png) carries loading=\"lazy\" and no fetchpriority, and mobile LCP is 4.4 s versus 0.9 s on desktop.","solution":"- Remove `loading=\"lazy\"` from the hero and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     fetchpriority=\"high\" decoding=\"async\">\n```\n- Add a preload hint in `<head>` so the browser discovers it before CSS/JS:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12….png\" fetchpriority=\"high\">\n```\n- In WP Rocket, exclude this image from LazyLoad (Settings → Media → Excluded images)."},{"priority":1,"category":"Performance","title":"Eliminate the document redirect hop and shorten the critical request chain","impact":"LCP, FCP, TTFB, document latency","problem":"The runtime capture shows two document requests — /kupsiste-poliitika (493 ms, 0 B) redirecting to /kupsiste-poliitika/ (1.39 s) — and Lighthouse's document-latency-insight estimates 590 ms of savings.","solution":"- Link internally to the canonical trailing-slash URL (`https://estply.com/kupsiste-poliitika/`) so no request pays the redirect.\n- Ensure the canonical tag and all nav/footer links match the final URL exactly.\n- Keep WP Rocket page caching warm for the canonical URL so the first visitor does not pay the cold-start cost."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; Lighthouse accessibility 91","problem":"Lighthouse fails `button-name` with score 0.00 and weight 10 on mobile, even though axe-core reported 0 violations.","solution":"- Add visible text or an `aria-label` to each `<button>`:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- For icon-only toggles (menu, search, cookie settings), prefer a visually-hidden `<span class=\"sr-only\">Label</span>` inside the button.\n- Re-run Lighthouse after the fix — axe did not catch these, so verify with the Lighthouse a11y audit."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 24×24 px (44×44 recommended)","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"Lighthouse fails `target-size` with score 0.00 and weight 7 — interactive elements are too small or too close together on mobile.","solution":"- Add padding to icon links and small nav items so the hit area is ≥44×44 px:\n```css\n.icon-link, .footer-nav a {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  min-width: 44px;\n  min-height: 44px;\n}\n```\n- Use `gap` on flex/grid nav containers instead of margins so spacing counts toward the target-size rule."},{"priority":2,"category":"Performance","title":"Self-host and preload the Open Sans webfonts","impact":"FCP, LCP, render-blocking chain","problem":"4 font files totalling 96.2 KB load from fonts.gstatic.com (the largest single resource type on the page), and Lighthouse's font-display-insight estimates 150 ms of savings.","solution":"- Self-host the two used weights as WOFF2 and drop the fonts.googleapis.com/gstatic.com round trips.\n- Declare `font-display: swap` (or `optional`) in `@font-face`:\n```css\n@font-face {\n  font-family: 'Open Sans';\n  src: url('/fonts/opensans-var.woff2') format('woff2-variations');\n  font-display: swap;\n  font-weight: 300 800;\n}\n```\n- Preload only the single font file used above the fold:\n```html\n<link rel=\"preload\" as=\"font\" type=\"font/woff2\" href=\"/fonts/opensans-var.woff2\" crossorigin>\n```"},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR; Lighthouse SEO 92","problem":"The document has no meta description (`meta-description` audit scores 0.00) and the HTML inventory confirms `Description: not set`.","solution":"Add a unique 120–155 character description in the page head (or via the SEO plugin's template):\n```html\n<meta name=\"description\" content=\"Estply küpsiste poliitika: milliseid küpsiseid me kasutame, miks, ja kuidas saad oma nõusolekut hallata.\">\n```"},{"priority":2,"category":"SEO","title":"Fix heading structure, vague link text and language tagging","impact":"Document outline, screen-reader navigation, SEO","problem":"The page has 2 `<h1>` elements (\"Küpsiste poliitika\" and \"Privacy Policy\"), repeated vague link text (\"here\" ×2, \"meist\" ×2, \"kontakt\" ×2), and W3C warns the document reads as English while `<html lang=\"et\">`.","solution":"- Keep exactly one `<h1>`; demote the second to `<h2>` or split the English policy onto the `/en/` hreflang variant.\n- Replace \"here\" links with descriptive text: `<a href=\"…\">Loe meie privaatsuspoliitikat</a>`.\n- If the body is genuinely English, set `lang=\"en\"` on the wrapping element:\n```html\n<div lang=\"en\"> … English policy text … </div>\n```"},{"priority":2,"category":"Best Practices","title":"Resolve the 7 W3C validation errors","impact":"HTML validity, lazy-load correctness, responsive images","problem":"W3C reports 7 errors: 5× `script type=\"text/rocketlazyloadscript\"` carrying a `defer` attribute (invalid for a data block), and 2× `srcset` candidates with no width descriptor while `sizes` is present.","solution":"- For the RocketLazyload scripts, drop `defer` from the data-block script tags (WP Rocket re-adds it at execution time), or exclude those specific scripts from Delay JavaScript Execution.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12-251x134.png 251w, …6c041c12-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":2,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response sends `cache-control: max-age=0` with an `expires` value equal to the request time, forcing revalidation on every navigation despite WP Rocket being active.","solution":"- For a static policy page, serve a short but non-zero browser TTL and let the CDN handle freshness:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Keep `max-age=0, must-revalidate` only for pages that must never be stale (cart, account)."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"The CSP is only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so it restricts framing but nothing else. Site signals show no auth, payments, user content or commerce, so this is hardening rather than exposure.","solution":"- Add a baseline policy now and move to nonce-based when the site gains any interactive surface:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  frame-ancestors 'self'; img-src 'self' data:; font-src 'self';\n```\n- When you add a login or accept user input, switch to `script-src 'nonce-{random}' 'strict-dynamic'` rather than a flat allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload","impact":"Privacy leakage, feature abuse, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, HSTS lacks `preload`, and 1 of 1 cross-origin scripts (cdn.jsdelivr.net) has no `integrity` attribute.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Add SRI to the jsDelivr script: `<script src=\"…iframemanager.js\" integrity=\"sha384-…\" crossorigin=\"anonymous\" defer>`.\n- Submit the domain at hstspreload.org once the preload directive is live."},{"priority":3,"category":"Security","title":"Close WordPress hardening gaps and stop disclosing the server","impact":"Attack surface, information disclosure","problem":"`/wp-admin/install.php` is reachable, the login form is on the default `/wp-login.php` path, and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (a login-rename plugin or an IP/2FA gate on `/wp-login.php`).\n- Strip the version banner: `Header always unset Server` and `ServerTokens Prod` in the Apache config."},{"priority":3,"category":"Accessibility","title":"Manually verify contrast on the 8 undetermined nodes","impact":"WCAG 1.4.3 Contrast","problem":"axe-core returned 0 violations but flagged 8 nodes as incomplete for color-contrast — it cannot evaluate text over gradients or with alpha transparency.","solution":"- Inspect the 8 flagged nodes in DevTools and confirm ≥4.5:1 for body text and ≥3:1 for large text.\n- Where text sits over an image or gradient, add a solid scrim behind it rather than relying on the image's average luminance."}],"perfScore":78,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/kontakt","overall":74,"reasoning":"PSI mobile 81 vs desktop 98, with mobile LCP at 4.3 s (desktop 1.0 s) — the mobile LCP is the dominant drag, and the optimized-web checklist pins it on a hero image served with loading=\"lazy\" and no fetchpriority. Page weight is 740 KB of which 611 KB is images across 16 requests, though image hygiene is otherwise strong (22/22 with srcset, width/height, alt, and WebP). Accessibility scores 92/97 and axe reports 0 violations, but Lighthouse flags button-name (weight 10) and target-size (weight 7) at score 0, and 109 contrast nodes were undetermined by axe. Security basics PASS, but the CSP is only `frame-ancestors 'self'` with no default-src or object-src 'none', and Referrer-Policy, Permissions-Policy, COOP and CORP are all missing. W3C reports 17 errors (12 of them WP Rocket's `text/rocketlazyloadscript` + `defer`), and SEO 92 is held back by a missing meta description and an untyped JSON-LD block. CrUX field values read 0 ms p75 for LCP/CLS/TTFB/INP, which is clearly absent field data rather than a real measurement, so the score leans on lab data and confidence is medium.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly to fix the 4.3 s mobile LCP","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 4.3 s (desktop 1.0 s) and the optimized-web checklist fails \"Hero image eagerly loaded\": the hero `/wp-content/uploads/2026/10/cz5i9178-100x100.webp` has `loading=\"lazy\"` and no `fetchpriority`.","solution":"- Remove `loading=\"lazy\"` from the above-the-fold hero and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/10/cz5i9178.webp\"\n     srcset=\"... 400w, ... 800w, ... 1600w\"\n     sizes=\"100vw\"\n     width=\"1600\" height=\"900\"\n     fetchpriority=\"high\"\n     alt=\"...\">\n```\n- Add a `<link rel=\"preload\" as=\"image\" fetchpriority=\"high\" imagesrcset=\"...\" imagesizes=\"100vw\">` in `<head>`.\n- Exclude the hero from WP Rocket's lazy-load exclusion list so the plugin does not re-add `loading=\"lazy\"`."},{"priority":1,"category":"Accessibility","title":"Give icon buttons accessible names and enlarge touch targets","impact":"Lighthouse accessibility (92 mobile), WCAG 4.1.2, 2.5.8","problem":"Lighthouse reports `button-name` (weight 10) and `target-size` (weight 7) both at score 0, and the SEO `tapTargets` audit also fails.","solution":"- Add an accessible name to every icon-only button:\n```html\n<button type=\"button\" aria-label=\"Ava menüü\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Re-run Lighthouse after the change to confirm both audits pass."},{"priority":1,"category":"Security","title":"Replace the frame-ancestors-only CSP with a nonce-based policy","impact":"XSS defense-in-depth, CSP strictness","problem":"The only CSP directive is `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so no script or resource restrictions apply. The page contains a `<textarea>` (user-content signal), which raises the value of a real CSP.","solution":"Deploy a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{RANDOM}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; form-action 'self'\n```\n- In WordPress, generate the nonce per request and add it to every enqueued script tag.\n- Roll out in `Content-Security-Policy-Report-Only` first and watch the reports before enforcing."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score (92), SERP snippet quality","problem":"The HTML inventory shows `Description: not set` and Lighthouse's `meta-description` audit scores 0.","solution":"Add a unique description per page (roughly 120–155 characters), e.g.:\n```html\n<meta name=\"description\" content=\"Võta Estplyga ühendust – küsi pakkumist, külasta tehast või leia oma kontaktisik.\">\n```\n- In WordPress, set this via Yoast/RankMath rather than hard-coding it in the theme."},{"priority":2,"category":"Performance","title":"Cut image bytes and self-host the web font","impact":"LCP, page weight, FCP","problem":"Images account for 611 KB of the 740 KB total page weight across 16 requests, Lighthouse estimates 51 KiB of image-delivery savings, and 47.2 KB of Open Sans is fetched from fonts.gstatic.com with a `font-display-insight` saving of 40 ms.","solution":"- Serve the hero and gallery images at the exact rendered size; the srcset currently exposes 20 distinct widths up to 2561 px, so cap the largest candidate.\n- Re-encode remaining JPEG/PNG sources to WebP/AVIF (the site already uses WebP for most thumbnails).\n- Self-host Open Sans as woff2 with `font-display: swap` and `<link rel=\"preload\" as=\"font\" crossorigin>` to remove the fonts.gstatic.com / fonts.googleapis.com round trips."},{"priority":2,"category":"Best Practices","title":"Fix the 17 W3C validation errors","impact":"HTML validity, image rendering, script execution","problem":"W3C reports 17 errors: 12× `script type=\"text/rocketlazyloadscript\"` combined with `defer`, 2× `srcset` candidates missing a width descriptor, 1× `charset` meta after the first 1024 bytes, and 2× hidden inputs with `autocomplete`.","solution":"- Move `<meta charset=\"utf-8\">` to the very first element inside `<head>`.\n- Add width descriptors to the two offending srcset entries:\n```html\n<img src=\"…6c041c12….png\" srcset=\"…6c041c12….png 800w\" sizes=\"(max-width: 800px) 100vw, 800px\" alt=\"\">\n```\n- Remove `autocomplete` from `<input type=\"hidden\">` fields (Gravity Forms).\n- Ask WP Rocket support about the `text/rocketlazyloadscript` + `defer` combination, or disable the \"Delay JS execution\" option for these scripts."},{"priority":2,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy leakage, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing from the response headers.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=(), interest-cohort=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\n```"},{"priority":2,"category":"SEO","title":"Emit valid, typed structured data","impact":"Rich results eligibility, SEO score","problem":"The single JSON-LD block is reported with type `Unknown` and Lighthouse's `structuredData` audit fails.","solution":"- Replace the untyped block with a schema.org `Organization` / `LocalBusiness` graph including `name`, `url`, `logo`, `address`, `telephone` and `contactPoint`.\n- Validate with the Rich Results Test and Schema Markup Validator after the change."},{"priority":3,"category":"Security","title":"Harden remaining WordPress and header hygiene","impact":"Attack surface, information disclosure","problem":"HSTS lacks `preload`, the `Server: Apache / ZoneOS` header discloses the stack, `/wp-admin/install.php` is reachable, the login form sits on the default `/wp-login.php`, and 1 of 1 cross-origin scripts lacks an `integrity` attribute.","solution":"- Add `preload` to HSTS once you are ready to submit to hstspreload.org.\n- Strip the `Server` header: `Header unset Server` / `ServerTokens Prod`.\n- Block the installer: `Redirect 404 /wp-admin/install.php`.\n- Move the login form off `/wp-login.php` (e.g. a security plugin's custom login URL).\n- Add SRI to the jsDelivr iframemanager script, or self-host it."},{"priority":3,"category":"Performance","title":"Stop sending `cache-control: max-age=0` on the HTML document","impact":"Repeat-visit TTFB, back/forward navigation","problem":"The document response carries `cache-control: max-age=0` with an `expires` value only seconds ahead, so every navigation revalidates the HTML despite WP Rocket being active.","solution":"- Let WP Rocket serve the cached HTML with a short browser TTL, e.g. `Cache-Control: public, max-age=600, stale-while-revalidate=60`.\n- Keep `max-age=0` only for logged-in or personalized responses."},{"priority":3,"category":"Accessibility","title":"Manually verify the 109 undetermined contrast nodes","impact":"WCAG 1.4.3 color contrast","problem":"axe-core returned 0 violations but could not determine contrast for 109 nodes (alpha transparency, gradients or overlapping backgrounds).","solution":"- Run a contrast check in DevTools on the flagged nodes, especially text over the photographic hero and any semi-transparent overlays.\n- Target ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold)."},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor text quality, screen-reader navigation","problem":"The page repeats generic anchors — \"kontakt\" ×3, \"meist\" ×2, \"tooted\" ×2, \"ressursid\" ×2, \"liitu meiega\" ×2 — which give no context out of page flow.","solution":"- Rewrite anchors to describe the destination, e.g. \"Võta meiega ühendust\" instead of \"kontakt\".\n- Where the visual design requires short text, add `aria-label` with the full destination name."}],"perfScore":81,"a11yScore":92,"bestPracticesScore":100,"seoScore":92,"securityScore":83,"securityVerdict":"PASS"}]}