{"url":"https://estply.com/","date":"2026-10-29","siteName":"Avaleht - estply","overall":74,"reasoning":"Site overall 74 is the mean of 5 pages. Scores range 68 (https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks) → 79 (https://estply.com/en/privacy-policy). Weakest page: PSI mobile 66 vs desktop 94 — a 28-point gap driven almost entirely by CLS 0.491 (footer shift 0.481) and LCP 3.8 s on mobile, both well outside the good band, while desktop CLS 0.138 and LCP 0.8 s are near-passing. TBT 0 ms and FCP 1.67 s show the main thread is healthy; the drag is layout instability plus a hero image served with loading=\"lazy\" (optimized-web checklist fail) and a 1.56 s document request with ~1,980 ms estimated latency savings. Accessibility is close to clean — axe reports 1 moderate violation (page-has-heading-one) against 35 passes — but PSI flags button-name and target-size, and the HTML inventory shows zero h1–h6 elements, a genuine outline gap. Security basics PASS (HSTS, nosniff, framing, TLS, no mixed content), though 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. W3C reports 8 errors, mostly WP Rocket's text/rocketlazyloadscript carrying defer/async plus two srcset entries missing width descriptors. Field CrUX values (0 ms p75 for LCP/TTFB/INP) look like missing/fallback data and were not used for scoring.","confidence":"low","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP from 4.8 s by fixing image delivery","impact":"LCP, Speed Index, total page weight","problem":"Mobile LCP is 4.8 s (desktop 2.7 s) and PSI's `image-delivery-insight` estimates 276 KiB of savings; the runtime capture shows 8 image requests totalling 2.70 MB of a 2.76 MB page.","solution":"- Serve the hero and below-fold photos as WebP/AVIF — only the hero (`kaasik-kaupo-kalda-360x640.webp`) is currently WebP; the rest are `.jpg`/`.png`.\n- Right-size: the inventory lists 27 distinct srcset widths (100–2560 px); trim the ladder to 4–5 breakpoints so mobile doesn't fetch oversized candidates.\n- Preload the actual LCP image and keep `fetchpriority=\"high\"` on it:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/10/hero.webp\"\n      imagesrcset=\"...\" imagesizes=\"100vw\" fetchpriority=\"high\">\n```\n- Re-run PSI to confirm LCP < 2.5 s on mobile."},{"priority":1,"category":"Accessibility","title":"Fix unnamed buttons and undersized touch targets","impact":"Lighthouse accessibility (91 mobile), WCAG 2.5.8 / 4.1.2","problem":"PSI mobile accessibility is 91 with `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) failing — icon-only controls have no accessible name and are too small to tap.","solution":"- Give every icon button an accessible name:\n```html\n<button type=\"button\" aria-label=\"Ava menüü\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Enforce ≥44×44 px hit areas (WCAG 2.5.8) via padding or `min-width`/`min-height`, plus ≥8 px spacing between adjacent targets.\n- Verify with keyboard-only navigation and a screen reader."},{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift driving CLS 0.491","impact":"CLS, mobile Performance score","problem":"Mobile CLS is 0.491 (desktop 0.138); Lighthouse attributes shift 0.481 to div#page > div.main > div.main__footer > footer.footer.","solution":"- Reserve the footer's final height up front: give the footer container a `min-height` matching its rendered height, or render its content server-side instead of injecting it after load.\n- If the shift comes from a late-injected cookie banner or lazyloaded logo, set explicit `width`/`height` on the image and position the banner with `position: fixed` so it does not reflow the document.\n- Re-run Lighthouse mobile after the change and confirm 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 (3.86 s)","problem":"The optimized-web checklist fails \"Hero image eagerly loaded\": the hero (uploads/2026/08/6c041c12…png) has loading=\"lazy\" and no fetchpriority, delaying mobile LCP to 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```\nKeep `loading=\"lazy\"` only on below-the-fold images."},{"priority":1,"category":"Performance","title":"Remove the document redirect and cut server response time","impact":"TTFB, FCP, LCP, Speed Index","problem":"The browser runtime shows the non-trailing-slash document taking 1.56 s before the 142 ms canonical response, and PSI's document-latency-insight estimates 1,980 ms of savings.","solution":"- Link internally to the canonical trailing-slash URL (`https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks/`) so the redirect hop is never paid.\n- Ensure the canonical URL is warmed in the WP Rocket cache after deploy.\n- Verify the redirect is a single 301 at the edge, not a chain through Apache/PHP."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetchpriority","impact":"LCP (mobile 3.9 s), Speed Index 2.55 s","problem":"The optimization checklist flags the hero image (…/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png) as loading=\"lazy\" with no fetchpriority set, and mobile LCP is 3.9 s versus 0.8 s on desktop.","solution":"- Remove `loading=\"lazy\"` from the hero/LCP image and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/08/hero.png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     fetchpriority=\"high\" decoding=\"async\">\n```\n- Keep `loading=\"lazy\"` only on below-the-fold images.\n- If the hero is injected by JS or a slider, preload it in `<head>`:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/hero.png\" fetchpriority=\"high\">\n```"},{"priority":1,"category":"Performance","title":"Stop returning 429 on the privacy policy URL","impact":"Availability, TTFB, all downstream audits","problem":"The document returned HTTP 429 with `retry-after: 10` and a 337 B body titled \"429 Too Many Requests\"; the browser runtime logged \"Failed to load resource: the server responded with a status of 429\".","solution":"- Identify the rate limiter (WAF / ZoneOS / WordPress security plugin) and whitelist the privacy-policy path, or raise the threshold for anonymous GETs.\n- Serve the page from a full-page cache so repeat requests never reach PHP:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Ensure 429 responses are not cached by the CDN and that `retry-after` is honored by crawlers."},{"priority":1,"category":"Performance","title":"Cut mobile LCP from 3.9 s","impact":"LCP, Speed Index, TTI","problem":"Mobile LCP is 3.9 s (desktop 0.8 s) with `render-blocking-insight` estimating 600 ms of savings and `document-latency-insight` 510 ms; Speed Index is 2.87 s on mobile vs 939 ms on desktop.","solution":"- Inline critical CSS and defer the rest; move non-critical `<link rel=stylesheet>` out of the critical path.\n- Preload the LCP image and add `fetchpriority=\"high\"`; do not lazy-load it.\n- Flatten the `network-dependency-tree-insight` chain: preconnect to the image/CDN origin and remove serial request waterfalls.\n- Reduce document latency by serving the HTML from cache (see the 429 fix)."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2, Lighthouse accessibility score","problem":"Lighthouse fails `button-name` with score 0.00 (weight 10) — buttons on the page have no accessible name, so screen readers announce them as just \"button\".","solution":"- Add visible text or an `aria-label` to each button:\n```html\n<button type=\"button\" aria-label=\"Ava küpsiste eelistused\">…</button>\n```\n- For icon-only buttons, keep the icon `aria-hidden=\"true\"` and put the label on the button.\n- While in this area, verify the 6 color-contrast nodes axe could not determine (gradients/alpha) with a contrast checker at ≥4.5:1."},{"priority":2,"category":"Performance","title":"Reduce Speed Index (6.01 s mobile)","impact":"Speed Index, perceived load","problem":"Mobile Speed Index is 6.01 s versus 1.48 s on desktop, and PSI flags `network-dependency-tree-insight` and `lcp-breakdown-insight` as failing.","solution":"- Inline the critical CSS for the above-the-fold hero and defer `global.3578d4f092e5450b.css` (34.3 KB).\n- Preconnect to `https://cdn.jsdelivr.net` (currently only 1 request, 2.7 KB, but it sits on the critical path).\n- Audit the 21 scripts: 2 defer, 0 async — move non-critical WP Rocket / cookie-consent bootstrapping behind `requestIdleCallback`.\n- Check the 3 fonts (`open-sans-semibold.woff2` etc.) for `font-display: swap` and preload the one used above the fold."},{"priority":2,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions, so it provides no XSS mitigation.","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 inferred `hasUserContent` signal comes from an anchor containing \"upload\" — this looks like a media/uploads path on a manufacturer brochure site, not real UGC, so this is P2 rather than P1. Revisit if a login or user-submitted content is added."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, Lighthouse SEO","problem":"HTML inventory shows `Description: not set` and PSI's `meta-description` audit scores 0.00.","solution":"Add a 140–160 character description in the page head (or via Yoast/RankMath):\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaa kaasaegses vineeritehases — usaldusväärne Eesti vineer Lemeks Grupilt.\">\n```"},{"priority":2,"category":"Best Practices","title":"Fix the 12 W3C HTML errors","impact":"Markup validity, image loading correctness","problem":"W3C reports 12 errors: 5× `defer` on `type=\"text/rocketlazyloadscript\"` data blocks, an empty `href` on a `dns-prefetch` link, `src` on `<source>`, `sizes=\"auto\"` without `loading=\"lazy\"`, and two `srcset` values missing width descriptors.","solution":"- Remove `defer`/`async` from WP Rocket's `text/rocketlazyloadscript` data blocks (they are inert data, not executable scripts).\n- Drop the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` or give it a real origin.\n- Replace `src` with `srcset` on `<source>` elements.\n- Add `loading=\"lazy\"` to the `sizes=\"auto\"` image, or use an explicit `sizes` value.\n- Add width descriptors to the two `srcset` values at lines 794 and 814:\n```html\n<img srcset=\".../img-251x134.png 251w, .../img-502x268.png 502w\" sizes=\"251px\" ...>\n```"},{"priority":2,"category":"Security","title":"Add missing hardening headers and SRI","impact":"Referrer leakage, feature abuse, cross-origin isolation, supply-chain integrity","problem":"Referrer-Policy, Permissions-Policy, COOP and CORP are all missing; HSTS lacks `preload`; and the single cross-origin script (`cdn.jsdelivr.net/.../iframemanager.js`) has no `integrity` attribute.","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-origin\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nAdd SRI to the jsdelivr tag:\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```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":2,"category":"Best Practices","title":"Close the two WordPress exposure warnings","impact":"Brute-force and takeover surface","problem":"Security basics flags `/wp-admin/install.php` as reachable and the login form served on the default `/wp-login.php` path.","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: add a WAF rule / IP allowlist on `/wp-login.php`, or front it with a custom login slug plugin plus rate limiting and 2FA."},{"priority":2,"category":"Accessibility","title":"Add a single H1 and a real heading hierarchy","impact":"Document outline, screen-reader navigation, SEO","problem":"The HTML inventory reports h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0, and axe flags page-has-heading-one (moderate).","solution":"- Wrap the article title in exactly one `<h1>`.\n- Promote section titles to `<h2>` and sub-sections to `<h3>` in document order.\n- Do not use styled `<div>`/`<p>` for visual headings."},{"priority":2,"category":"Accessibility","title":"Name icon buttons and enlarge touch targets","impact":"WCAG 4.1.2 Name/Role/Value, 2.5.8 Target Size","problem":"PSI mobile accessibility fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7).","solution":"- Give every button an accessible name: visible text, or `aria-label=\"Close\"` / `<span class=\"visually-hidden\">Close</span>` for icon-only controls.\n- Ensure interactive targets are at least 24×24 CSS px (44×44 recommended) or have ≥24 px spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```"},{"priority":2,"category":"Best Practices","title":"Fix invalid srcset entries missing width descriptors","impact":"Responsive image selection, W3C validity","problem":"W3C reports 2 errors: srcset values on the two uploads PNGs specify no width while a `sizes` attribute is present (lines 399 and 419).","solution":"```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12….png 251w\"\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":"Security","title":"Add Subresource Integrity to the jsDelivr script","impact":"Supply-chain integrity of third-party JS","problem":"Security basics reports \"Subresource Integrity — warn: 1 of 1 cross-origin scripts lack an integrity attribute\" (cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0).","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-<hash>\"\n        crossorigin=\"anonymous\" defer></script>\n```\nGenerate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`. Better still, self-host the file."},{"priority":2,"category":"Performance","title":"Shorten the critical request chain (document latency)","impact":"LCP, FCP, Speed Index","problem":"PSI's `document-latency-insight` reports ~840 ms of estimated savings and `network-dependency-tree-insight` fails; the document request itself took 1.23 s in the runtime capture.","solution":"- Inline the critical CSS for the above-the-fold region and defer the two external stylesheets (34.6 KB total).\n- Preconnect to `cdn.jsdelivr.net` (already a preconnect hint exists — verify it is on the critical path).\n- Reduce the 23 script tags: audit which WP Rocket–delayed scripts are actually needed on a privacy-policy page and drop the rest.\n- Enable full-page cache / CDN edge caching so the HTML is served from cache rather than regenerated per request."},{"priority":2,"category":"Performance","title":"Eliminate forced reflow","impact":"LCP, INP, main-thread work","problem":"PSI reports `forced-reflow-insight` failing (score 0.00) on mobile.","solution":"- Batch DOM reads before writes; avoid interleaving `offsetWidth`/`getBoundingClientRect()` with style mutations.\n- Defer layout-dependent JS (cookie banner, iframemanager) until after first paint.\n- Profile with DevTools Performance → \"Forced reflow\" annotations to locate the offending handler."},{"priority":2,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document is served with `cache-control: max-age=0` and an `expires` value equal to the response time, so every navigation revalidates despite WP Rocket being active.","solution":"- Serve cached HTML with a short but non-zero TTL and a stale-while-revalidate window:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Keep `max-age=0` only for logged-in or personalized responses.\n- Verify the CDN/edge layer (ZoneOS) is not overriding the origin's cache headers."},{"priority":2,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2, 2.5.8; PSI accessibility 91","problem":"Lighthouse flags `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) on mobile, even though axe-core reported 0 violations — likely a state (cookie banner / consent dialog) not present during the axe run.","solution":"- Add visible text or `aria-label` to every `<button>`, especially in the cookie consent banner:\n```html\n<button type=\"button\" aria-label=\"Accept all cookies\">✓</button>\n```\n- Ensure interactive targets are at least 24×24 px with adequate spacing (44×44 px recommended):\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```\n- Re-run axe with the consent banner open to confirm."},{"priority":2,"category":"Security","title":"Block the WordPress installer and restrict the default login path","impact":"Attack surface, brute-force exposure","problem":"Security basics reports `/wp-admin/install.php` reachable and the login form served on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Add rate limiting / 2FA on `/wp-login.php`, or move the login behind a custom path or basic-auth gate.\n- Note: the Security basics verdict is PASS, but PASS only means the high-level hygiene checks are in place — it does **not** mean the site is secure."},{"priority":2,"category":"Accessibility","title":"Fix unnamed buttons and undersized touch targets","impact":"WCAG 4.1.2, 2.5.8; mobile accessibility score","problem":"PSI mobile accessibility is 91 with `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) failing.","solution":"- Give every `<button>` visible text or an `aria-label`, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 24×24 px (44×44 recommended) with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```"},{"priority":2,"category":"Performance","title":"Set an explicit Cache-Control policy","impact":"Repeat-visit TTFB, CDN efficiency","problem":"The response has no `cache-control`, `etag`, `last-modified` or `expires` header — the security tool flags \"no cache-control header — caching behavior is unpredictable\" and the checklist fails \"Page caching plugin / CDN active\".","solution":"```\n# HTML\nCache-Control: public, max-age=600, s-maxage=86400\n# Hashed static assets\nCache-Control: public, max-age=31536000, immutable\n```\nEnable a WordPress page-cache plugin or CDN edge cache in front of the origin."},{"priority":2,"category":"Performance","title":"Fix document caching and server response latency","impact":"TTFB, FCP, repeat-visit performance","problem":"The document is served with `cache-control: max-age=0` and Lighthouse's `document-latency-insight` estimates 1,790 ms of savings; the browser capture shows the HTML document taking 941 ms.","solution":"- Let WP Rocket serve a cached HTML copy with a positive TTL, e.g. `Cache-Control: public, max-age=600, s-maxage=3600`.\n- Ensure the page cache is warmed after deploy so the first visitor does not pay the cold-start cost.\n- Investigate the 941 ms document response (PHP/DB work, missing full-page cache hit, or origin latency behind ZoneOS)."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"Lighthouse fails `target-size` with score 0.00 (weight 7) — interactive elements are too small or too close together for touch.","solution":"- Ensure every link/button has a hit area of at least 24×24 CSS px (44×44 recommended):\n```css\n.nav a, .footer a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; }\n```\n- Add spacing between adjacent icon links so targets do not overlap."},{"priority":2,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"HTML validity, lazy-load correctness","problem":"W3C reports 8 errors: 5 `script type=\"text/rocketlazyloadscript\"` elements carry `defer`, 1 carries `async`, and 2 `srcset` candidates omit a width while `sizes` is present.","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer`/`async` are invalid on it. Either let WP Rocket rewrite the type at runtime without those attributes, or exclude those specific scripts from delay:\n```php\nadd_filter('rocket_delay_js_exclusions', fn($e) => array_merge($e, ['cookieyes']));\n```\n- Fix the two `srcset` entries so every candidate has a width descriptor:\n```html\n<img src=\"…251x134.png\" srcset=\"…251x134.png 251w\" sizes=\"(max-width: 600px) 100vw, 251px\" width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":3,"category":"SEO","title":"Fix structured data and tap targets","impact":"Rich results eligibility, mobile usability","problem":"PSI's `structuredData` and `tapTargets` audits fail, and the single JSON-LD block is typed `Unknown` in the inventory.","solution":"- Replace the untyped JSON-LD with a valid `Organization` / `Manufacturer` schema including `name`, `url`, `logo`, `address` and `sameAs`.\n- Validate at search.google.com/test/rich-results.\n- Enlarge tap targets to ≥44×44 px with adequate spacing (overlaps with the accessibility fix above)."},{"priority":3,"category":"Accessibility","title":"Verify contrast and alt-text on undetermined elements","impact":"WCAG 1.4.3, 1.1.1","problem":"axe-core returned 0 violations but could not determine contrast on 9 nodes, and the hero image (`kaasik-kaupo-kalda-360x640.webp`) carries an empty `alt=\"\"` despite being the LCP element.","solution":"- Manually check the 9 undetermined nodes for ≥4.5:1 contrast (3:1 for large text), especially text over gradients or with alpha.\n- Confirm the hero's empty `alt` is intentional; if it conveys content, supply descriptive Estonian alt text.\n- Disambiguate the repeated link text (\"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2) with `aria-label` or surrounding context."},{"priority":3,"category":"Best Practices","title":"Trim technology disclosure and deprecated APIs","impact":"Fingerprinting surface, Lighthouse Best Practices (81)","problem":"The `Server: Apache / ZoneOS` header discloses the stack, and PSI's `deprecations` audit reports 1 deprecated API warning.","solution":"- Suppress the version/OS detail:\n```apache\nServerTokens Prod\nServerSignature Off\nHeader unset X-Powered-By\n```\n- Identify the deprecated API in the Lighthouse `deprecations` audit and replace it (commonly `document.write` or a legacy `XMLHttpRequest` sync call)."},{"priority":3,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so no script or resource restrictions apply. Site signals show no auth, payments, user content or commerce, so this is a hardening item rather than an urgent one.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self';\n```\nRoll out in report-only mode first to catch breakage from WP Rocket's lazyload rewriting."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Information leakage, feature abuse, origin isolation","problem":"Security basics marks Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy as fail (all missing from the response headers).","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-site\n```"},{"priority":3,"category":"Best Practices","title":"Fix WP Rocket lazyload script markup rejected by the validator","impact":"W3C validity (6 of 8 errors)","problem":"W3C reports 5 errors for `type=\"text/rocketlazyloadscript\"` with `defer` and 1 with `async` — data-block scripts must not carry those attributes.","solution":"- Update WP Rocket to the current release, which emits valid lazyload markup.\n- If it persists, exclude the affected scripts from Delay JS execution in WP Rocket → File Optimization → Delay JavaScript execution, so they render as normal `<script defer src=…>`."},{"priority":3,"category":"Performance","title":"Stop sending cache-control: max-age=0 on the document","impact":"Repeat-visit TTFB, back/forward navigation","problem":"The document response carries `cache-control: max-age=0` with an `expires` timestamp in the past, despite WP Rocket being active.","solution":"- In WP Rocket → Cache → Browser cache, enable HTML browser caching with a short TTL (e.g. 600 s) and rely on the `last-modified` validator for revalidation.\n- Confirm the edge/CDN is not overriding the origin's Cache-Control."},{"priority":3,"category":"SEO","title":"Fix structured data and vague repeated link text","impact":"Rich results eligibility, link-purpose clarity","problem":"PSI fails the `structuredData` audit and the JSON-LD block's type is reported as \"Unknown\"; the inventory also lists repeated vague anchors (\"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"contact\" ×2).","solution":"- Validate the JSON-LD at validator.schema.org and declare an explicit `@type` (e.g. `Article` with `headline`, `datePublished`, `author`, `image`).\n- Disambiguate repeated anchors with `aria-label` or surrounding context, e.g. `<a href=\"/en/about/\">About estply</a>`."},{"priority":3,"category":"Security","title":"Harden the WordPress surface","impact":"Brute-force and takeover exposure","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 endpoint (custom path, HTTP auth on `/wp-login.php`, or a login-limiter plugin).\n- Also strip the `Server: Apache / ZoneOS` banner via `ServerTokens Prod` / `ServerSignature Off`."},{"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'`, and no script/resource restrictions. Site signals show no auth, payments or user content, so this is a P3 hardening item rather than an urgent fix.","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'; require-trusted-types-for 'script'\n```\n- Roll out in `Content-Security-Policy-Report-Only` first and fix violations before enforcing.\n- WP Rocket's `text/rocketlazyloadscript` placeholders will need nonce propagation."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP, CORP and HSTS preload","impact":"Privacy leakage, origin isolation, HSTS coverage","problem":"All five are missing or incomplete: `referrer-policy`, `permissions-policy`, `cross-origin-opener-policy`, `cross-origin-resource-policy` are absent, and HSTS (`max-age=31536000; includeSubDomains`) lacks `preload`.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=(), payment=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-site\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nOnly submit to the preload list once you are confident every subdomain is HTTPS-only."},{"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 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```\nGenerate the hash from the exact pinned version and update it whenever the version changes."},{"priority":3,"category":"Best Practices","title":"Fix invalid srcset width descriptors","impact":"Responsive image selection, HTML validity","problem":"W3C reports 2 errors: `srcset` on the two `<img>` elements specifies no width descriptor while `sizes` is present (lines 536 and 556).","solution":"```html\n<img src=\"…251x134.png\"\n     srcset=\"…-251x134.png 251w, …-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     alt=\"\" width=\"251\" height=\"134\" loading=\"lazy\">\n```\nEvery candidate in `srcset` must carry a `w` descriptor when `sizes` is used."},{"priority":3,"category":"SEO","title":"Replace vague \"here\" link text","impact":"SEO 85, link-text audit, screen-reader clarity","problem":"PSI's `link-text` audit fails with 2 links lacking descriptive text, and the inventory lists \"here\" ×2 among repeated vague anchors.","solution":"- Rewrite the anchor text to describe the destination, e.g. \"read our cookie policy\" instead of \"here\".\n- If the visual design requires short text, add `aria-label`:\n```html\n<a href=\"/en/cookies\" aria-label=\"Read our cookie policy\">here</a>\n```"},{"priority":3,"category":"SEO","title":"Add structured data","impact":"SEO 85, rich-result eligibility","problem":"PSI's `structured-data` audit fails, and the single JSON-LD block on the page has an unrecognized type.","solution":"- Add `WebPage` / `Organization` JSON-LD with `@type`, `name`, `url` and `inLanguage` matching the `en`/`et` hreflang pair.\n- Validate with the Rich Results Test and Schema Markup Validator."},{"priority":3,"category":"Security","title":"Suppress the Server header","impact":"Technology disclosure","problem":"The response discloses `Server: Apache / ZoneOS`, and Security basics flags technology disclosure as a warn.","solution":"```apache\nServerTokens Prod\nServerSignature Off\nHeader unset Server\n```\nIf the edge (ZoneOS) sets the header, strip it at the CDN layer instead."},{"priority":3,"category":"Security","title":"Add remaining hardening headers","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`; the `server` header discloses `Apache / ZoneOS`.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), camera=(), microphone=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains; preload\"\nServerTokens Prod\nServerSignature Off\n```\nSubmit the domain to hstspreload.org once the preload directive is live."},{"priority":3,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"Markup validity, lazy-load correctness","problem":"W3C reports 8 errors: 5× `defer` and 1× `async` on `type=\"text/rocketlazyloadscript\"` data-block scripts, plus 2× `srcset` candidates missing a width descriptor while `sizes` is present.","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer`/`async` are invalid there — let the plugin rewrite the type at runtime instead of hard-coding the attributes.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\".../a.png\" sizes=\"(max-width: 768px) 100vw, 600px\"\n     srcset=\".../a-300.png 300w, .../a-600.png 600w\" alt=\"\">\n```"},{"priority":3,"category":"Accessibility","title":"Re-verify lang and landmarks on the real page","impact":"WCAG 3.1.1, 1.3.1","problem":"axe reports `html-has-lang` (serious), `landmark-one-main` and `region`, and the inventory shows no `<nav>`, `<main>`, `<header>` or `<footer>` — but these were captured on the 429 error page, so they may not reflect the real document.","solution":"- Re-run axe against the live page once the 429 is resolved.\n- Regardless, ensure the error template itself is valid: `<html lang=\"et\">`, a single `<main>`, and all content inside landmarks.\n- Add a skip link: `<a href=\"#main\" class=\"skip-link\">Otse sisu juurde</a>`."},{"priority":3,"category":"Security","title":"Add the remaining low-cost security headers","impact":"Referrer leakage, feature abuse, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, HSTS lacks `preload`, and the jsdelivr script has no `integrity` attribute.","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-origin\"\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains; preload\"\n```\n- Add SRI to the jsdelivr iframemanager script, or self-host it.\n- Consider trimming the `Server: Apache / ZoneOS` header."},{"priority":3,"category":"Best Practices","title":"Close WordPress hardening gaps","impact":"Attack surface, brute-force exposure","problem":"`/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login to a custom path or put `/wp-login.php` behind rate limiting / a WAF rule."},{"priority":3,"category":"SEO","title":"Declare a structured-data type and disambiguate repeated link text","impact":"Rich results eligibility, link context","problem":"The single JSON-LD block parses as type \"Unknown\" and PSI fails `structuredData`; the page also repeats vague anchors (\"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2).","solution":"- Emit a concrete schema type, e.g. `WebPage` with `inLanguage: \"et\"` and a `@id` matching the canonical URL.\n- Where repeated anchors appear in different contexts, add `aria-label` or surrounding text so each link's destination is clear out of context."}],"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/privacy-policy","https://estply.com/privaatsuspoliitika","https://estply.com/kupsiste-poliitika"]},"psiSnapshot":{"rows":[{"pageUrl":"https://estply.com/","perfMobile":77,"perfDesktop":83,"lcpMobileMs":4801,"lcpDesktopMs":2721,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","perfMobile":66,"perfDesktop":94,"lcpMobileMs":3793.9659300000003,"lcpDesktopMs":802.5737200000001,"clsMobile":0.4910331611373498,"clsDesktop":0.13845804446569449},{"pageUrl":"https://estply.com/en/privacy-policy","perfMobile":87,"perfDesktop":100,"lcpMobileMs":3863.6042400000006,"lcpDesktopMs":819.1144100000001,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/privaatsuspoliitika","perfMobile":87,"perfDesktop":99,"lcpMobileMs":3896.6911200000004,"lcpDesktopMs":832.6670600000001,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/kupsiste-poliitika","perfMobile":83,"perfDesktop":98,"lcpMobileMs":3901.216139999999,"lcpDesktopMs":681.055965,"clsMobile":0.0003431525661325875,"clsDesktop":0}]},"optimizationChecklist":{"items":[{"id":"caching","title":"Page caching plugin / CDN active","status":"fail","detail":"No WordPress cache plugin marker or CDN edge cache detected on the document response.","evidence":[]},{"id":"compression","title":"Response compressed (gzip / brotli)","status":"n/a","detail":"Response is not compressed but only 337 bytes — too small to matter.","evidence":["content-encoding: (none)","decoded body: 337 bytes","ratio: 1"]},{"id":"lazyload","title":"Images lazy-loaded","status":"n/a","detail":"No raster <img> elements found.","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":"n/a","detail":"No external scripts on the page.","evidence":[]}],"summary":{"passed":0,"warned":0,"failed":2,"notApplicable":6},"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\"."},{"title":"Page caching plugin / CDN active","severity":"high","detail":"No WordPress cache plugin marker or CDN edge cache detected on the document response."}]},"perPageOverall":[{"url":"https://estply.com/","overall":73,"reasoning":"Mobile PSI is 77 (desktop 83) with LCP at 4.8 s and Speed Index at 6.01 s — both heavy penalties under the rubric — while CLS 0.000, TBT 0 ms and FCP 1.20 s are clean, so the performance drag is almost entirely image weight and render path: the runtime capture shows 2.70 MB of images out of 2.76 MB total, and PSI estimates 276 KiB of image-delivery savings. Accessibility is split: axe-core reports 0 violations across 40 passes, but Lighthouse mobile accessibility is 91 with `button-name` and `target-size` scoring 0.00, and 9 color-contrast nodes are undetermined. Security basics PASS (HSTS, nosniff, framing, TLS, no mixed content, WordPress hardening mostly green), but the advanced tier fails on a CSP that only sets `frame-ancestors 'self'`, missing Referrer-Policy/Permissions-Policy/COOP/CORP, no HSTS preload, and no SRI on the jsdelivr script. SEO is 92 with a missing meta description and an untyped JSON-LD block, and W3C reports 12 errors — mostly WP Rocket lazyload `type`/`defer` combinations and malformed `srcset`/`sizes` attributes. The mobile/desktop gap is modest (6 points, LCP 2.1 s slower on mobile), so mobile-first scoring applies without a divergence penalty.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP from 4.8 s by fixing image delivery","impact":"LCP, Speed Index, total page weight","problem":"Mobile LCP is 4.8 s (desktop 2.7 s) and PSI's `image-delivery-insight` estimates 276 KiB of savings; the runtime capture shows 8 image requests totalling 2.70 MB of a 2.76 MB page.","solution":"- Serve the hero and below-fold photos as WebP/AVIF — only the hero (`kaasik-kaupo-kalda-360x640.webp`) is currently WebP; the rest are `.jpg`/`.png`.\n- Right-size: the inventory lists 27 distinct srcset widths (100–2560 px); trim the ladder to 4–5 breakpoints so mobile doesn't fetch oversized candidates.\n- Preload the actual LCP image and keep `fetchpriority=\"high\"` on it:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/10/hero.webp\"\n      imagesrcset=\"...\" imagesizes=\"100vw\" fetchpriority=\"high\">\n```\n- Re-run PSI to confirm LCP < 2.5 s on mobile."},{"priority":1,"category":"Accessibility","title":"Fix unnamed buttons and undersized touch targets","impact":"Lighthouse accessibility (91 mobile), WCAG 2.5.8 / 4.1.2","problem":"PSI mobile accessibility is 91 with `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) failing — icon-only controls have no accessible name and are too small to tap.","solution":"- Give every icon button an accessible name:\n```html\n<button type=\"button\" aria-label=\"Ava menüü\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Enforce ≥44×44 px hit areas (WCAG 2.5.8) via padding or `min-width`/`min-height`, plus ≥8 px spacing between adjacent targets.\n- Verify with keyboard-only navigation and a screen reader."},{"priority":2,"category":"Performance","title":"Reduce Speed Index (6.01 s mobile)","impact":"Speed Index, perceived load","problem":"Mobile Speed Index is 6.01 s versus 1.48 s on desktop, and PSI flags `network-dependency-tree-insight` and `lcp-breakdown-insight` as failing.","solution":"- Inline the critical CSS for the above-the-fold hero and defer `global.3578d4f092e5450b.css` (34.3 KB).\n- Preconnect to `https://cdn.jsdelivr.net` (currently only 1 request, 2.7 KB, but it sits on the critical path).\n- Audit the 21 scripts: 2 defer, 0 async — move non-critical WP Rocket / cookie-consent bootstrapping behind `requestIdleCallback`.\n- Check the 3 fonts (`open-sans-semibold.woff2` etc.) for `font-display: swap` and preload the one used above the fold."},{"priority":2,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only sets `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions, so it provides no XSS mitigation.","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 inferred `hasUserContent` signal comes from an anchor containing \"upload\" — this looks like a media/uploads path on a manufacturer brochure site, not real UGC, so this is P2 rather than P1. Revisit if a login or user-submitted content is added."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, Lighthouse SEO","problem":"HTML inventory shows `Description: not set` and PSI's `meta-description` audit scores 0.00.","solution":"Add a 140–160 character description in the page head (or via Yoast/RankMath):\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaa kaasaegses vineeritehases — usaldusväärne Eesti vineer Lemeks Grupilt.\">\n```"},{"priority":2,"category":"Best Practices","title":"Fix the 12 W3C HTML errors","impact":"Markup validity, image loading correctness","problem":"W3C reports 12 errors: 5× `defer` on `type=\"text/rocketlazyloadscript\"` data blocks, an empty `href` on a `dns-prefetch` link, `src` on `<source>`, `sizes=\"auto\"` without `loading=\"lazy\"`, and two `srcset` values missing width descriptors.","solution":"- Remove `defer`/`async` from WP Rocket's `text/rocketlazyloadscript` data blocks (they are inert data, not executable scripts).\n- Drop the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` or give it a real origin.\n- Replace `src` with `srcset` on `<source>` elements.\n- Add `loading=\"lazy\"` to the `sizes=\"auto\"` image, or use an explicit `sizes` value.\n- Add width descriptors to the two `srcset` values at lines 794 and 814:\n```html\n<img srcset=\".../img-251x134.png 251w, .../img-502x268.png 502w\" sizes=\"251px\" ...>\n```"},{"priority":2,"category":"Security","title":"Add missing hardening headers and SRI","impact":"Referrer leakage, feature abuse, cross-origin isolation, supply-chain integrity","problem":"Referrer-Policy, Permissions-Policy, COOP and CORP are all missing; HSTS lacks `preload`; and the single cross-origin script (`cdn.jsdelivr.net/.../iframemanager.js`) has no `integrity` attribute.","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-origin\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nAdd SRI to the jsdelivr tag:\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```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":2,"category":"Best Practices","title":"Close the two WordPress exposure warnings","impact":"Brute-force and takeover surface","problem":"Security basics flags `/wp-admin/install.php` as reachable and the login form served on the default `/wp-login.php` path.","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: add a WAF rule / IP allowlist on `/wp-login.php`, or front it with a custom login slug plugin plus rate limiting and 2FA."},{"priority":3,"category":"SEO","title":"Fix structured data and tap targets","impact":"Rich results eligibility, mobile usability","problem":"PSI's `structuredData` and `tapTargets` audits fail, and the single JSON-LD block is typed `Unknown` in the inventory.","solution":"- Replace the untyped JSON-LD with a valid `Organization` / `Manufacturer` schema including `name`, `url`, `logo`, `address` and `sameAs`.\n- Validate at search.google.com/test/rich-results.\n- Enlarge tap targets to ≥44×44 px with adequate spacing (overlaps with the accessibility fix above)."},{"priority":3,"category":"Accessibility","title":"Verify contrast and alt-text on undetermined elements","impact":"WCAG 1.4.3, 1.1.1","problem":"axe-core returned 0 violations but could not determine contrast on 9 nodes, and the hero image (`kaasik-kaupo-kalda-360x640.webp`) carries an empty `alt=\"\"` despite being the LCP element.","solution":"- Manually check the 9 undetermined nodes for ≥4.5:1 contrast (3:1 for large text), especially text over gradients or with alpha.\n- Confirm the hero's empty `alt` is intentional; if it conveys content, supply descriptive Estonian alt text.\n- Disambiguate the repeated link text (\"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2) with `aria-label` or surrounding context."},{"priority":3,"category":"Best Practices","title":"Trim technology disclosure and deprecated APIs","impact":"Fingerprinting surface, Lighthouse Best Practices (81)","problem":"The `Server: Apache / ZoneOS` header discloses the stack, and PSI's `deprecations` audit reports 1 deprecated API warning.","solution":"- Suppress the version/OS detail:\n```apache\nServerTokens Prod\nServerSignature Off\nHeader unset X-Powered-By\n```\n- Identify the deprecated API in the Lighthouse `deprecations` audit and replace it (commonly `document.write` or a legacy `XMLHttpRequest` sync call)."}],"perfScore":77,"a11yScore":91,"bestPracticesScore":81,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","overall":68,"reasoning":"PSI mobile 66 vs desktop 94 — a 28-point gap driven almost entirely by CLS 0.491 (footer shift 0.481) and LCP 3.8 s on mobile, both well outside the good band, while desktop CLS 0.138 and LCP 0.8 s are near-passing. TBT 0 ms and FCP 1.67 s show the main thread is healthy; the drag is layout instability plus a hero image served with loading=\"lazy\" (optimized-web checklist fail) and a 1.56 s document request with ~1,980 ms estimated latency savings. Accessibility is close to clean — axe reports 1 moderate violation (page-has-heading-one) against 35 passes — but PSI flags button-name and target-size, and the HTML inventory shows zero h1–h6 elements, a genuine outline gap. Security basics PASS (HSTS, nosniff, framing, TLS, no mixed content), though 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. W3C reports 8 errors, mostly WP Rocket's text/rocketlazyloadscript carrying defer/async plus two srcset entries missing width descriptors. Field CrUX values (0 ms p75 for LCP/TTFB/INP) look like missing/fallback data and were not used for scoring.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift driving CLS 0.491","impact":"CLS, mobile Performance score","problem":"Mobile CLS is 0.491 (desktop 0.138); Lighthouse attributes shift 0.481 to div#page > div.main > div.main__footer > footer.footer.","solution":"- Reserve the footer's final height up front: give the footer container a `min-height` matching its rendered height, or render its content server-side instead of injecting it after load.\n- If the shift comes from a late-injected cookie banner or lazyloaded logo, set explicit `width`/`height` on the image and position the banner with `position: fixed` so it does not reflow the document.\n- Re-run Lighthouse mobile after the change and confirm 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 (3.86 s)","problem":"The optimized-web checklist fails \"Hero image eagerly loaded\": the hero (uploads/2026/08/6c041c12…png) has loading=\"lazy\" and no fetchpriority, delaying mobile LCP to 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```\nKeep `loading=\"lazy\"` only on below-the-fold images."},{"priority":1,"category":"Performance","title":"Remove the document redirect and cut server response time","impact":"TTFB, FCP, LCP, Speed Index","problem":"The browser runtime shows the non-trailing-slash document taking 1.56 s before the 142 ms canonical response, and PSI's document-latency-insight estimates 1,980 ms of savings.","solution":"- Link internally to the canonical trailing-slash URL (`https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks/`) so the redirect hop is never paid.\n- Ensure the canonical URL is warmed in the WP Rocket cache after deploy.\n- Verify the redirect is a single 301 at the edge, not a chain through Apache/PHP."},{"priority":2,"category":"Accessibility","title":"Add a single H1 and a real heading hierarchy","impact":"Document outline, screen-reader navigation, SEO","problem":"The HTML inventory reports h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0, and axe flags page-has-heading-one (moderate).","solution":"- Wrap the article title in exactly one `<h1>`.\n- Promote section titles to `<h2>` and sub-sections to `<h3>` in document order.\n- Do not use styled `<div>`/`<p>` for visual headings."},{"priority":2,"category":"Accessibility","title":"Name icon buttons and enlarge touch targets","impact":"WCAG 4.1.2 Name/Role/Value, 2.5.8 Target Size","problem":"PSI mobile accessibility fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7).","solution":"- Give every button an accessible name: visible text, or `aria-label=\"Close\"` / `<span class=\"visually-hidden\">Close</span>` for icon-only controls.\n- Ensure interactive targets are at least 24×24 CSS px (44×44 recommended) or have ≥24 px spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```"},{"priority":2,"category":"Best Practices","title":"Fix invalid srcset entries missing width descriptors","impact":"Responsive image selection, W3C validity","problem":"W3C reports 2 errors: srcset values on the two uploads PNGs specify no width while a `sizes` attribute is present (lines 399 and 419).","solution":"```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12….png 251w\"\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":"Security","title":"Add Subresource Integrity to the jsDelivr script","impact":"Supply-chain integrity of third-party JS","problem":"Security basics reports \"Subresource Integrity — warn: 1 of 1 cross-origin scripts lack an integrity attribute\" (cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0).","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-<hash>\"\n        crossorigin=\"anonymous\" defer></script>\n```\nGenerate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`. Better still, self-host the file."},{"priority":3,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so no script or resource restrictions apply. Site signals show no auth, payments, user content or commerce, so this is a hardening item rather than an urgent one.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self';\n```\nRoll out in report-only mode first to catch breakage from WP Rocket's lazyload rewriting."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Information leakage, feature abuse, origin isolation","problem":"Security basics marks Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy as fail (all missing from the response headers).","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-site\n```"},{"priority":3,"category":"Best Practices","title":"Fix WP Rocket lazyload script markup rejected by the validator","impact":"W3C validity (6 of 8 errors)","problem":"W3C reports 5 errors for `type=\"text/rocketlazyloadscript\"` with `defer` and 1 with `async` — data-block scripts must not carry those attributes.","solution":"- Update WP Rocket to the current release, which emits valid lazyload markup.\n- If it persists, exclude the affected scripts from Delay JS execution in WP Rocket → File Optimization → Delay JavaScript execution, so they render as normal `<script defer src=…>`."},{"priority":3,"category":"Performance","title":"Stop sending cache-control: max-age=0 on the document","impact":"Repeat-visit TTFB, back/forward navigation","problem":"The document response carries `cache-control: max-age=0` with an `expires` timestamp in the past, despite WP Rocket being active.","solution":"- In WP Rocket → Cache → Browser cache, enable HTML browser caching with a short TTL (e.g. 600 s) and rely on the `last-modified` validator for revalidation.\n- Confirm the edge/CDN is not overriding the origin's Cache-Control."},{"priority":3,"category":"SEO","title":"Fix structured data and vague repeated link text","impact":"Rich results eligibility, link-purpose clarity","problem":"PSI fails the `structuredData` audit and the JSON-LD block's type is reported as \"Unknown\"; the inventory also lists repeated vague anchors (\"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"contact\" ×2).","solution":"- Validate the JSON-LD at validator.schema.org and declare an explicit `@type` (e.g. `Article` with `headline`, `datePublished`, `author`, `image`).\n- Disambiguate repeated anchors with `aria-label` or surrounding context, e.g. `<a href=\"/en/about/\">About estply</a>`."},{"priority":3,"category":"Security","title":"Harden the WordPress surface","impact":"Brute-force and takeover exposure","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 endpoint (custom path, HTTP auth on `/wp-login.php`, or a login-limiter plugin).\n- Also strip the `Server: Apache / ZoneOS` banner via `ServerTokens Prod` / `ServerSignature Off`."}],"perfScore":66,"a11yScore":91,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/en/privacy-policy","overall":79,"reasoning":"PSI mobile 87 / desktop 100 with clean CLS (0.000) and TBT (0 ms), but mobile LCP is 3.9 s — the single largest drag — and the optimization checklist confirms the hero image is served with loading=\"lazy\" and no fetchpriority, which directly delays LCP. Accessibility is strong (axe 0 violations / 40 passes; PSI a11y 91 mobile, 96 desktop), though Lighthouse still flags unnamed buttons (score 0, weight 10) and undersized tap targets (score 0, weight 7), and 7 color-contrast nodes were indeterminate. SEO is 85 on both strategies due to a missing meta description, non-descriptive link text and absent structured data. Security basics PASS, but the advanced tier shows a frame-ancestors-only CSP, no Referrer-Policy / Permissions-Policy / COOP / CORP, HSTS without preload, and one cross-origin script without SRI; W3C reports 8 errors (mostly WP Rocket's text/rocketlazyloadscript placeholders plus two srcset entries missing width descriptors). The document is served with cache-control max-age=0 despite WP Rocket being active, and mobile is materially slower than desktop (LCP 3.9 s vs 0.8 s), which is why confidence is medium.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetchpriority","impact":"LCP (mobile 3.9 s), Speed Index 2.55 s","problem":"The optimization checklist flags the hero image (…/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png) as loading=\"lazy\" with no fetchpriority set, and mobile LCP is 3.9 s versus 0.8 s on desktop.","solution":"- Remove `loading=\"lazy\"` from the hero/LCP image and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/08/hero.png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     fetchpriority=\"high\" decoding=\"async\">\n```\n- Keep `loading=\"lazy\"` only on below-the-fold images.\n- If the hero is injected by JS or a slider, preload it in `<head>`:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/hero.png\" fetchpriority=\"high\">\n```"},{"priority":2,"category":"Performance","title":"Shorten the critical request chain (document latency)","impact":"LCP, FCP, Speed Index","problem":"PSI's `document-latency-insight` reports ~840 ms of estimated savings and `network-dependency-tree-insight` fails; the document request itself took 1.23 s in the runtime capture.","solution":"- Inline the critical CSS for the above-the-fold region and defer the two external stylesheets (34.6 KB total).\n- Preconnect to `cdn.jsdelivr.net` (already a preconnect hint exists — verify it is on the critical path).\n- Reduce the 23 script tags: audit which WP Rocket–delayed scripts are actually needed on a privacy-policy page and drop the rest.\n- Enable full-page cache / CDN edge caching so the HTML is served from cache rather than regenerated per request."},{"priority":2,"category":"Performance","title":"Eliminate forced reflow","impact":"LCP, INP, main-thread work","problem":"PSI reports `forced-reflow-insight` failing (score 0.00) on mobile.","solution":"- Batch DOM reads before writes; avoid interleaving `offsetWidth`/`getBoundingClientRect()` with style mutations.\n- Defer layout-dependent JS (cookie banner, iframemanager) until after first paint.\n- Profile with DevTools Performance → \"Forced reflow\" annotations to locate the offending handler."},{"priority":2,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document is served with `cache-control: max-age=0` and an `expires` value equal to the response time, so every navigation revalidates despite WP Rocket being active.","solution":"- Serve cached HTML with a short but non-zero TTL and a stale-while-revalidate window:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Keep `max-age=0` only for logged-in or personalized responses.\n- Verify the CDN/edge layer (ZoneOS) is not overriding the origin's cache headers."},{"priority":2,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2, 2.5.8; PSI accessibility 91","problem":"Lighthouse flags `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) on mobile, even though axe-core reported 0 violations — likely a state (cookie banner / consent dialog) not present during the axe run.","solution":"- Add visible text or `aria-label` to every `<button>`, especially in the cookie consent banner:\n```html\n<button type=\"button\" aria-label=\"Accept all cookies\">✓</button>\n```\n- Ensure interactive targets are at least 24×24 px with adequate spacing (44×44 px recommended):\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```\n- Re-run axe with the consent banner open to confirm."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score 85, SERP snippet quality","problem":"The HTML inventory shows `Description: not set`, and PSI's `meta-description` audit fails on both mobile and desktop.","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 page/language (the page has `en` and `et` hreflang variants)."},{"priority":2,"category":"Security","title":"Block the WordPress installer and restrict the default login path","impact":"Attack surface, brute-force exposure","problem":"Security basics reports `/wp-admin/install.php` reachable and the login form served on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Add rate limiting / 2FA on `/wp-login.php`, or move the login behind a custom path or basic-auth gate.\n- Note: the Security basics verdict is PASS, but PASS only means the high-level hygiene checks are in place — it does **not** mean the site is secure."},{"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'`, and no script/resource restrictions. Site signals show no auth, payments or user content, so this is a P3 hardening item rather than an urgent fix.","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'; require-trusted-types-for 'script'\n```\n- Roll out in `Content-Security-Policy-Report-Only` first and fix violations before enforcing.\n- WP Rocket's `text/rocketlazyloadscript` placeholders will need nonce propagation."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP, CORP and HSTS preload","impact":"Privacy leakage, origin isolation, HSTS coverage","problem":"All five are missing or incomplete: `referrer-policy`, `permissions-policy`, `cross-origin-opener-policy`, `cross-origin-resource-policy` are absent, and HSTS (`max-age=31536000; includeSubDomains`) lacks `preload`.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=(), payment=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-site\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nOnly submit to the preload list once you are confident every subdomain is HTTPS-only."},{"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 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```\nGenerate the hash from the exact pinned version and update it whenever the version changes."},{"priority":3,"category":"Best Practices","title":"Fix invalid srcset width descriptors","impact":"Responsive image selection, HTML validity","problem":"W3C reports 2 errors: `srcset` on the two `<img>` elements specifies no width descriptor while `sizes` is present (lines 536 and 556).","solution":"```html\n<img src=\"…251x134.png\"\n     srcset=\"…-251x134.png 251w, …-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     alt=\"\" width=\"251\" height=\"134\" loading=\"lazy\">\n```\nEvery candidate in `srcset` must carry a `w` descriptor when `sizes` is used."},{"priority":3,"category":"SEO","title":"Replace vague \"here\" link text","impact":"SEO 85, link-text audit, screen-reader clarity","problem":"PSI's `link-text` audit fails with 2 links lacking descriptive text, and the inventory lists \"here\" ×2 among repeated vague anchors.","solution":"- Rewrite the anchor text to describe the destination, e.g. \"read our cookie policy\" instead of \"here\".\n- If the visual design requires short text, add `aria-label`:\n```html\n<a href=\"/en/cookies\" aria-label=\"Read our cookie policy\">here</a>\n```"},{"priority":3,"category":"SEO","title":"Add structured data","impact":"SEO 85, rich-result eligibility","problem":"PSI's `structured-data` audit fails, and the single JSON-LD block on the page has an unrecognized type.","solution":"- Add `WebPage` / `Organization` JSON-LD with `@type`, `name`, `url` and `inLanguage` matching the `en`/`et` hreflang pair.\n- Validate with the Rich Results Test and Schema Markup Validator."},{"priority":3,"category":"Security","title":"Suppress the Server header","impact":"Technology disclosure","problem":"The response discloses `Server: Apache / ZoneOS`, and Security basics flags technology disclosure as a warn.","solution":"```apache\nServerTokens Prod\nServerSignature Off\nHeader unset Server\n```\nIf the edge (ZoneOS) sets the header, strip it at the CDN layer instead."}],"perfScore":87,"a11yScore":91,"bestPracticesScore":100,"seoScore":85,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/privaatsuspoliitika","overall":74,"reasoning":"The audit is dominated by a data-quality problem: the direct-fetch tools (HTML inventory, axe-core, W3C, browser runtime) all captured a **429 Too Many Requests** error page (title \"429 Too Many Requests\", 337 B, 0 images, 0 scripts, no lang, no landmarks), so those findings describe the rate-limit page rather than the privacy policy. PSI did return real data for both strategies: mobile performance 87 vs desktop 99, with mobile LCP 3.9 s (warning band) driven by ~600 ms of render-blocking resources and ~510 ms of document latency, while CLS 0.000 and TBT 0 ms are clean. Accessibility 91 (button-name, target-size) and SEO 92 (missing meta description) are the other material drags. Security basics PASS with HSTS, nosniff and framing protection in place, but CSP is only `frame-ancestors 'self'` with no `default-src`/`object-src`, and no Cache-Control is sent — consistent with the 429s. Mobile is 12 points behind desktop and LCP is 3.1 s slower, so the score is anchored on mobile. Confidence is low because the majority of non-PSI evidence is from an error page.","confidence":"low","fixes":[{"priority":1,"category":"Performance","title":"Stop returning 429 on the privacy policy URL","impact":"Availability, TTFB, all downstream audits","problem":"The document returned HTTP 429 with `retry-after: 10` and a 337 B body titled \"429 Too Many Requests\"; the browser runtime logged \"Failed to load resource: the server responded with a status of 429\".","solution":"- Identify the rate limiter (WAF / ZoneOS / WordPress security plugin) and whitelist the privacy-policy path, or raise the threshold for anonymous GETs.\n- Serve the page from a full-page cache so repeat requests never reach PHP:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Ensure 429 responses are not cached by the CDN and that `retry-after` is honored by crawlers."},{"priority":1,"category":"Performance","title":"Cut mobile LCP from 3.9 s","impact":"LCP, Speed Index, TTI","problem":"Mobile LCP is 3.9 s (desktop 0.8 s) with `render-blocking-insight` estimating 600 ms of savings and `document-latency-insight` 510 ms; Speed Index is 2.87 s on mobile vs 939 ms on desktop.","solution":"- Inline critical CSS and defer the rest; move non-critical `<link rel=stylesheet>` out of the critical path.\n- Preload the LCP image and add `fetchpriority=\"high\"`; do not lazy-load it.\n- Flatten the `network-dependency-tree-insight` chain: preconnect to the image/CDN origin and remove serial request waterfalls.\n- Reduce document latency by serving the HTML from cache (see the 429 fix)."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, SEO score","problem":"`meta-description` fails in PSI (SEO 92) and the HTML inventory reports `Description: not set`.","solution":"```html\n<meta name=\"description\" content=\"Estonian privacy policy explaining what personal data Estply collects, how it is used, and your rights.\">\n```\nKeep it 120–155 characters and unique per page."},{"priority":2,"category":"Accessibility","title":"Fix unnamed buttons and undersized touch targets","impact":"WCAG 4.1.2, 2.5.8; mobile accessibility score","problem":"PSI mobile accessibility is 91 with `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) failing.","solution":"- Give every `<button>` visible text or an `aria-label`, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 24×24 px (44×44 recommended) with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```"},{"priority":2,"category":"Performance","title":"Set an explicit Cache-Control policy","impact":"Repeat-visit TTFB, CDN efficiency","problem":"The response has no `cache-control`, `etag`, `last-modified` or `expires` header — the security tool flags \"no cache-control header — caching behavior is unpredictable\" and the checklist fails \"Page caching plugin / CDN active\".","solution":"```\n# HTML\nCache-Control: public, max-age=600, s-maxage=86400\n# Hashed static assets\nCache-Control: public, max-age=31536000, immutable\n```\nEnable a WordPress page-cache plugin or CDN edge cache in front of the origin."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is `frame-ancestors 'self'` only — `default-src` and `object-src 'none'` are missing, so no script or resource restrictions apply. Site signals show no auth, payments, or user content, so this is low-urgency.","solution":"When convenient, 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'; frame-ancestors 'self'\n```"},{"priority":3,"category":"Security","title":"Add remaining hardening headers","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`; the `server` header discloses `Apache / ZoneOS`.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), camera=(), microphone=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains; preload\"\nServerTokens Prod\nServerSignature Off\n```\nSubmit the domain to hstspreload.org once the preload directive is live."},{"priority":3,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"Markup validity, lazy-load correctness","problem":"W3C reports 8 errors: 5× `defer` and 1× `async` on `type=\"text/rocketlazyloadscript\"` data-block scripts, plus 2× `srcset` candidates missing a width descriptor while `sizes` is present.","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer`/`async` are invalid there — let the plugin rewrite the type at runtime instead of hard-coding the attributes.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\".../a.png\" sizes=\"(max-width: 768px) 100vw, 600px\"\n     srcset=\".../a-300.png 300w, .../a-600.png 600w\" alt=\"\">\n```"},{"priority":3,"category":"Accessibility","title":"Re-verify lang and landmarks on the real page","impact":"WCAG 3.1.1, 1.3.1","problem":"axe reports `html-has-lang` (serious), `landmark-one-main` and `region`, and the inventory shows no `<nav>`, `<main>`, `<header>` or `<footer>` — but these were captured on the 429 error page, so they may not reflect the real document.","solution":"- Re-run axe against the live page once the 429 is resolved.\n- Regardless, ensure the error template itself is valid: `<html lang=\"et\">`, a single `<main>`, and all content inside landmarks.\n- Add a skip link: `<a href=\"#main\" class=\"skip-link\">Otse sisu juurde</a>`."}],"perfScore":87,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":89,"securityVerdict":"PASS"},{"url":"https://estply.com/kupsiste-poliitika","overall":78,"reasoning":"Mobile performance is the main drag: PSI mobile 83 vs desktop 98, with LCP 3.9 s (vs 0.7 s desktop) and Speed Index 5.29 s, while TBT is 0 ms and CLS is 0.000 — so the problem is load/render timing, not main-thread work. The hero image is served with loading=\"lazy\" and no fetchpriority, which directly delays LCP, and the document response carries cache-control: max-age=0 despite WP Rocket being active. Accessibility scores 91 mobile / 96 desktop; axe-core reports 0 violations but Lighthouse fails button-name (weight 10, score 0) and target-size (weight 7, score 0), and axe flags 6 undetermined color-contrast nodes. SEO is 92 with no meta description and an untyped JSON-LD block, and W3C reports 8 errors (6 from WP Rocket's text/rocketlazyloadscript data blocks carrying defer/async, 2 from srcset candidates missing widths). Security basics PASS — HTTPS redirect, HSTS, nosniff, framing protection and no mixed content — but advanced checks fail on a weak CSP (frame-ancestors only, no default-src or object-src 'none'), missing Referrer-Policy/Permissions-Policy/COOP/CORP, and no SRI on the jsdelivr script; with no auth, payments, UGC or commerce signals, CSP hardening stays low priority.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP, Speed Index, mobile performance score","problem":"The hero image (uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png) uses loading=\"lazy\" with no fetchpriority, and mobile LCP is 3.9 s versus 0.7 s on desktop.","solution":"- Remove `loading=\"lazy\"` from the hero (or set `loading=\"eager\"`).\n- Add `fetchpriority=\"high\"` and keep explicit `width`/`height`.\n- Preload it in `<head>`:\n```html\n<link rel=\"preload\" as=\"image\"\n      href=\"/wp-content/uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png\"\n      fetchpriority=\"high\">\n<img src=\"…\" alt=\"\" width=\"251\" height=\"134\" fetchpriority=\"high\" decoding=\"async\">\n```\n- Exclude the hero from WP Rocket's lazy-load (\"Excluded images\" setting)."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2, Lighthouse accessibility score","problem":"Lighthouse fails `button-name` with score 0.00 (weight 10) — buttons on the page have no accessible name, so screen readers announce them as just \"button\".","solution":"- Add visible text or an `aria-label` to each button:\n```html\n<button type=\"button\" aria-label=\"Ava küpsiste eelistused\">…</button>\n```\n- For icon-only buttons, keep the icon `aria-hidden=\"true\"` and put the label on the button.\n- While in this area, verify the 6 color-contrast nodes axe could not determine (gradients/alpha) with a contrast checker at ≥4.5:1."},{"priority":2,"category":"Performance","title":"Fix document caching and server response latency","impact":"TTFB, FCP, repeat-visit performance","problem":"The document is served with `cache-control: max-age=0` and Lighthouse's `document-latency-insight` estimates 1,790 ms of savings; the browser capture shows the HTML document taking 941 ms.","solution":"- Let WP Rocket serve a cached HTML copy with a positive TTL, e.g. `Cache-Control: public, max-age=600, s-maxage=3600`.\n- Ensure the page cache is warmed after deploy so the first visitor does not pay the cold-start cost.\n- Investigate the 941 ms document response (PHP/DB work, missing full-page cache hit, or origin latency behind ZoneOS)."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"Lighthouse fails `target-size` with score 0.00 (weight 7) — interactive elements are too small or too close together for touch.","solution":"- Ensure every link/button has a hit area of at least 24×24 CSS px (44×44 recommended):\n```css\n.nav a, .footer a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; }\n```\n- Add spacing between adjacent icon links so targets do not overlap."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, Lighthouse SEO score","problem":"The document has no meta description (`meta-description` audit fails, SEO 92) while the title is \"Küpsiste poliitika - estply\".","solution":"Add a unique 120–155 character description in the page's SEO settings:\n```html\n<meta name=\"description\" content=\"Estply küpsiste poliitika: milliseid küpsiseid me kasutame, miks, ja kuidas oma eelistusi hallata.\">\n```"},{"priority":2,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"HTML validity, lazy-load correctness","problem":"W3C reports 8 errors: 5 `script type=\"text/rocketlazyloadscript\"` elements carry `defer`, 1 carries `async`, and 2 `srcset` candidates omit a width while `sizes` is present.","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer`/`async` are invalid on it. Either let WP Rocket rewrite the type at runtime without those attributes, or exclude those specific scripts from delay:\n```php\nadd_filter('rocket_delay_js_exclusions', fn($e) => array_merge($e, ['cookieyes']));\n```\n- Fix the two `srcset` entries so every candidate has a width descriptor:\n```html\n<img src=\"…251x134.png\" srcset=\"…251x134.png 251w\" sizes=\"(max-width: 600px) 100vw, 251px\" width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions. Site signals show no auth, payments, UGC or commerce, so this is low-risk today.","solution":"When you add a login or user content, move to 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```\nAt minimum add `default-src 'self'` and `object-src 'none'` now — they are cheap and break nothing."},{"priority":3,"category":"Security","title":"Add the remaining low-cost security headers","impact":"Referrer leakage, feature abuse, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, HSTS lacks `preload`, and the jsdelivr script has no `integrity` attribute.","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-origin\"\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains; preload\"\n```\n- Add SRI to the jsdelivr iframemanager script, or self-host it.\n- Consider trimming the `Server: Apache / ZoneOS` header."},{"priority":3,"category":"Best Practices","title":"Close WordPress hardening gaps","impact":"Attack surface, brute-force exposure","problem":"`/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login to a custom path or put `/wp-login.php` behind rate limiting / a WAF rule."},{"priority":3,"category":"SEO","title":"Declare a structured-data type and disambiguate repeated link text","impact":"Rich results eligibility, link context","problem":"The single JSON-LD block parses as type \"Unknown\" and PSI fails `structuredData`; the page also repeats vague anchors (\"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2).","solution":"- Emit a concrete schema type, e.g. `WebPage` with `inLanguage: \"et\"` and a `@id` matching the canonical URL.\n- Where repeated anchors appear in different contexts, add `aria-label` or surrounding text so each link's destination is clear out of context."}],"perfScore":83,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"}]}