{"url":"https://estply.com/","date":"2026-10-29","siteName":"Avaleht - estply","overall":77,"reasoning":"Site overall 77 is the mean of 4 pages. Scores range 66 (https://estply.com/) → 84 (https://estply.com/privaatsuspoliitika/). Weakest page: PSI mobile 75 / desktop 73 with mobile LCP 4.8 s (desktop 2.7 s) and Speed Index 7.31 s — the LCP and image-delivery failures are the dominant drag on the score. Page weight is 2.76 MB, of which 2.70 MB is just 8 images, and PSI's image-delivery-insight models 276 KiB of savings. Accessibility is otherwise solid (axe 0 violations, 40 passes, 0 images missing alt), but PSI flags `button-name` and `target-size` both at score 0, and 9 contrast nodes are undetermined. SEO 92 with a missing meta description, and Security basics PASSes while the CSP only sets `frame-ancestors 'self'`, HSTS lacks preload, and Referrer-Policy / Permissions-Policy / COOP / CORP are absent. W3C reports 12 errors, mostly WP Rocket lazyload script markup and malformed srcset/sizes. Desktop is not better than mobile here (73 vs 75, TBT 180 ms desktop vs 0 ms mobile), so the score is not a mobile-only artifact.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP (4.8 s) and Speed Index (7.31 s)","impact":"LCP, Speed Index, FCP, TTI","problem":"Mobile LCP is 4.8 s vs 2.7 s on desktop and Speed Index is 7.31 s vs 3.15 s; `lcp-breakdown-insight` and `network-dependency-tree-insight` both score 0.","solution":"- Preload the hero image and keep `fetchpriority=\"high\"` on it:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/10/kaasik-kaupo-kalda-360x640.webp\" imagesrcset=\"…\" imagesizes=\"…\" fetchpriority=\"high\">\n```\n- Inline the critical CSS for the above-the-fold block and load the 2 external stylesheets non-blocking.\n- Flatten the critical request chain shown by `network-dependency-tree-insight` (the document itself took 4.06 s in the runtime capture).\n- Re-measure on throttled mobile after the image work below — LCP is image-bound, so fix #2 first."},{"priority":1,"category":"Performance","title":"Shrink the 2.70 MB image payload","impact":"LCP, Speed Index, total page weight","problem":"Browser runtime shows 8 images totalling 2.70 MB out of a 2.76 MB page, and PSI's image-delivery-insight estimates 276 KiB of savings.","solution":"- Convert the remaining JPEG/PNG assets (e.g. `dsc_5118-324x216.jpg`, `estply-cta-1-520x140.jpg`, the two 251×134 PNGs) to WebP/AVIF; the hero is already WebP.\n- Trim the srcset: 27 distinct widths are generated but only a handful are ever selected — cap at 4–5 breakpoints per image.\n- Serve the 100×100 and 324×216 thumbnails at their real display size rather than upscaled sources."},{"priority":1,"category":"Accessibility","title":"Name icon buttons and enlarge touch targets","impact":"WCAG 4.1.2 (name, role, value), 2.5.8 (target size); PSI accessibility 91","problem":"PSI accessibility is 91 on mobile with `button-name` (weight 10) and `target-size` (weight 7) both scoring 0, even though axe-core reported 0 violations.","solution":"- Give every icon-only button an accessible name:\n```html\n<button type=\"button\" aria-label=\"Open menu\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Re-run axe with the same DOM state PSI used — the two engines disagreeing suggests the buttons are injected after axe's scan."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetchpriority","impact":"LCP, Speed Index","problem":"The optimized-web checklist fails \"Hero image eagerly loaded\": the first image (`uploads/2026/08/6c041c12…png`) has `loading=\"lazy\"` and no `fetchpriority`, delaying LCP (2.6 s mobile).","solution":"Remove lazy loading from the hero and hint priority:\n```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` on everything below the fold."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; Lighthouse accessibility score","problem":"Lighthouse `button-name` scores 0.00 with weight 10 — \"Buttons do not have an accessible name\" — even though axe-core reports 0 violations.","solution":"- Add visible text or `aria-label` to each `<button>`:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\">…</button>\n```\n- For icon-only buttons, keep the SVG `aria-hidden=\"true\"` and put the label on the button itself.\n- Re-run Lighthouse after the fix to confirm the audit passes."},{"priority":1,"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 `target-size` scores 0.00 with weight 7 — \"Touch targets do not have sufficient size or spacing.\"","solution":"- Ensure every link/button hit area is ≥24×24 CSS px with ≥24 px spacing, ideally 44×44.\n- Add padding rather than enlarging the icon:\n```css\n.icon-link { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }\n```\n- Check the header nav and footer link lists first — they are the densest clusters on this page."},{"priority":1,"category":"Performance","title":"Cut mobile LCP from 3.5 s by removing render-blocking CSS","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 3.5 s versus 0.7 s on desktop; Lighthouse flags render-blocking-insight with est. 710 ms savings and unused-css-rules at 32 KiB, plus forced-reflow-insight.","solution":"- Enable WP Rocket's **Remove Unused CSS** (or Optimize CSS delivery) so the 2 external + 3 inline stylesheets (9.6 KB) stop blocking first paint.\n- Inline the above-the-fold critical CSS and load the rest with `media=\"print\" onload=\"this.media='all'\"`.\n- Batch DOM reads/writes to eliminate the forced reflow Lighthouse reports.\n- Verify the real LCP element in DevTools Performance panel — the checklist's \"hero image lazy-loaded\" flag points at a 251×134 PNG, which is almost certainly not the LCP element on this page."},{"priority":1,"category":"Accessibility","title":"Give the mobile menu toggle an accessible name","impact":"WCAG 4.1.2, screen-reader and keyboard navigation","problem":"axe reports 1 critical violation — `button-name` on `.header__toggle` — and PSI's `button-name` audit scores 0.00 with weight 10.","solution":"Add visible or programmatic text to the toggle:\n```html\n<button class=\"header__toggle\" aria-label=\"Ava menüü\" aria-expanded=\"false\" aria-controls=\"main-nav\">\n  <span class=\"visually-hidden\">Ava menüü</span>\n</button>\n```\nIf an icon font/SVG is used, keep `aria-hidden=\"true\"` on the icon so the label is the only accessible name."},{"priority":1,"category":"Performance","title":"Stop 429 rate-limiting of static CSS, JS and font assets","impact":"Rendering, LCP, FCP, first-paint stability","problem":"The runtime capture logged 15 console events: `global.3578d4f092e5450b.css` and `core.f7cdefef576df16e.css` were refused because the 429 response was served as `text/html`, `core.7c21cc2eb9f1534d.js` and `wpr-beacon.min.js` were refused for the same reason, and all three Open Sans `.woff2` files returned 429.","solution":"- Identify the rate limiter (WP Rocket, ZoneOS/WAF, or a security plugin) and exclude `/wp-content/` static assets from request throttling.\n- Ensure 429 responses never replace a stylesheet/script with an HTML error body — serve a proper status with the correct `Content-Type`, or better, don't throttle static files at all.\n- Verify by loading the page with a cold cache and confirming zero `net::ERR_ABORTED` / 429 entries in DevTools.\n- If the 429s were triggered by the audit's parallel request burst, re-run the capture to confirm the page renders styled for real users."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SERP snippet, SEO score (92)","problem":"HTML inventory reports `Description: not set` and PSI fails the `meta-description` audit.","solution":"Add a 150–160 character description per language, since the site has `hreflang` for `et` and `en`:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaa kaasaegses vineeritehases — usaldusväärne valmistoode Sinu ärile.\">\n```"},{"priority":2,"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'`, and no script/resource restrictions; Security basics marks \"CSP is strict\" as fail.","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```\nNote the site has no auth, payments or checkout, so this is defense-in-depth rather than a live exposure — but the header already exists, so making it meaningful is cheap."},{"priority":2,"category":"Best Practices","title":"Fix the 12 W3C validation errors","impact":"Markup validity, lazy-loading correctness, srcset selection","problem":"The validator reports 12 errors: 5× `type=\"text/rocketlazyloadscript\"` combined with `defer`, an empty `href` on a `dns-prefetch` link, `src` on a `<source>` element, `sizes=\"auto\"` without `loading=\"lazy\"`, and two `srcset` values missing width descriptors.","solution":"- Configure WP Rocket to emit valid lazyload markup, or drop the `defer`/`async` attributes on the `text/rocketlazyloadscript` data blocks.\n- Remove the empty prefetch link: `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">`.\n- Use `srcset` on `<source>`, not `src`.\n- Add `loading=\"lazy\"` to the image using `sizes=\"auto\"`, and give every `srcset` candidate a width descriptor:\n```html\n<img src=\"…-251x134.png\" srcset=\"…-251x134.png 251w, …-502x268.png 502w\" sizes=\"(max-width: 600px) 100vw, 251px\" loading=\"lazy\" width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":2,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and SRI","impact":"Information leakage, cross-origin isolation, third-party script integrity","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and the single cross-origin script (`cdn.jsdelivr.net/.../iframemanager.js`) has no `integrity` attribute.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nAnd pin the CDN script:\n```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```"},{"priority":2,"category":"Performance","title":"Cut render-blocking resources to fix the 7.0 s Speed Index","impact":"Speed Index, FCP, LCP","problem":"Speed Index is 7.04 s on mobile (2.64 s desktop) and the render-blocking insight estimates 730 ms of savings; 2 external stylesheets plus 3 inline blocks (9.6 KB) are in the critical path.","solution":"- Inline the critical above-the-fold CSS and defer the rest (`media=\"print\" onload=\"this.media='all'\"`).\n- Preload the two external stylesheets with `<link rel=\"preload\" as=\"style\">`.\n- Audit the 3 inline style blocks (9.6 KB) — move non-critical rules into the deferred bundle.\n- Re-check the network dependency tree insight after the change; it currently scores 0.00."},{"priority":2,"category":"Best Practices","title":"Fix invalid script type + defer/async combinations","impact":"W3C validity, HTML conformance","problem":"W3C reports 8 errors, 6 of them from `<script type=\"text/rocketlazyloadscript\">` carrying `defer` (×5) or `async` (×1) — a data-block type must not use those attributes.","solution":"WP Rocket rewrites script types for lazy execution. Either:\n- Configure WP Rocket's \"Delay JavaScript execution\" to emit valid markup, or\n- Exclude the affected scripts (cookieyes, Google tag) from delay so they keep `type=\"text/javascript\"`.\n- Also drop the redundant `type=\"text/javascript\"` flagged in 2 warnings."},{"priority":2,"category":"Security","title":"Harden the WordPress install path","impact":"Brute-force / takeover 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 the login to a custom path (e.g. a security plugin's custom login URL) and add rate limiting / 2FA.\n- Keep xmlrpc.php blocked (already passing)."},{"priority":2,"category":"SEO","title":"Replace vague \"here\" link text","impact":"WCAG 2.4.4, Lighthouse `link-text`","problem":"The `link-text` SEO audit fails with 2 links lacking descriptive text, and the inventory flags \"here\" ×2 plus repeated \"about us\", \"products\", \"contact\" etc.","solution":"- Rewrite anchor text to describe the destination: \"read our cookie policy\" instead of \"here\".\n- Where the visible text must stay short, add `aria-label` with the full purpose."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"Lighthouse `target-size` scores 0.00 at weight 7 — \"Touch targets do not have sufficient size or spacing\" — and the SEO `tapTargets` audit also fails.","solution":"- Ensure every link/button is at least 44×44 CSS px with ≥8 px spacing.\n- Pay particular attention to footer and cookie-banner controls, which are typically the smallest.\n```css\na, button { min-width: 44px; min-height: 44px; }\n```"},{"priority":2,"category":"Security","title":"Block /wp-admin/install.php and restrict /wp-login.php","impact":"WordPress attack surface","problem":"Security basics flags the installer at `/wp-admin/install.php` as reachable and the login form served on the default `/wp-login.php` path.","solution":"```apache\n# Block the installer entirely\n<Files \"install.php\">\n  Require all denied\n</Files>\n\n# Restrict login to known IPs, or rename via a plugin\n<Files \"wp-login.php\">\n  Require ip 203.0.113.0/24\n</Files>\n```\n- Add rate limiting / 2FA on the login endpoint."},{"priority":2,"category":"Best Practices","title":"Fix srcset entries missing width descriptors","impact":"Responsive image selection; W3C validity","problem":"W3C reports 2 errors: `srcset` on the two `<img>` elements has no width specified while `sizes` is present, so browsers cannot pick a candidate.","solution":"Add a width descriptor to each candidate:\n```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12….png 251w\"\n     sizes=\"251px\"\n     width=\"251\" height=\"134\" alt=\"\" loading=\"lazy\">\n```\n- Or drop `srcset`/`sizes` entirely for these two fixed-size decorative images."},{"priority":2,"category":"Performance","title":"Reduce mobile LCP from 3.5 s","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 3.5 s (desktop 0.8 s); PSI flags render-blocking resources (est. 280 ms savings), 32 KiB of unused CSS, and 20 KiB of image-delivery savings.","solution":"- Inline critical above-the-fold CSS and defer the two external stylesheets.\n- Remove unused CSS rules (32 KiB) — purge unused selectors from the theme's `global`/`core` bundles.\n- Preload the LCP element's image/font and serve it in WebP/AVIF.\n- Re-check with `render-blocking-insight` and `unused-css-rules` in PSI after the change."},{"priority":2,"category":"Best Practices","title":"Fix invalid `defer`/`async` on WP Rocket lazyload script blocks","impact":"HTML validity, script execution order","problem":"W3C reports 8 errors, including 5× `defer` and 1× `async` on `<script type=\"text/rocketlazyloadscript\">` data blocks (first at line 23).","solution":"WP Rocket's `text/rocketlazyloadscript` type is a data block, so `defer`/`async` are invalid there. Either:\n- Let WP Rocket rewrite the tag to a real `type=\"text/javascript\"` with `defer` at execution time, or\n- Remove `defer`/`async` from the data-block markup and keep the attributes in the plugin's own config.\nAlso drop the redundant `type=\"text/javascript\"` on line 356 (W3C warning)."},{"priority":2,"category":"Best Practices","title":"Add width descriptors to `srcset` candidates","impact":"HTML validity, responsive image selection","problem":"W3C reports 2 errors: `srcset` on the two upload PNGs has no width specified while `sizes` is present (lines 482 and 502).","solution":"```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12….png 800w, …6c041c12-400.png 400w\"\n     sizes=\"(max-width: 800px) 100vw, 800px\"\n     width=\"800\" height=\"450\" alt=\"\" loading=\"lazy\">\n```\nEvery candidate in a `srcset` must carry a `w` descriptor when `sizes` is used."},{"priority":3,"category":"Security","title":"HSTS preload, block install.php, trim the Server header","impact":"Transport hardening, takeover surface, fingerprinting","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; `/wp-admin/install.php` is reachable; and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"- Append `; preload` to HSTS and submit the domain at hstspreload.org.\n- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Suppress the version banner: `ServerTokens Prod` and `Header unset Server`."},{"priority":3,"category":"Accessibility","title":"Manually verify the 9 undetermined contrast nodes","impact":"WCAG 1.4.3 contrast","problem":"axe-core returned 9 `color-contrast` nodes it could not resolve (alpha transparency or gradient backgrounds), so contrast is unverified rather than passing.","solution":"- Inspect each node in DevTools with the contrast checker against its actual composited background.\n- Target ≥4.5:1 for body text and ≥3:1 for large text; flatten semi-transparent overlays where possible."},{"priority":3,"category":"SEO","title":"Give the JSON-LD a real type and disambiguate repeated link text","impact":"Rich results eligibility, anchor-text clarity","problem":"The single JSON-LD block parses but its type is reported as `Unknown`, and 8 link texts repeat (e.g. \"kontakt\" ×2, \"meist\" ×2, \"tooted\" ×2).","solution":"- Replace the untyped block with `Organization` (plus `Product` on product pages) so it is eligible for rich results.\n- Disambiguate repeated anchors with `aria-label` or surrounding context, e.g. `<a href=\"/kontakt/\" aria-label=\"Kontakt — võta ESTPLY-ga ühendust\">kontakt</a>`."},{"priority":3,"category":"Security","title":"Complete the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self'` — `default-src` is missing and `object-src` is not `'none'`. Site signals show no auth, payments, user content or e-commerce, so this is a low-risk hardening item rather than an urgent one.","solution":"Start with a report-only policy, then enforce:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self';\n  frame-ancestors 'self'; script-src 'self' 'nonce-{random}' 'strict-dynamic';\n  report-uri /csp-report\n```\nUse nonces + `'strict-dynamic'` rather than a flat host allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload","impact":"Privacy, origin isolation, HSTS coverage","problem":"Security basics fails Referrer-Policy, Permissions-Policy, COOP, CORP and HSTS preload; HSTS is set to `max-age=31536000; includeSubDomains` without `preload`.","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\"\n```\nOnly submit to hstspreload.org once every subdomain is HTTPS-ready."},{"priority":3,"category":"Security","title":"Add Subresource Integrity to the jsDelivr script","impact":"Supply-chain tampering risk","problem":"Security basics warns that 1 of 1 cross-origin scripts lacks an `integrity` attribute — `cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js`.","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```\nGenerate the hash from the exact pinned version and update it whenever the version changes."},{"priority":3,"category":"Best Practices","title":"Fix srcset entries missing width descriptors","impact":"W3C validity, responsive image selection","problem":"W3C reports 2 errors: `srcset` on the two `img.image__img` elements has no width specified while `sizes` is present.","solution":"```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12-251w.png 251w, …6c041c12-502w.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\" loading=\"lazy\">\n```"},{"priority":3,"category":"Performance","title":"Make the HTML document cacheable","impact":"Repeat-visit TTFB, cache hit ratio","problem":"The document response sends `cache-control: max-age=0` with an `expires` equal to the request time, so browsers revalidate on every navigation despite WP Rocket being active.","solution":"- Let WP Rocket manage the document cache and emit a positive `max-age` (e.g. `max-age=600, must-revalidate`) for anonymous visitors.\n- Keep `Vary: Accept-Encoding` (already present).\n- Ensure logged-in / dynamic regions bypass the cache."},{"priority":3,"category":"Accessibility","title":"Verify contrast on the 7 undetermined nodes","impact":"WCAG 1.4.3 Contrast","problem":"axe-core returned 0 violations but flagged 7 nodes as \"incomplete\" for color-contrast, so contrast on those elements is unverified.","solution":"- Inspect the 7 nodes manually in DevTools (contrast ratio ≥4.5:1 for body text, ≥3:1 for large text).\n- Pay attention to text over gradients or semi-transparent backgrounds, which axe skips."},{"priority":3,"category":"SEO","title":"Emit valid structured data","impact":"Rich results eligibility","problem":"The `structuredData` SEO audit fails and the single JSON-LD block is typed \"Unknown\", so no recognized schema is exposed.","solution":"- Add an `Organization` (or `WebPage` for this legal page) JSON-LD block with `@context`, `@type`, `name`, `url`.\n- Validate with Google's Rich Results Test and the Schema Markup Validator."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self'` — missing `default-src` and `object-src 'none'`, so no script or resource restrictions apply.","solution":"The site has no auth, payments, UGC or commerce, so this is low-risk — but the header is already present, so completing it is cheap:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; style-src 'self' 'unsafe-inline'\n```\n- Use the nonce/`'strict-dynamic'` pattern rather than a flat allowlist."},{"priority":3,"category":"Best Practices","title":"Resolve the WP Rocket script-type validation errors","impact":"W3C validity (6 of 8 errors)","problem":"W3C reports 5 errors for `defer` and 1 for `async` on `<script type=\"text/rocketlazyloadscript\">` data blocks, plus 2 warnings for redundant `type=\"text/javascript\"`.","solution":"- These come from WP Rocket's lazyload rewrite; the practical impact is low, but the markup is invalid.\n- Either let WP Rocket rewrite to a real `type=\"module\"`/JS MIME type, or move the deferred loading to a `<link rel=\"preload\">` + small loader.\n- Remove `type=\"text/javascript\"` from classic scripts (it is the default)."},{"priority":3,"category":"SEO","title":"Disambiguate vague link text and fix the JSON-LD type","impact":"Anchor-text relevance; rich-result eligibility","problem":"38 anchors include repeated vague text (\"siin\" ×2, \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2) and the single JSON-LD block has type \"Unknown\", which Lighthouse flags via `structuredData`.","solution":"- Replace \"siin\" with descriptive text, e.g. \"lugege meie privaatsuspoliitikat\".\n- Use a recognised schema type (`WebPage` / `PrivacyPolicy` via `WebPage` + `about`) instead of the unrecognized block.\n- Add `aria-label` where surrounding context cannot disambiguate."},{"priority":3,"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":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Security","title":"Add HSTS preload and SRI on the jsDelivr script","impact":"Transport hardening, third-party script integrity","problem":"HSTS is `max-age=31536000; includeSubDomains` without `preload`, and the single cross-origin script (`cdn.jsdelivr.net/.../iframemanager.js`) has no `integrity` attribute.","solution":"- Append `; preload` to the HSTS header and submit the domain at hstspreload.org.\n- Pin the CDN script:\n```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```"},{"priority":3,"category":"Security","title":"Block /wp-admin/install.php and trim the Server header","impact":"Attack surface, technology disclosure","problem":"The security scan found `/wp-admin/install.php` reachable and the response discloses `Server: Apache / ZoneOS`.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\nServerTokens Prod\nServerSignature Off\n```"},{"priority":3,"category":"Performance","title":"Set a real Cache-Control for the HTML document","impact":"Repeat-visit TTFB, cache efficiency","problem":"The document response sends `cache-control: max-age=0` despite WP Rocket being active, forcing revalidation on every navigation.","solution":"- Keep HTML short-lived but cacheable, e.g. `Cache-Control: public, max-age=600, s-maxage=3600, stale-while-revalidate=86400`.\n- Ensure WP Rocket's page cache is warmed for `/kupsiste-poliitika/` so the first visitor does not pay the cold-start cost."},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor-text relevance, screen-reader link lists","problem":"The inventory lists repeated generic anchors — \"meist\" ×2, \"tooted\" ×2, \"ressursid\" ×2, \"kontakt\" ×2, \"liitu meiega\" ×2 — which are ambiguous out of context.","solution":"- Make anchor text self-describing (e.g. \"Kontakt – estply OÜ\" instead of \"kontakt\").\n- Or add `aria-label` to disambiguate icon/duplicate links:\n```html\n<a href=\"/kontakt/\" aria-label=\"Võta estplyga ühendust\">kontakt</a>\n```"}],"coverage":{"pct":100,"missing":["Page skipped — rate limited by target (HTTP 429), Retry-After: 10 (https://estply.com/kontakt/)"]},"siteSummary":{"pagesAudited":4,"pagesAttempted":5,"urls":["https://estply.com/","https://estply.com/en/privacy-policy/","https://estply.com/privaatsuspoliitika/","https://estply.com/kupsiste-poliitika/"]},"psiSnapshot":{"rows":[{"pageUrl":"https://estply.com/","perfMobile":75,"perfDesktop":73,"lcpMobileMs":4804,"lcpDesktopMs":2721.5,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/en/privacy-policy/","perfMobile":90,"perfDesktop":93,"lcpMobileMs":2551,"lcpDesktopMs":722,"clsMobile":0.003962595108912023,"clsDesktop":0},{"pageUrl":"https://estply.com/privaatsuspoliitika/","perfMobile":91,"perfDesktop":100,"lcpMobileMs":3451,"lcpDesktopMs":721,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/kupsiste-poliitika/","perfMobile":91,"perfDesktop":100,"lcpMobileMs":3451,"lcpDesktopMs":761,"clsMobile":0,"clsDesktop":0}]},"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: 89369 bytes","ratio: 0.247"]},{"id":"lazyload","title":"Images lazy-loaded","status":"n/a","detail":"No raster <img> elements found (2 SVGs excluded).","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":3,"warned":0,"failed":1,"notApplicable":4},"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":66,"reasoning":"PSI mobile 75 / desktop 73 with mobile LCP 4.8 s (desktop 2.7 s) and Speed Index 7.31 s — the LCP and image-delivery failures are the dominant drag on the score. Page weight is 2.76 MB, of which 2.70 MB is just 8 images, and PSI's image-delivery-insight models 276 KiB of savings. Accessibility is otherwise solid (axe 0 violations, 40 passes, 0 images missing alt), but PSI flags `button-name` and `target-size` both at score 0, and 9 contrast nodes are undetermined. SEO 92 with a missing meta description, and Security basics PASSes while the CSP only sets `frame-ancestors 'self'`, HSTS lacks preload, and Referrer-Policy / Permissions-Policy / COOP / CORP are absent. W3C reports 12 errors, mostly WP Rocket lazyload script markup and malformed srcset/sizes. Desktop is not better than mobile here (73 vs 75, TBT 180 ms desktop vs 0 ms mobile), so the score is not a mobile-only artifact.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP (4.8 s) and Speed Index (7.31 s)","impact":"LCP, Speed Index, FCP, TTI","problem":"Mobile LCP is 4.8 s vs 2.7 s on desktop and Speed Index is 7.31 s vs 3.15 s; `lcp-breakdown-insight` and `network-dependency-tree-insight` both score 0.","solution":"- Preload the hero image and keep `fetchpriority=\"high\"` on it:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/10/kaasik-kaupo-kalda-360x640.webp\" imagesrcset=\"…\" imagesizes=\"…\" fetchpriority=\"high\">\n```\n- Inline the critical CSS for the above-the-fold block and load the 2 external stylesheets non-blocking.\n- Flatten the critical request chain shown by `network-dependency-tree-insight` (the document itself took 4.06 s in the runtime capture).\n- Re-measure on throttled mobile after the image work below — LCP is image-bound, so fix #2 first."},{"priority":1,"category":"Performance","title":"Shrink the 2.70 MB image payload","impact":"LCP, Speed Index, total page weight","problem":"Browser runtime shows 8 images totalling 2.70 MB out of a 2.76 MB page, and PSI's image-delivery-insight estimates 276 KiB of savings.","solution":"- Convert the remaining JPEG/PNG assets (e.g. `dsc_5118-324x216.jpg`, `estply-cta-1-520x140.jpg`, the two 251×134 PNGs) to WebP/AVIF; the hero is already WebP.\n- Trim the srcset: 27 distinct widths are generated but only a handful are ever selected — cap at 4–5 breakpoints per image.\n- Serve the 100×100 and 324×216 thumbnails at their real display size rather than upscaled sources."},{"priority":1,"category":"Accessibility","title":"Name icon buttons and enlarge touch targets","impact":"WCAG 4.1.2 (name, role, value), 2.5.8 (target size); PSI accessibility 91","problem":"PSI accessibility is 91 on mobile with `button-name` (weight 10) and `target-size` (weight 7) both scoring 0, even though axe-core reported 0 violations.","solution":"- Give every icon-only button an accessible name:\n```html\n<button type=\"button\" aria-label=\"Open menu\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Re-run axe with the same DOM state PSI used — the two engines disagreeing suggests the buttons are injected after axe's scan."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SERP snippet, SEO score (92)","problem":"HTML inventory reports `Description: not set` and PSI fails the `meta-description` audit.","solution":"Add a 150–160 character description per language, since the site has `hreflang` for `et` and `en`:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaa kaasaegses vineeritehases — usaldusväärne valmistoode Sinu ärile.\">\n```"},{"priority":2,"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'`, and no script/resource restrictions; Security basics marks \"CSP is strict\" as fail.","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```\nNote the site has no auth, payments or checkout, so this is defense-in-depth rather than a live exposure — but the header already exists, so making it meaningful is cheap."},{"priority":2,"category":"Best Practices","title":"Fix the 12 W3C validation errors","impact":"Markup validity, lazy-loading correctness, srcset selection","problem":"The validator reports 12 errors: 5× `type=\"text/rocketlazyloadscript\"` combined with `defer`, an empty `href` on a `dns-prefetch` link, `src` on a `<source>` element, `sizes=\"auto\"` without `loading=\"lazy\"`, and two `srcset` values missing width descriptors.","solution":"- Configure WP Rocket to emit valid lazyload markup, or drop the `defer`/`async` attributes on the `text/rocketlazyloadscript` data blocks.\n- Remove the empty prefetch link: `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">`.\n- Use `srcset` on `<source>`, not `src`.\n- Add `loading=\"lazy\"` to the image using `sizes=\"auto\"`, and give every `srcset` candidate a width descriptor:\n```html\n<img src=\"…-251x134.png\" srcset=\"…-251x134.png 251w, …-502x268.png 502w\" sizes=\"(max-width: 600px) 100vw, 251px\" loading=\"lazy\" width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":2,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and SRI","impact":"Information leakage, cross-origin isolation, third-party script integrity","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and the single cross-origin script (`cdn.jsdelivr.net/.../iframemanager.js`) has no `integrity` attribute.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nAnd pin the CDN script:\n```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```"},{"priority":3,"category":"Security","title":"HSTS preload, block install.php, trim the Server header","impact":"Transport hardening, takeover surface, fingerprinting","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; `/wp-admin/install.php` is reachable; and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"- Append `; preload` to HSTS and submit the domain at hstspreload.org.\n- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Suppress the version banner: `ServerTokens Prod` and `Header unset Server`."},{"priority":3,"category":"Accessibility","title":"Manually verify the 9 undetermined contrast nodes","impact":"WCAG 1.4.3 contrast","problem":"axe-core returned 9 `color-contrast` nodes it could not resolve (alpha transparency or gradient backgrounds), so contrast is unverified rather than passing.","solution":"- Inspect each node in DevTools with the contrast checker against its actual composited background.\n- Target ≥4.5:1 for body text and ≥3:1 for large text; flatten semi-transparent overlays where possible."},{"priority":3,"category":"SEO","title":"Give the JSON-LD a real type and disambiguate repeated link text","impact":"Rich results eligibility, anchor-text clarity","problem":"The single JSON-LD block parses but its type is reported as `Unknown`, and 8 link texts repeat (e.g. \"kontakt\" ×2, \"meist\" ×2, \"tooted\" ×2).","solution":"- Replace the untyped block with `Organization` (plus `Product` on product pages) so it is eligible for rich results.\n- Disambiguate repeated anchors with `aria-label` or surrounding context, e.g. `<a href=\"/kontakt/\" aria-label=\"Kontakt — võta ESTPLY-ga ühendust\">kontakt</a>`."}],"perfScore":75,"a11yScore":91,"bestPracticesScore":81,"seoScore":92,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://estply.com/en/privacy-policy/","overall":78,"reasoning":"Performance is the strongest area: PSI mobile 90 / desktop 93 with clean Core Web Vitals (LCP 2.6 s, CLS 0.004, TBT 0 ms, TTFB 3 ms), but Speed Index is 7.04 s on mobile versus 2.64 s on desktop and render-blocking resources cost an estimated 730 ms — the mobile/desktop gap is the main performance drag. Accessibility scores 91 mobile / 96 desktop; axe-core reports 0 violations and 40 passes, yet Lighthouse fails `button-name` (weight 10) and `target-size` (weight 7) outright, and axe could not determine contrast on 7 nodes. SEO sits at 85 on both strategies due to a missing meta description, non-descriptive \"here\" link text, and no usable structured data. Security basics PASS — \"These are high-level hygiene checks on HTTP headers, TLS, cookies and a few well-known exposed paths. PASS means the basics are in place. It does **not** mean the site is secure: application logic, authentication, plugins, server configuration and dependencies are not tested here. Treat FAILED as a must-fix and PASS as a starting point, not a certificate.\" — but advanced checks fail (CSP lacks default-src/object-src, no HSTS preload, no Referrer-Policy/Permissions-Policy/COOP/CORP, no SRI), and W3C reports 8 errors, mostly WP Rocket's `text/rocketlazyloadscript` with defer/async plus two srcset entries missing width descriptors.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetchpriority","impact":"LCP, Speed Index","problem":"The optimized-web checklist fails \"Hero image eagerly loaded\": the first image (`uploads/2026/08/6c041c12…png`) has `loading=\"lazy\"` and no `fetchpriority`, delaying LCP (2.6 s mobile).","solution":"Remove lazy loading from the hero and hint priority:\n```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` on everything below the fold."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; Lighthouse accessibility score","problem":"Lighthouse `button-name` scores 0.00 with weight 10 — \"Buttons do not have an accessible name\" — even though axe-core reports 0 violations.","solution":"- Add visible text or `aria-label` to each `<button>`:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\">…</button>\n```\n- For icon-only buttons, keep the SVG `aria-hidden=\"true\"` and put the label on the button itself.\n- Re-run Lighthouse after the fix to confirm the audit passes."},{"priority":1,"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 `target-size` scores 0.00 with weight 7 — \"Touch targets do not have sufficient size or spacing.\"","solution":"- Ensure every link/button hit area is ≥24×24 CSS px with ≥24 px spacing, ideally 44×44.\n- Add padding rather than enlarging the icon:\n```css\n.icon-link { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }\n```\n- Check the header nav and footer link lists first — they are the densest clusters on this page."},{"priority":2,"category":"Performance","title":"Cut render-blocking resources to fix the 7.0 s Speed Index","impact":"Speed Index, FCP, LCP","problem":"Speed Index is 7.04 s on mobile (2.64 s desktop) and the render-blocking insight estimates 730 ms of savings; 2 external stylesheets plus 3 inline blocks (9.6 KB) are in the critical path.","solution":"- Inline the critical above-the-fold CSS and defer the rest (`media=\"print\" onload=\"this.media='all'\"`).\n- Preload the two external stylesheets with `<link rel=\"preload\" as=\"style\">`.\n- Audit the 3 inline style blocks (9.6 KB) — move non-critical rules into the deferred bundle.\n- Re-check the network dependency tree insight after the change; it currently scores 0.00."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score (85), SERP snippet quality","problem":"The `meta-description` audit fails and the HTML inventory confirms \"Description: not set\" on a page that is indexed (`robots: index, follow`).","solution":"```html\n<meta name=\"description\" content=\"How Estply collects, uses and retains personal data, your GDPR rights, and how to contact us about privacy.\">\n```\nKeep it 120–155 characters and unique per language version (en / et)."},{"priority":2,"category":"Best Practices","title":"Fix invalid script type + defer/async combinations","impact":"W3C validity, HTML conformance","problem":"W3C reports 8 errors, 6 of them from `<script type=\"text/rocketlazyloadscript\">` carrying `defer` (×5) or `async` (×1) — a data-block type must not use those attributes.","solution":"WP Rocket rewrites script types for lazy execution. Either:\n- Configure WP Rocket's \"Delay JavaScript execution\" to emit valid markup, or\n- Exclude the affected scripts (cookieyes, Google tag) from delay so they keep `type=\"text/javascript\"`.\n- Also drop the redundant `type=\"text/javascript\"` flagged in 2 warnings."},{"priority":2,"category":"Security","title":"Harden the WordPress install path","impact":"Brute-force / takeover 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 the login to a custom path (e.g. a security plugin's custom login URL) and add rate limiting / 2FA.\n- Keep xmlrpc.php blocked (already passing)."},{"priority":2,"category":"SEO","title":"Replace vague \"here\" link text","impact":"WCAG 2.4.4, Lighthouse `link-text`","problem":"The `link-text` SEO audit fails with 2 links lacking descriptive text, and the inventory flags \"here\" ×2 plus repeated \"about us\", \"products\", \"contact\" etc.","solution":"- Rewrite anchor text to describe the destination: \"read our cookie policy\" instead of \"here\".\n- Where the visible text must stay short, add `aria-label` with the full purpose."},{"priority":3,"category":"Security","title":"Complete the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self'` — `default-src` is missing and `object-src` is not `'none'`. Site signals show no auth, payments, user content or e-commerce, so this is a low-risk hardening item rather than an urgent one.","solution":"Start with a report-only policy, then enforce:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self';\n  frame-ancestors 'self'; script-src 'self' 'nonce-{random}' 'strict-dynamic';\n  report-uri /csp-report\n```\nUse nonces + `'strict-dynamic'` rather than a flat host allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload","impact":"Privacy, origin isolation, HSTS coverage","problem":"Security basics fails Referrer-Policy, Permissions-Policy, COOP, CORP and HSTS preload; HSTS is set to `max-age=31536000; includeSubDomains` without `preload`.","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\"\n```\nOnly submit to hstspreload.org once every subdomain is HTTPS-ready."},{"priority":3,"category":"Security","title":"Add Subresource Integrity to the jsDelivr script","impact":"Supply-chain tampering risk","problem":"Security basics warns that 1 of 1 cross-origin scripts lacks an `integrity` attribute — `cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js`.","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```\nGenerate the hash from the exact pinned version and update it whenever the version changes."},{"priority":3,"category":"Best Practices","title":"Fix srcset entries missing width descriptors","impact":"W3C validity, responsive image selection","problem":"W3C reports 2 errors: `srcset` on the two `img.image__img` elements has no width specified while `sizes` is present.","solution":"```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12-251w.png 251w, …6c041c12-502w.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\" loading=\"lazy\">\n```"},{"priority":3,"category":"Performance","title":"Make the HTML document cacheable","impact":"Repeat-visit TTFB, cache hit ratio","problem":"The document response sends `cache-control: max-age=0` with an `expires` equal to the request time, so browsers revalidate on every navigation despite WP Rocket being active.","solution":"- Let WP Rocket manage the document cache and emit a positive `max-age` (e.g. `max-age=600, must-revalidate`) for anonymous visitors.\n- Keep `Vary: Accept-Encoding` (already present).\n- Ensure logged-in / dynamic regions bypass the cache."},{"priority":3,"category":"Accessibility","title":"Verify contrast on the 7 undetermined nodes","impact":"WCAG 1.4.3 Contrast","problem":"axe-core returned 0 violations but flagged 7 nodes as \"incomplete\" for color-contrast, so contrast on those elements is unverified.","solution":"- Inspect the 7 nodes manually in DevTools (contrast ratio ≥4.5:1 for body text, ≥3:1 for large text).\n- Pay attention to text over gradients or semi-transparent backgrounds, which axe skips."},{"priority":3,"category":"SEO","title":"Emit valid structured data","impact":"Rich results eligibility","problem":"The `structuredData` SEO audit fails and the single JSON-LD block is typed \"Unknown\", so no recognized schema is exposed.","solution":"- Add an `Organization` (or `WebPage` for this legal page) JSON-LD block with `@context`, `@type`, `name`, `url`.\n- Validate with Google's Rich Results Test and the Schema Markup Validator."}],"perfScore":90,"a11yScore":91,"bestPracticesScore":100,"seoScore":85,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/privaatsuspoliitika/","overall":84,"reasoning":"PSI mobile 91 / desktop 100 with clean CLS (0.000), TBT (0 ms) and TTFB (38 ms), but mobile LCP is 3.5 s against 0.7 s on desktop — a 2.8 s delta that dominates the performance picture and is driven by render-blocking CSS (est. 710 ms) and 32 KiB of unused CSS. Accessibility scores 91 mobile / 96 desktop: axe-core reports 0 violations across 40 passes, yet Lighthouse fails button-name (weight 10) and target-size (weight 7), so real interactive-control gaps exist that axe's render state missed. SEO is 92 with a missing meta description and a JSON-LD block whose type is unrecognized. Security basics PASS (HSTS, nosniff, framing, TLS, no mixed content all in place), but advanced checks fail on CSP strictness, Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload — low-risk here since the site has no auth, payments, UGC or commerce. W3C reports 8 errors, mostly WP Rocket's text/rocketlazyloadscript defer/async attributes plus two srcset entries missing width descriptors, and image assets are a non-issue (2 raster images, both sized, lazy-loaded, empty alt).","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP from 3.5 s by removing render-blocking CSS","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 3.5 s versus 0.7 s on desktop; Lighthouse flags render-blocking-insight with est. 710 ms savings and unused-css-rules at 32 KiB, plus forced-reflow-insight.","solution":"- Enable WP Rocket's **Remove Unused CSS** (or Optimize CSS delivery) so the 2 external + 3 inline stylesheets (9.6 KB) stop blocking first paint.\n- Inline the above-the-fold critical CSS and load the rest with `media=\"print\" onload=\"this.media='all'\"`.\n- Batch DOM reads/writes to eliminate the forced reflow Lighthouse reports.\n- Verify the real LCP element in DevTools Performance panel — the checklist's \"hero image lazy-loaded\" flag points at a 251×134 PNG, which is almost certainly not the LCP element on this page."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; Lighthouse accessibility score","problem":"Lighthouse `button-name` scores 0.00 at weight 10 — \"Buttons do not have an accessible name\" — even though axe-core reported 0 violations.","solution":"- Inspect the cookie-consent banner (CookieYes is loaded) and any icon-only controls.\n- Add visible text or `aria-label`:\n```html\n<button type=\"button\" aria-label=\"Sulge küpsiste seaded\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\n- Re-run axe after the consent banner is rendered — axe likely skipped it in the captured state."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"Lighthouse `target-size` scores 0.00 at weight 7 — \"Touch targets do not have sufficient size or spacing\" — and the SEO `tapTargets` audit also fails.","solution":"- Ensure every link/button is at least 44×44 CSS px with ≥8 px spacing.\n- Pay particular attention to footer and cookie-banner controls, which are typically the smallest.\n```css\na, button { min-width: 44px; min-height: 44px; }\n```"},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR; Lighthouse SEO score","problem":"`meta-description` scores 0.00 — the document has no `<meta name=\"description\">`, and SEO is 92 on both mobile and desktop.","solution":"Add a unique Estonian description (≈150–160 chars) summarising the privacy policy:\n```html\n<meta name=\"description\" content=\"Estply privaatsuspoliitika: milliseid andmeid me kogume, kuidas neid kasutame ja millised on teie õigused.\">\n```\nMirror the equivalent for the `/en/privacy-policy/` hreflang variant."},{"priority":2,"category":"Security","title":"Block /wp-admin/install.php and restrict /wp-login.php","impact":"WordPress attack surface","problem":"Security basics flags the installer at `/wp-admin/install.php` as reachable and the login form served on the default `/wp-login.php` path.","solution":"```apache\n# Block the installer entirely\n<Files \"install.php\">\n  Require all denied\n</Files>\n\n# Restrict login to known IPs, or rename via a plugin\n<Files \"wp-login.php\">\n  Require ip 203.0.113.0/24\n</Files>\n```\n- Add rate limiting / 2FA on the login endpoint."},{"priority":2,"category":"Best Practices","title":"Fix srcset entries missing width descriptors","impact":"Responsive image selection; W3C validity","problem":"W3C reports 2 errors: `srcset` on the two `<img>` elements has no width specified while `sizes` is present, so browsers cannot pick a candidate.","solution":"Add a width descriptor to each candidate:\n```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12….png 251w\"\n     sizes=\"251px\"\n     width=\"251\" height=\"134\" alt=\"\" loading=\"lazy\">\n```\n- Or drop `srcset`/`sizes` entirely for these two fixed-size decorative images."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self'` — missing `default-src` and `object-src 'none'`, so no script or resource restrictions apply.","solution":"The site has no auth, payments, UGC or commerce, so this is low-risk — but the header is already present, so completing it is cheap:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; style-src 'self' 'unsafe-inline'\n```\n- Use the nonce/`'strict-dynamic'` pattern rather than a flat allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload","impact":"Privacy leakage, feature exposure, origin isolation","problem":"Security basics marks Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy as missing, and HSTS lacks the `preload` directive.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=(), interest-cohort=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\n- Submit the domain at hstspreload.org once the preload directive is live."},{"priority":3,"category":"Security","title":"Add Subresource Integrity to the jsDelivr script","impact":"Supply-chain tampering risk","problem":"Security basics warns that 1 of 1 cross-origin scripts lacks an `integrity` attribute — `iframemanager.js` 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```\n- Generate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`."},{"priority":3,"category":"Best Practices","title":"Resolve the WP Rocket script-type validation errors","impact":"W3C validity (6 of 8 errors)","problem":"W3C reports 5 errors for `defer` and 1 for `async` on `<script type=\"text/rocketlazyloadscript\">` data blocks, plus 2 warnings for redundant `type=\"text/javascript\"`.","solution":"- These come from WP Rocket's lazyload rewrite; the practical impact is low, but the markup is invalid.\n- Either let WP Rocket rewrite to a real `type=\"module\"`/JS MIME type, or move the deferred loading to a `<link rel=\"preload\">` + small loader.\n- Remove `type=\"text/javascript\"` from classic scripts (it is the default)."},{"priority":3,"category":"SEO","title":"Disambiguate vague link text and fix the JSON-LD type","impact":"Anchor-text relevance; rich-result eligibility","problem":"38 anchors include repeated vague text (\"siin\" ×2, \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2) and the single JSON-LD block has type \"Unknown\", which Lighthouse flags via `structuredData`.","solution":"- Replace \"siin\" with descriptive text, e.g. \"lugege meie privaatsuspoliitikat\".\n- Use a recognised schema type (`WebPage` / `PrivacyPolicy` via `WebPage` + `about`) instead of the unrecognized block.\n- Add `aria-label` where surrounding context cannot disambiguate."}],"perfScore":91,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/kupsiste-poliitika/","overall":79,"reasoning":"Performance is genuinely strong — PSI mobile 91 / desktop 100, CLS 0.000, TBT 0 ms, TTFB 2 ms — but mobile LCP is 3.5 s versus 0.8 s on desktop, a >1.5 s divergence that matters under mobile-first indexing and is driven by render-blocking CSS (est. 280 ms) and 32 KiB of unused CSS. Accessibility sits at 91/96 with one critical axe violation (`button-name` on `.header__toggle`) plus a failing `target-size` audit, which is a real blocker for keyboard/screen-reader users on the mobile menu. SEO is 92 with no meta description set, and W3C reports 8 errors, mostly WP Rocket's `text/rocketlazyloadscript` blocks carrying `defer`/`async` plus two `srcset` entries missing width descriptors. Security basics PASS (HSTS, nosniff, framing, HTTPS redirect all in place) but the CSP is only `frame-ancestors 'self'` with no `default-src`/`object-src`, and Referrer-Policy, Permissions-Policy, COOP and CORP are absent — with no auth, payments, UGC or commerce signals these stay low priority. The runtime capture is the loudest signal: 15 console events, with stylesheets and scripts refused because 429 responses were served as `text/html`, which would render the page unstyled if it reflects real user conditions rather than audit-induced rate limiting.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Give the mobile menu toggle an accessible name","impact":"WCAG 4.1.2, screen-reader and keyboard navigation","problem":"axe reports 1 critical violation — `button-name` on `.header__toggle` — and PSI's `button-name` audit scores 0.00 with weight 10.","solution":"Add visible or programmatic text to the toggle:\n```html\n<button class=\"header__toggle\" aria-label=\"Ava menüü\" aria-expanded=\"false\" aria-controls=\"main-nav\">\n  <span class=\"visually-hidden\">Ava menüü</span>\n</button>\n```\nIf an icon font/SVG is used, keep `aria-hidden=\"true\"` on the icon so the label is the only accessible name."},{"priority":1,"category":"Performance","title":"Stop 429 rate-limiting of static CSS, JS and font assets","impact":"Rendering, LCP, FCP, first-paint stability","problem":"The runtime capture logged 15 console events: `global.3578d4f092e5450b.css` and `core.f7cdefef576df16e.css` were refused because the 429 response was served as `text/html`, `core.7c21cc2eb9f1534d.js` and `wpr-beacon.min.js` were refused for the same reason, and all three Open Sans `.woff2` files returned 429.","solution":"- Identify the rate limiter (WP Rocket, ZoneOS/WAF, or a security plugin) and exclude `/wp-content/` static assets from request throttling.\n- Ensure 429 responses never replace a stylesheet/script with an HTML error body — serve a proper status with the correct `Content-Type`, or better, don't throttle static files at all.\n- Verify by loading the page with a cold cache and confirming zero `net::ERR_ABORTED` / 429 entries in DevTools.\n- If the 429s were triggered by the audit's parallel request burst, re-run the capture to confirm the page renders styled for real users."},{"priority":2,"category":"Performance","title":"Reduce mobile LCP from 3.5 s","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 3.5 s (desktop 0.8 s); PSI flags render-blocking resources (est. 280 ms savings), 32 KiB of unused CSS, and 20 KiB of image-delivery savings.","solution":"- Inline critical above-the-fold CSS and defer the two external stylesheets.\n- Remove unused CSS rules (32 KiB) — purge unused selectors from the theme's `global`/`core` bundles.\n- Preload the LCP element's image/font and serve it in WebP/AVIF.\n- Re-check with `render-blocking-insight` and `unused-css-rules` in PSI after the change."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 target size, mobile usability","problem":"PSI's `target-size` audit scores 0.00 with weight 7 — touch targets lack sufficient size or spacing.","solution":"- Ensure every interactive element (nav links, footer links, cookie-banner buttons) is at least 24×24 CSS px with adequate spacing, ideally 44×44.\n- Add padding rather than relying on font size:\n```css\n.header__toggle, .nav a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```"},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, SEO score","problem":"The HTML inventory shows `Description: not set` and PSI's `meta-description` audit scores 0.00.","solution":"Add a unique 120–155 character description in the page head (or via the SEO plugin):\n```html\n<meta name=\"description\" content=\"Estply küpsiste poliitika – milliseid küpsiseid me kasutame, miks ja kuidas saad oma eelistusi hallata.\">\n```"},{"priority":2,"category":"Best Practices","title":"Fix invalid `defer`/`async` on WP Rocket lazyload script blocks","impact":"HTML validity, script execution order","problem":"W3C reports 8 errors, including 5× `defer` and 1× `async` on `<script type=\"text/rocketlazyloadscript\">` data blocks (first at line 23).","solution":"WP Rocket's `text/rocketlazyloadscript` type is a data block, so `defer`/`async` are invalid there. Either:\n- Let WP Rocket rewrite the tag to a real `type=\"text/javascript\"` with `defer` at execution time, or\n- Remove `defer`/`async` from the data-block markup and keep the attributes in the plugin's own config.\nAlso drop the redundant `type=\"text/javascript\"` on line 356 (W3C warning)."},{"priority":2,"category":"Best Practices","title":"Add width descriptors to `srcset` candidates","impact":"HTML validity, responsive image selection","problem":"W3C reports 2 errors: `srcset` on the two upload PNGs has no width specified while `sizes` is present (lines 482 and 502).","solution":"```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12….png 800w, …6c041c12-400.png 400w\"\n     sizes=\"(max-width: 800px) 100vw, 800px\"\n     width=\"800\" height=\"450\" alt=\"\" loading=\"lazy\">\n```\nEvery candidate in a `srcset` must carry a `w` descriptor when `sizes` is used."},{"priority":3,"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 no script or resource restrictions apply. Site signals show no auth, payments, UGC or commerce, so this is a hardening step rather than an urgent exposure.","solution":"Start with a report-only policy and tighten:\n```\nContent-Security-Policy-Report-Only: default-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; script-src 'nonce-{random}' 'strict-dynamic'; report-uri /csp-report\n```\nMove to enforcing once the report stream is clean. Use nonce + `'strict-dynamic'` rather than a flat allowlist."},{"priority":3,"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":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Security","title":"Add HSTS preload and SRI on the jsDelivr script","impact":"Transport hardening, third-party script integrity","problem":"HSTS is `max-age=31536000; includeSubDomains` without `preload`, and the single cross-origin script (`cdn.jsdelivr.net/.../iframemanager.js`) has no `integrity` attribute.","solution":"- Append `; preload` to the HSTS header and submit the domain at hstspreload.org.\n- Pin the CDN script:\n```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```"},{"priority":3,"category":"Security","title":"Block /wp-admin/install.php and trim the Server header","impact":"Attack surface, technology disclosure","problem":"The security scan found `/wp-admin/install.php` reachable and the response discloses `Server: Apache / ZoneOS`.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\nServerTokens Prod\nServerSignature Off\n```"},{"priority":3,"category":"Performance","title":"Set a real Cache-Control for the HTML document","impact":"Repeat-visit TTFB, cache efficiency","problem":"The document response sends `cache-control: max-age=0` despite WP Rocket being active, forcing revalidation on every navigation.","solution":"- Keep HTML short-lived but cacheable, e.g. `Cache-Control: public, max-age=600, s-maxage=3600, stale-while-revalidate=86400`.\n- Ensure WP Rocket's page cache is warmed for `/kupsiste-poliitika/` so the first visitor does not pay the cold-start cost."},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor-text relevance, screen-reader link lists","problem":"The inventory lists repeated generic anchors — \"meist\" ×2, \"tooted\" ×2, \"ressursid\" ×2, \"kontakt\" ×2, \"liitu meiega\" ×2 — which are ambiguous out of context.","solution":"- Make anchor text self-describing (e.g. \"Kontakt – estply OÜ\" instead of \"kontakt\").\n- Or add `aria-label` to disambiguate icon/duplicate links:\n```html\n<a href=\"/kontakt/\" aria-label=\"Võta estplyga ühendust\">kontakt</a>\n```"}],"perfScore":91,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":88,"securityVerdict":"PASS"}]}