{"url":"https://estply.com/","date":"2026-10-28","siteName":"Avaleht - estply","overall":66,"reasoning":"Site overall 66 is the mean of 5 pages. Scores range 64 (https://estply.com/) → 70 (https://estply.com/kontakt). Weakest page: Mobile performance is the dominant drag: PSI mobile 68 vs desktop 94, with LCP 6.3 s (vs 1.2 s desktop) and Speed Index 5.71 s, driven almost entirely by a single 1.94 MB 3200×1800 hero WebP — images account for 2.70 MB of the 2.81 MB page weight. Accessibility is solid (axe 0 violations, PSI 91) but PSI still flags `button-name` and `target-size` failures, and 17 contrast nodes were left undetermined. Security basics FAILED (HSTS, X-Frame-Options, X-Content-Type-Options, CSP all missing), which caps the score below 90; the site does expose an upload surface, so CSP is treated as P1. W3C reports 9 errors (mostly WP Rocket `text/rocketlazyloadscript` + `defer` and malformed `srcset` width descriptors) and the document is served with `cache-control: max-age=0`, both secondary drags. The mobile/desktop gap (26 PSI points, 5.1 s LCP delta) is large enough to lower confidence in a single clean score.","confidence":"low","fixes":[{"priority":1,"category":"Performance","title":"Right-size and re-encode the 1.94 MB hero image","impact":"LCP, Speed Index, total page weight","problem":"The LCP image (kaasik-kaupo-kalda-3200x1800.webp) is 1.94 MB and images total 2.70 MB of the 2.81 MB page; mobile LCP is 6.3 s vs 1.2 s desktop, and PSI's image-delivery insight estimates 544 KiB savings.","solution":"- Serve a mobile-appropriate source instead of the 3200×1800 original; cap the hero at ~1600 px wide and let `srcset`/`sizes` pick the rest.\n- Re-encode to AVIF with WebP fallback and target <200 KB for the hero.\n- Keep `fetchpriority=\"high\"` and add a preload for the chosen hero source:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/hero-1200.avif\"\n      imagesrcset=\"/hero-800.avif 800w, /hero-1200.avif 1200w, /hero-1600.avif 1600w\"\n      imagesizes=\"100vw\" fetchpriority=\"high\">\n```\n- Verify the RocketCDN origin isn't bypassing the resized variants."},{"priority":1,"category":"Security","title":"Add the missing baseline security headers","impact":"Transport security, clickjacking, MIME sniffing","problem":"Security basics verdict is FAILED: Strict-Transport-Security, X-Frame-Options (or CSP frame-ancestors) and X-Content-Type-Options are all missing from the response.","solution":"Send from the origin/Apache vhost:\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\n```\nThen submit the domain to hstspreload.org once the max-age is stable."},{"priority":1,"category":"Security","title":"Deploy a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing entirely, and the site exposes an upload surface (anchor href contains \"upload\"), so injected script could persist into user-visible content.","solution":"Use nonce + `'strict-dynamic'` rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```\n- Roll out in Report-Only first to catch WP Rocket / jsDelivr / Google Fonts breakage.\n- `frame-ancestors 'self'` also closes the clickjacking gap."},{"priority":1,"category":"Performance","title":"Eliminate the 0.481 footer layout shift","impact":"CLS, mobile Performance score","problem":"CLS is 0.481 on mobile (desktop 0.140), with the shift attributed to div#page > div.main > div.main__footer > footer.footer — well past the 0.25 heavy-penalty threshold.","solution":"Reserve space for the footer before it renders:\n- Give the footer container a `min-height` matching its rendered height, or render it server-side instead of injecting it late.\n- If the shift comes from a lazily-loaded element inside the footer (cookie banner, iframe manager, badge), wrap it in a fixed-size placeholder.\n- Audit any `position: sticky/fixed` footer element that is inserted after first paint.\nVerify with Lighthouse's Layout Shift Regions overlay."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP (3.7 s mobile)","problem":"The checklist flags the hero image (uploads/2026/08/6c041c12…png) as `loading=\"lazy\"` with no `fetchpriority`, which defers the likely LCP element; mobile LCP is 3.7 s vs 0.8 s desktop.","solution":"```html\n<img src=\"…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":"Security","title":"Add HSTS, X-Content-Type-Options and X-Frame-Options","impact":"Transport security, clickjacking, MIME sniffing","problem":"Security basics verdict is FAILED: Strict-Transport-Security, X-Frame-Options/frame-ancestors and X-Content-Type-Options are all missing from the response.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```\nPrefer `Content-Security-Policy: frame-ancestors 'self'` once CSP is in place; keep X-Frame-Options as the fallback for older browsers."},{"priority":1,"category":"Accessibility","title":"Add a real heading structure (currently zero headings)","impact":"Screen-reader navigation, document outline, SEO","problem":"The heading outline reports h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0, and axe flags `page-has-heading-one` (moderate) on `html`.","solution":"- Add exactly one `<h1>` containing the article title (\"Vineeri kvaliteediklassid selgeks\").\n- Mark up section titles as `<h2>`/`<h3>` in document order.\n- Do not use styled `<div>`/`<p>` elements in place of headings.\n- Re-run axe and confirm the outline is sequential with no skipped levels."},{"priority":1,"category":"Performance","title":"Stop lazy-loading the hero image and prioritise it for LCP","impact":"LCP (4.5 s mobile), Speed Index, FCP","problem":"The optimized-web checklist fails 'Hero image eagerly loaded': the first image (`6c041c12…png`, 251×134) has `loading=\"lazy\"` and no `fetchpriority`, and mobile LCP is 4.5 s vs 1.0 s on desktop.","solution":"- Remove `loading=\"lazy\"` from the hero and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     fetchpriority=\"high\" decoding=\"async\">\n```\n- Preload it in `<head>` so it is discovered before the CSS/JS chain:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12….png\" fetchpriority=\"high\">\n```\n- Keep `loading=\"lazy\"` only on genuinely below-the-fold images."},{"priority":1,"category":"Performance","title":"Cut render-blocking CSS and font work to fix FCP","impact":"FCP (3.63 s), Speed Index (3.63 s), LCP","problem":"Mobile FCP is 3.63 s while TTFB is only 24 ms, so the delay is in the render path: 4 external stylesheets plus 3 inline blocks (9.6 KB), and 4 Google Fonts files totalling 96.2 KB from fonts.gstatic.com. PSI flags `document-latency-insight` (580 ms est. savings) and `font-display-insight` (40 ms).","solution":"- Self-host Open Sans as WOFF2 and preload only the weights actually used; drop the `fonts.googleapis.com` / `fonts.gstatic.com` origins (2 + 2 requests).\n- Add `font-display: swap` (or `optional`) to every `@font-face`.\n- Inline the critical above-the-fold CSS and defer the rest:\n```html\n<link rel=\"preload\" href=\"/fonts/opensans-var.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n- Reduce the 580 ms document-latency chain by removing unused stylesheet requests and trimming the 9.6 KB of inline CSS."},{"priority":1,"category":"Security","title":"Add the three missing baseline security headers","impact":"Transport security, clickjacking, MIME sniffing","problem":"Security basics verdict is FAILED: Strict-Transport-Security, X-Content-Type-Options and clickjacking protection (X-Frame-Options / CSP `frame-ancestors`) are all reported missing on the response.","solution":"Send from the origin (Apache shown, matching the `Server: Apache / ZoneOS` header):\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\n```\nPrefer `Content-Security-Policy: frame-ancestors 'self'` over X-Frame-Options once CSP is in place, and submit the domain to hstspreload.org after the HSTS max-age is verified."},{"priority":1,"category":"Performance","title":"Stop returning HTTP 429 and cache the document","impact":"TTFB, LCP, availability, crawlability","problem":"The audit fetch of /kupsiste-poliitika returned status 429 with `retry-after: 10` and a 337 B error body; the response has no `cache-control` header and the checklist finds no page-cache plugin or CDN edge cache.","solution":"- Whitelist normal page requests in the rate limiter (the 429 fired on a single first visit) and raise the burst threshold.\n- Enable a page cache / CDN edge cache for anonymous GETs and send explicit caching headers:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Ensure the cookie-policy page is served from cache, not regenerated per request."},{"priority":1,"category":"Performance","title":"Cut mobile LCP (4.4 s) and FCP (3.05 s)","impact":"LCP, FCP, Speed Index, document latency","problem":"PSI mobile LCP is 4.4 s vs 1.0 s on desktop and FCP 3.05 s vs 807 ms; `document-latency-insight` estimates 980 ms of savings and `font-display-insight` 110 ms.","solution":"- Reduce document latency (see the caching fix) — it is the largest single contributor at ~980 ms.\n- Add `font-display: swap` and preload the primary font:\n```html\n<link rel=\"preload\" href=\"/fonts/main.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n```css\n@font-face { font-family: Main; src: url(/fonts/main.woff2) format('woff2'); font-display: swap; }\n```\n- Preconnect to the origin serving the LCP image and serve it as WebP/AVIF with explicit dimensions.\n- Flatten the critical request chain flagged by `network-dependency-tree-insight`."},{"priority":1,"category":"Performance","title":"Make the LCP image eager and high-priority","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 4.2 s (desktop 0.9 s) and the optimized-web checklist flags the hero image as `loading=\"lazy\"` with no `fetchpriority`. The heuristic picked a 100×100 thumbnail, so confirm the real LCP element in DevTools first.","solution":"- Identify the true LCP element in DevTools → Performance → LCP.\n- Remove `loading=\"lazy\"` from it and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/hero.webp\" alt=\"…\" width=\"1600\" height=\"900\"\n     fetchpriority=\"high\" decoding=\"async\">\n```\n- Preload it so it is discovered in the initial HTML:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/hero.webp\" fetchpriority=\"high\">\n```\n- Keep `loading=\"lazy\"` only on genuinely below-the-fold images."},{"priority":1,"category":"Security","title":"Ship a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth on a page with a user-input form","problem":"CSP is missing entirely, and the page hosts a contact form with a `<textarea>` (hasUserContent = yes), so injected script would persist into stored content.","solution":"Use nonce + `'strict-dynamic'` rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{RANDOM}' 'strict-dynamic' https:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src https://fonts.gstatic.com; img-src 'self' data:; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; form-action 'self'\n```\n- Roll out in `Content-Security-Policy-Report-Only` first and watch the reports.\n- Note the page loads `cdn.jsdelivr.net` (iframemanager) — allowlist it explicitly or self-host it."},{"priority":1,"category":"Accessibility","title":"Name the unnamed buttons and enlarge touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"PSI fails `button-name` (score 0, weight 10) and `target-size` (score 0, weight 7) on mobile; axe found 0 violations, so these are likely inside the cookie-consent banner or a state axe did not capture.","solution":"- Give every icon-only button an accessible name:\n```html\n<button type=\"button\" aria-label=\"Sulge küpsiste seaded\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\n- Ensure interactive targets are at least 44×44 px with ≥8 px spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```\n- Re-run axe after accepting/dismissing the cookie banner to cover that state."},{"priority":2,"category":"Accessibility","title":"Fix unnamed buttons and undersized touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"PSI mobile accessibility is 91 with `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) failing, even though axe-core reported 0 violations.","solution":"- Give every icon-only button an accessible name: `<button aria-label=\"Ava menüü\">…</button>`.\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; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Re-run axe after the fix — the two tools disagree, so verify in-browser."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, PSI SEO score","problem":"HTML inventory shows `Description: not set` and PSI's `meta-description` audit scores 0.00; SEO is 92 on both strategies.","solution":"Add a unique 120–155 character description per page, localized for the `et` and `en` hreflang variants:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaal — kaasaegne vineeritehas ja usaldusväärne tarnija.\">\n```"},{"priority":2,"category":"Performance","title":"Stop serving the HTML document with max-age=0","impact":"TTFB on repeat visits, LCP","problem":"The document response carries `cache-control: max-age=0` with an `expires` equal to the request time, so every navigation revalidates despite WP Rocket being active.","solution":"- Set a short but non-zero document TTL with stale-while-revalidate:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Keep the WP Rocket page cache warm for the canonical URL.\n- Confirm logged-in / dynamic regions bypass the cache rather than forcing max-age=0 globally."},{"priority":2,"category":"Best Practices","title":"Fix the 9 W3C validation errors","impact":"HTML validity, lazy-loading behavior, responsive image selection","problem":"W3C reports 9 errors: 5× `text/rocketlazyloadscript` scripts carrying `defer`, an empty `href` on a dns-prefetch `<link>`, a `sizes=\"auto\"` image without `loading=\"lazy\"`, and 2 `srcset` candidates missing width descriptors.","solution":"- Drop `defer` from the RocketLazyLoad data-block scripts, or switch them to `type=\"text/javascript\"` with `defer`.\n- Remove the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` or give it a real hostname.\n- Add `loading=\"lazy\"` to the `sizes=\"auto\"` image.\n- Add width descriptors to the two PNG `srcset` entries:\n```html\n<img src=\"...251x134.png\" srcset=\"...251x134.png 251w, ...502x268.png 502w\" sizes=\"251px\" loading=\"lazy\" width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":2,"category":"Accessibility","title":"Give icon buttons an accessible name","impact":"WCAG 4.1.2, Lighthouse accessibility score","problem":"Lighthouse's `button-name` audit scores 0.00 (weight 10) — buttons on the page have no accessible name.","solution":"```html\n<button type=\"button\" aria-label=\"Close cookie banner\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\nUse visible text where possible; `aria-label` only when the control is icon-only."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"Lighthouse's `target-size` audit scores 0.00 (weight 7) — touch targets lack sufficient size or spacing.","solution":"- Ensure every interactive element is ≥44×44 CSS px (or ≥24×24 with adequate spacing per WCAG 2.5.8 AA).\n- Add padding rather than increasing font size:\n```css\n.icon-link { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }\n```"},{"priority":2,"category":"Performance","title":"Stop sending max-age=0 on the HTML document","impact":"Repeat-visit TTFB, caching","problem":"The document response carries `cache-control: max-age=0` with an `expires` equal to the request time, so every navigation revalidates despite WP Rocket being active.","solution":"- In WP Rocket, enable browser caching for HTML with a short TTL (e.g. 600 s) and let the plugin purge on publish.\n- Or set at origin:\n```\nHeader set Cache-Control \"public, max-age=600, s-maxage=3600, stale-while-revalidate=60\"\n```\nKeep `no-cache` only for logged-in or cart pages."},{"priority":2,"category":"Best Practices","title":"Fix srcset entries missing width descriptors","impact":"W3C validity, responsive image selection","problem":"W3C reports 2 errors: `srcset` candidates on the two uploads PNGs specify no width while a `sizes` attribute is present.","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` descriptor when `sizes` is used."},{"priority":2,"category":"Security","title":"Block the WordPress installer and move the login path","impact":"Brute-force and takeover surface","problem":"Security basics reports `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path (both warns).","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Add rate limiting / 2FA on the login endpoint.\n- Optionally front the login with a plugin that renames the path, and keep xmlrpc.php blocked (already passing)."},{"priority":2,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"Lighthouse mobile accessibility is 91 and fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7); axe-core reported 0 violations, so these were missed by its rule set and need manual confirmation.","solution":"- Add a text or `aria-label` to every icon-only button:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8), especially in the nav and cookie banner.\n- Re-run axe plus a keyboard-only pass, since axe left 7 color-contrast nodes undetermined."},{"priority":2,"category":"SEO","title":"Fix duplicate h1 and vague link text","impact":"Document outline, Lighthouse `link-text`, screen-reader navigation","problem":"The heading outline contains two `<h1>` elements ('Küpsiste poliitika' and 'Privacy Policy'), and the inventory flags vague repeated link text including 'here' ×2 plus 'about us', 'products', 'contact' repeated.","solution":"- Keep exactly one `<h1>` per page; demote the second to `<h2>` (or remove it if it is a duplicated language label).\n- Replace 'here' links with descriptive text or add an `aria-label`:\n```html\n<a href=\"/en/privacy-policy\" aria-label=\"Read the full privacy policy\">here</a>\n```"},{"priority":2,"category":"Security","title":"Harden the WordPress install paths","impact":"Brute-force and takeover surface","problem":"Security basics reports `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path (both 'warn').","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or front the login with a plugin/WAF rule, add rate limiting and 2FA, and keep `xmlrpc.php` blocked (already passing)."},{"priority":2,"category":"Performance","title":"Let the document be cached","impact":"Repeat-visit TTFB, LCP","problem":"The document response sends `cache-control: max-age=0` with an `expires` equal to the request time, so every navigation revalidates the 78.4 KB HTML despite WP Rocket being active.","solution":"- Raise the HTML cache lifetime and let WP Rocket serve the cached copy:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Keep `max-age=0` only for logged-in or personalised responses."},{"priority":2,"category":"Security","title":"Add baseline security headers (HSTS, nosniff, frame protection)","impact":"Transport security, MIME sniffing, clickjacking","problem":"Security basics FAILED: Strict-Transport-Security, X-Content-Type-Options and X-Frame-Options / CSP frame-ancestors are all missing on the HTTPS response.","solution":"Send from the origin (Apache shown):\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```\nThen verify preload eligibility at hstspreload.org."},{"priority":2,"category":"SEO","title":"Add meta description and structured data","impact":"Search snippet quality, rich results","problem":"PSI SEO is 92 with `meta-description` and `structured-data` failing; the HTML inventory confirms no description, no Open Graph, no JSON-LD.","solution":"```html\n<meta name=\"description\" content=\"Estply küpsiste poliitika – milliseid küpsiseid me kasutame ja kuidas neid hallata.\">\n<script type=\"application/ld+json\">\n{\"@context\":\"https://schema.org\",\"@type\":\"WebPage\",\"name\":\"Küpsiste poliitika\",\"inLanguage\":\"et\"}\n</script>\n```"},{"priority":2,"category":"Best Practices","title":"Fix the 7 W3C validation errors","impact":"HTML validity, lazy-load reliability, responsive image selection","problem":"W3C reports 7 errors: 5× `script type=\"text/rocketlazyloadscript\"` carrying a `defer` attribute, and 2× `srcset` candidates with no width descriptor while `sizes` is present.","solution":"- RocketLazyLoad rewrites `type` to a data block, which makes `defer` invalid. Exclude these scripts from lazy-load rewriting or drop `defer` on them.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\"...-1024.png\"\n     srcset=\"...-480.png 480w, ...-1024.png 1024w\"\n     sizes=\"(max-width: 600px) 100vw, 1024px\"\n     width=\"1024\" height=\"512\" alt=\"\">\n```"},{"priority":2,"category":"Performance","title":"Cut the 611 KB image payload","impact":"LCP, Speed Index, total page weight","problem":"Images are 611.2 KB of the 732 KB total across 16 requests, and mobile Speed Index is 6.25 s.","solution":"- Serve AVIF with WebP fallback for photographic content.\n- Right-size: the inventory shows 20 distinct srcset widths (100–2561 px) — trim the ladder to the 3–4 widths actually used.\n- Re-check the 100×100 thumbnails; if they render larger, the srcset `sizes` attribute is wrong."},{"priority":2,"category":"Performance","title":"Stop sending cache-control: max-age=0 on the document","impact":"Repeat-visit TTFB, LCP","problem":"The document response carries `cache-control: max-age=0` with `expires` equal to the request time, so nothing is cached by the browser despite WP Rocket being active.","solution":"```\n# HTML: short browser TTL, long edge TTL\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=86400\n\n# Static assets: immutable\nCache-Control: public, max-age=31536000, immutable\n```\n- Confirm WP Rocket's browser-cache setting is not set to \"Disable\"."},{"priority":2,"category":"Performance","title":"Self-host fonts and fix font-display","impact":"FCP, LCP, render-blocking CSS","problem":"`font-display-insight` is a high-priority PSI finding (est. 80 ms) and 3 font files (47.2 KB) load from fonts.gstatic.com via a render-blocking Google Fonts CSS request.","solution":"- Self-host Open Sans (400/600/700) as woff2 with `font-display: swap`.\n- Preload only the weight used above the fold:\n```html\n<link rel=\"preload\" as=\"font\" type=\"font/woff2\"\n      href=\"/fonts/opensans-400.woff2\" crossorigin>\n```\n- Drop the `fonts.googleapis.com` / `fonts.gstatic.com` origins entirely."},{"priority":2,"category":"Best Practices","title":"Fix the 18 W3C validation errors","impact":"Markup validity, parser robustness","problem":"W3C reports 18 errors: 12× `script type=\"text/rocketlazyloadscript\"` carrying `defer`, a `charset` meta after the first 1024 bytes, an empty `href` on a dns-prefetch link, `srcset` candidates without width descriptors, and `autocomplete` on hidden inputs.","solution":"- Move `<meta charset=\"utf-8\">` to the very first bytes of `<head>`.\n- Remove the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` or give it a real host.\n- Add width descriptors to every `srcset` candidate when `sizes` is present:\n```html\n<img srcset=\"/a-400.webp 400w, /a-800.webp 800w\" sizes=\"(max-width: 800px) 100vw, 800px\" …>\n```\n- Drop `autocomplete` from `<input type=\"hidden\">` fields.\n- The 12 `text/rocketlazyloadscript` + `defer` errors come from WP Rocket's Delay JS — exclude those scripts from delay execution or update WP Rocket."},{"priority":2,"category":"Accessibility","title":"Verify the 109 undetermined contrast nodes","impact":"WCAG 1.4.3 contrast","problem":"axe could not determine contrast for 109 nodes (alpha, gradients, or overlapping backgrounds), so the 0-violation result is not proof of compliance.","solution":"- Run axe DevTools in-browser and inspect the \"needs review\" contrast list.\n- Check text over images and gradient backgrounds manually with a contrast picker (target ≥4.5:1 for body, ≥3:1 for large text)."},{"priority":2,"category":"Security","title":"Add the remaining hardening headers and SRI","impact":"Referrer leakage, feature abuse, cross-origin isolation, supply chain","problem":"Referrer-Policy, Permissions-Policy, COOP, CORP and X-Permitted-Cross-Domain-Policies are all missing; 1 of 1 cross-origin scripts lacks an `integrity` attribute; the `Server: Apache / ZoneOS` header discloses the stack.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\nHeader unset Server\n```\n- Add SRI to the jsDelivr 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":"Performance","title":"Self-host fonts and set font-display","impact":"FCP, render-blocking CSS, third-party latency","problem":"PSI flags `font-display-insight` (high, ~50 ms savings) and the runtime shows 3 font files plus a blocking `fonts.googleapis.com` CSS request (47.2 KB woff2 from fonts.gstatic.com).","solution":"- Self-host Open Sans subsets as woff2 and preload the one weight used above the fold.\n- Add `font-display: swap` (or `optional`) to every `@font-face`.\n- Drop the unused cyrillic subset if the `et`/`en` locales don't need it."},{"priority":3,"category":"Accessibility","title":"Manually verify the 17 undetermined contrast nodes","impact":"WCAG 1.4.3 contrast","problem":"axe-core returned 0 violations but left 17 nodes as \"incomplete\" for color-contrast, so contrast is unverified rather than confirmed passing.","solution":"- Check each flagged node in DevTools against a 4.5:1 (normal text) / 3:1 (large text) threshold.\n- Pay particular attention to text over the hero image and any gradient/alpha backgrounds axe skips."},{"priority":3,"category":"Security","title":"Tighten remaining hygiene items","impact":"Information disclosure, WordPress hardening","problem":"Server header discloses `Apache / ZoneOS`, 1 cross-origin script lacks SRI, `/wp-admin/install.php` is reachable, and login sits on the default `/wp-login.php`; Permissions-Policy, COOP and CORP are also absent.","solution":"- `Header always unset Server` / `Header always unset X-Powered-By`.\n- Add `integrity` + `crossorigin` to the jsDelivr iframemanager script, or self-host it.\n- Block the installer: `Redirect 404 /wp-admin/install.php`.\n- Move login behind a custom path or IP allowlist.\n- Add `Permissions-Policy: geolocation=(), camera=(), microphone=()` and `Cross-Origin-Opener-Policy: same-origin`."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP and the remaining low-cost headers","impact":"XSS defense-in-depth, referrer leakage, feature exposure","problem":"CSP, Referrer-Policy, Permissions-Policy, COOP and CORP are all missing. Site signals show no auth, payments, user content or commerce, so XSS impact is limited — hence P3 rather than P1.","solution":"Deploy CSP with nonces and `'strict-dynamic'` rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nNote WP Rocket's inline scripts will need nonce injection or hashes."},{"priority":3,"category":"Best Practices","title":"Clean up WP Rocket's rocketlazyloadscript markup","impact":"W3C validity","problem":"5 of the 7 W3C errors are `script type=\"text/rocketlazyloadscript\"` elements carrying a `defer` attribute, which is invalid on a non-JavaScript data block.","solution":"- Update WP Rocket to a version that emits valid delay markup, or switch to the native `type=\"module\"`/`defer` combination.\n- Alternatively exclude the affected scripts (cookieyes, iframemanager) from delay-JS execution."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and hide the Server header","impact":"Supply-chain integrity, fingerprinting","problem":"1 of 1 cross-origin scripts (cdn.jsdelivr.net iframemanager) lacks an `integrity` attribute, and the response discloses `Server: Apache / ZoneOS`.","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```apache\nServerSignature Off\nServerTokens Prod\n```"},{"priority":3,"category":"SEO","title":"Add structured data and disambiguate repeated link text","impact":"Rich results, link-purpose clarity","problem":"PSI's modeled `structuredData` audit fails and the JSON-LD block is typed \"Unknown\"; the inventory also lists vague repeated anchors (\"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"contact\" ×2).","solution":"- Emit a valid `Article`/`BlogPosting` JSON-LD block with headline, datePublished, author and image.\n- Disambiguate repeated nav links with `aria-label` or visually-hidden context, e.g. `<a href=\"/en/about/\">About us<span class=\"sr-only\"> — Estply</span></a>`."},{"priority":3,"category":"Best Practices","title":"Clear the 7 W3C validation errors","impact":"Markup correctness, lazy-load reliability","problem":"W3C reports 7 errors: 5× a `script type=\"text/rocketlazyloadscript\"` data block carrying `defer` (first at line 21), and 2× `srcset` candidates missing width descriptors on the two `image__img` elements (lines 574 and 594).","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer` is invalid on it — let the plugin rewrite the type at runtime instead of adding `defer` in the markup.\n- Add width descriptors to the `srcset` values, e.g.:\n```html\n<img src=\"…-251x134.png\"\n     srcset=\"…-251x134.png 251w, …-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":3,"category":"Security","title":"Add a nonce-based CSP (deferred — no auth surface today)","impact":"XSS defense-in-depth","problem":"Content-Security-Policy is missing and the security checklist marks both 'CSP present' and 'CSP is strict' as failed. Site signals show no auth, payments, user content or e-commerce, so this is P3 rather than P1.","solution":"When a login or user content is added, deploy a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```\nAlso add `Permissions-Policy`, `Cross-Origin-Opener-Policy: same-origin` and `Cross-Origin-Resource-Policy: same-origin`, and add `integrity` + `crossorigin` to the `cdn.jsdelivr.net` iframemanager script (currently 1 of 1 cross-origin scripts lacks SRI)."},{"priority":3,"category":"Performance","title":"Serve Brotli instead of gzip","impact":"Transfer size, FCP","problem":"The document is compressed with gzip at a 0.273 ratio (78.4 KB decoded → 21.9 KB); Brotli typically saves a further 15–20% on HTML/CSS/JS.","solution":"Enable `brotli` in the server config and keep gzip as fallback:\n```\n<IfModule mod_brotli.c>\n  AddOutputFilterByType BROTLI_COMPRESS text/html text/css application/javascript application/json image/svg+xml\n</IfModule>\n```"},{"priority":3,"category":"Security","title":"Add a nonce-based CSP (defer until auth or user content exists)","impact":"XSS defense-in-depth","problem":"Content-Security-Policy is missing. Site signals show no auth, payments, user-generated content or e-commerce, so the exploitable surface is minimal today.","solution":"When a login or user content is added, deploy a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```"},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy and COOP/CORP","impact":"Information leakage, feature abuse, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing; the response also discloses `Server: Apache / ZoneOS`.","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\"\nServerTokens Prod\n```"},{"priority":3,"category":"Accessibility","title":"Re-run the accessibility audit against the real page","impact":"Audit validity for WCAG findings","problem":"axe-core ran on the 429 error document and reports `html-has-lang` (serious), `landmark-one-main` and `region`, while W3C sees `lang=\"et\"` on the real page — the two results contradict each other.","solution":"- Re-run axe-core once the rate limit is lifted and confirm whether `html-has-lang`, `landmark-one-main` and `region` still apply.\n- If they do, add `<main>` and wrap the cookie-policy text in it:\n```html\n<main id=\"content\"><h1>Küpsiste poliitika</h1>…</main>\n```\n- Also confirm the `lang=\"et\"` value is correct for the Estonian content (the validator's English heuristic is likely a false positive)."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text and add structured data","impact":"Anchor relevance, rich results","problem":"`structuredData` fails and the JSON-LD block parses as type \"Unknown\"; 9 link texts repeat (\"kontakt\" ×3, \"meist\" ×2, \"tooted\" ×2, etc.).","solution":"- Add `Organization` + `ContactPage` JSON-LD with name, url, telephone, address and `contactPoint`.\n- Disambiguate repeated anchors with `aria-label` or surrounding context, e.g. `<a href=\"/kontakt/\" aria-label=\"Kontakt — Estply AS\">kontakt</a>`."},{"priority":3,"category":"Best Practices","title":"Harden the WordPress install","impact":"Attack surface","problem":"`/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n# Block the installer\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login to a custom path (e.g. via a security plugin) and add rate limiting / 2FA."}],"coverage":{"pct":100,"missing":[]},"siteSummary":{"pagesAudited":5,"pagesAttempted":5,"urls":["https://estply.com/","https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","https://estply.com/en/kupsiste-poliitika","https://estply.com/kupsiste-poliitika","https://estply.com/kontakt"]},"psiSnapshot":{"rows":[{"pageUrl":"https://estply.com/","perfMobile":68,"perfDesktop":94,"lcpMobileMs":6303.108430336696,"lcpDesktopMs":1241.0884704247342,"clsMobile":0.005922343499244829,"clsDesktop":0.0008739945593050523},{"pageUrl":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","perfMobile":67,"perfDesktop":94,"lcpMobileMs":3723.092025,"lcpDesktopMs":805.0744899999997,"clsMobile":0.4812048502278804,"clsDesktop":0.13991365401931544},{"pageUrl":"https://estply.com/en/kupsiste-poliitika","perfMobile":76,"perfDesktop":98,"lcpMobileMs":4493.484455619705,"lcpDesktopMs":970.2256890617668,"clsMobile":0,"clsDesktop":0.0009330543371108848},{"pageUrl":"https://estply.com/kupsiste-poliitika","perfMobile":79,"perfDesktop":98,"lcpMobileMs":4403.251081658691,"lcpDesktopMs":967.4527793888799,"clsMobile":0.00001146708658755514,"clsDesktop":0.0007651388859043338},{"pageUrl":"https://estply.com/kontakt","perfMobile":76,"perfDesktop":95,"lcpMobileMs":4186.297779500133,"lcpDesktopMs":864.2078563189577,"clsMobile":0.009141790769330709,"clsDesktop":0.0001050623130362686}]},"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":64,"reasoning":"Mobile performance is the dominant drag: PSI mobile 68 vs desktop 94, with LCP 6.3 s (vs 1.2 s desktop) and Speed Index 5.71 s, driven almost entirely by a single 1.94 MB 3200×1800 hero WebP — images account for 2.70 MB of the 2.81 MB page weight. Accessibility is solid (axe 0 violations, PSI 91) but PSI still flags `button-name` and `target-size` failures, and 17 contrast nodes were left undetermined. Security basics FAILED (HSTS, X-Frame-Options, X-Content-Type-Options, CSP all missing), which caps the score below 90; the site does expose an upload surface, so CSP is treated as P1. W3C reports 9 errors (mostly WP Rocket `text/rocketlazyloadscript` + `defer` and malformed `srcset` width descriptors) and the document is served with `cache-control: max-age=0`, both secondary drags. The mobile/desktop gap (26 PSI points, 5.1 s LCP delta) is large enough to lower confidence in a single clean score.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Right-size and re-encode the 1.94 MB hero image","impact":"LCP, Speed Index, total page weight","problem":"The LCP image (kaasik-kaupo-kalda-3200x1800.webp) is 1.94 MB and images total 2.70 MB of the 2.81 MB page; mobile LCP is 6.3 s vs 1.2 s desktop, and PSI's image-delivery insight estimates 544 KiB savings.","solution":"- Serve a mobile-appropriate source instead of the 3200×1800 original; cap the hero at ~1600 px wide and let `srcset`/`sizes` pick the rest.\n- Re-encode to AVIF with WebP fallback and target <200 KB for the hero.\n- Keep `fetchpriority=\"high\"` and add a preload for the chosen hero source:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/hero-1200.avif\"\n      imagesrcset=\"/hero-800.avif 800w, /hero-1200.avif 1200w, /hero-1600.avif 1600w\"\n      imagesizes=\"100vw\" fetchpriority=\"high\">\n```\n- Verify the RocketCDN origin isn't bypassing the resized variants."},{"priority":1,"category":"Security","title":"Add the missing baseline security headers","impact":"Transport security, clickjacking, MIME sniffing","problem":"Security basics verdict is FAILED: Strict-Transport-Security, X-Frame-Options (or CSP frame-ancestors) and X-Content-Type-Options are all missing from the response.","solution":"Send from the origin/Apache vhost:\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\n```\nThen submit the domain to hstspreload.org once the max-age is stable."},{"priority":1,"category":"Security","title":"Deploy a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing entirely, and the site exposes an upload surface (anchor href contains \"upload\"), so injected script could persist into user-visible content.","solution":"Use nonce + `'strict-dynamic'` rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```\n- Roll out in Report-Only first to catch WP Rocket / jsDelivr / Google Fonts breakage.\n- `frame-ancestors 'self'` also closes the clickjacking gap."},{"priority":2,"category":"Accessibility","title":"Fix unnamed buttons and undersized touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"PSI mobile accessibility is 91 with `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) failing, even though axe-core reported 0 violations.","solution":"- Give every icon-only button an accessible name: `<button aria-label=\"Ava menüü\">…</button>`.\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; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Re-run axe after the fix — the two tools disagree, so verify in-browser."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, PSI SEO score","problem":"HTML inventory shows `Description: not set` and PSI's `meta-description` audit scores 0.00; SEO is 92 on both strategies.","solution":"Add a unique 120–155 character description per page, localized for the `et` and `en` hreflang variants:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaal — kaasaegne vineeritehas ja usaldusväärne tarnija.\">\n```"},{"priority":2,"category":"Performance","title":"Stop serving the HTML document with max-age=0","impact":"TTFB on repeat visits, LCP","problem":"The document response carries `cache-control: max-age=0` with an `expires` equal to the request time, so every navigation revalidates despite WP Rocket being active.","solution":"- Set a short but non-zero document TTL with stale-while-revalidate:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Keep the WP Rocket page cache warm for the canonical URL.\n- Confirm logged-in / dynamic regions bypass the cache rather than forcing max-age=0 globally."},{"priority":2,"category":"Best Practices","title":"Fix the 9 W3C validation errors","impact":"HTML validity, lazy-loading behavior, responsive image selection","problem":"W3C reports 9 errors: 5× `text/rocketlazyloadscript` scripts carrying `defer`, an empty `href` on a dns-prefetch `<link>`, a `sizes=\"auto\"` image without `loading=\"lazy\"`, and 2 `srcset` candidates missing width descriptors.","solution":"- Drop `defer` from the RocketLazyLoad data-block scripts, or switch them to `type=\"text/javascript\"` with `defer`.\n- Remove the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` or give it a real hostname.\n- Add `loading=\"lazy\"` to the `sizes=\"auto\"` image.\n- Add width descriptors to the two PNG `srcset` entries:\n```html\n<img src=\"...251x134.png\" srcset=\"...251x134.png 251w, ...502x268.png 502w\" sizes=\"251px\" loading=\"lazy\" width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":3,"category":"Performance","title":"Self-host fonts and set font-display","impact":"FCP, render-blocking CSS, third-party latency","problem":"PSI flags `font-display-insight` (high, ~50 ms savings) and the runtime shows 3 font files plus a blocking `fonts.googleapis.com` CSS request (47.2 KB woff2 from fonts.gstatic.com).","solution":"- Self-host Open Sans subsets as woff2 and preload the one weight used above the fold.\n- Add `font-display: swap` (or `optional`) to every `@font-face`.\n- Drop the unused cyrillic subset if the `et`/`en` locales don't need it."},{"priority":3,"category":"Accessibility","title":"Manually verify the 17 undetermined contrast nodes","impact":"WCAG 1.4.3 contrast","problem":"axe-core returned 0 violations but left 17 nodes as \"incomplete\" for color-contrast, so contrast is unverified rather than confirmed passing.","solution":"- Check each flagged node in DevTools against a 4.5:1 (normal text) / 3:1 (large text) threshold.\n- Pay particular attention to text over the hero image and any gradient/alpha backgrounds axe skips."},{"priority":3,"category":"Security","title":"Tighten remaining hygiene items","impact":"Information disclosure, WordPress hardening","problem":"Server header discloses `Apache / ZoneOS`, 1 cross-origin script lacks SRI, `/wp-admin/install.php` is reachable, and login sits on the default `/wp-login.php`; Permissions-Policy, COOP and CORP are also absent.","solution":"- `Header always unset Server` / `Header always unset X-Powered-By`.\n- Add `integrity` + `crossorigin` to the jsDelivr iframemanager script, or self-host it.\n- Block the installer: `Redirect 404 /wp-admin/install.php`.\n- Move login behind a custom path or IP allowlist.\n- Add `Permissions-Policy: geolocation=(), camera=(), microphone=()` and `Cross-Origin-Opener-Policy: same-origin`."}],"perfScore":68,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":65,"securityVerdict":"FAILED"},{"url":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","overall":64,"reasoning":"Mobile performance is the dominant drag: PSI mobile 67 vs desktop 94, driven by CLS 0.481 (a single footer layout shift) and LCP 3.7 s mobile vs 0.8 s desktop — a 27-point and ~2.9 s mobile/desktop divergence. The hero image is served with loading=\"lazy\" and no fetchpriority, which directly delays the LCP element. Accessibility scores 91/96 but the page has zero headings of any level (h1–h6 all 0), Lighthouse flags button-name and target-size at score 0, and axe adds a moderate page-has-heading-one violation. Security basics returned FAILED (HSTS, X-Frame-Options, X-Content-Type-Options all missing), which caps the overall below 90; W3C reports 7 errors, 5 of them from WP Rocket's text/rocketlazyloadscript blocks carrying defer. Offsetting strengths: TBT 0 ms, no console errors, 97 KB runtime payload, gzip compression, WP Rocket caching, and clean alt/dimension coverage on both raster images. CrUX field values (0 ms p75 for LCP/TTFB/INP) are clearly a low-traffic fallback and were not used for scoring.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the 0.481 footer layout shift","impact":"CLS, mobile Performance score","problem":"CLS is 0.481 on mobile (desktop 0.140), with the shift attributed to div#page > div.main > div.main__footer > footer.footer — well past the 0.25 heavy-penalty threshold.","solution":"Reserve space for the footer before it renders:\n- Give the footer container a `min-height` matching its rendered height, or render it server-side instead of injecting it late.\n- If the shift comes from a lazily-loaded element inside the footer (cookie banner, iframe manager, badge), wrap it in a fixed-size placeholder.\n- Audit any `position: sticky/fixed` footer element that is inserted after first paint.\nVerify with Lighthouse's Layout Shift Regions overlay."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP (3.7 s mobile)","problem":"The checklist flags the hero image (uploads/2026/08/6c041c12…png) as `loading=\"lazy\"` with no `fetchpriority`, which defers the likely LCP element; mobile LCP is 3.7 s vs 0.8 s desktop.","solution":"```html\n<img src=\"…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":"Security","title":"Add HSTS, X-Content-Type-Options and X-Frame-Options","impact":"Transport security, clickjacking, MIME sniffing","problem":"Security basics verdict is FAILED: Strict-Transport-Security, X-Frame-Options/frame-ancestors and X-Content-Type-Options are all missing from the response.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```\nPrefer `Content-Security-Policy: frame-ancestors 'self'` once CSP is in place; keep X-Frame-Options as the fallback for older browsers."},{"priority":1,"category":"Accessibility","title":"Add a real heading structure (currently zero headings)","impact":"Screen-reader navigation, document outline, SEO","problem":"The heading outline reports h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0, and axe flags `page-has-heading-one` (moderate) on `html`.","solution":"- Add exactly one `<h1>` containing the article title (\"Vineeri kvaliteediklassid selgeks\").\n- Mark up section titles as `<h2>`/`<h3>` in document order.\n- Do not use styled `<div>`/`<p>` elements in place of headings.\n- Re-run axe and confirm the outline is sequential with no skipped levels."},{"priority":2,"category":"Accessibility","title":"Give icon buttons an accessible name","impact":"WCAG 4.1.2, Lighthouse accessibility score","problem":"Lighthouse's `button-name` audit scores 0.00 (weight 10) — buttons on the page have no accessible name.","solution":"```html\n<button type=\"button\" aria-label=\"Close cookie banner\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\nUse visible text where possible; `aria-label` only when the control is icon-only."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"Lighthouse's `target-size` audit scores 0.00 (weight 7) — touch targets lack sufficient size or spacing.","solution":"- Ensure every interactive element is ≥44×44 CSS px (or ≥24×24 with adequate spacing per WCAG 2.5.8 AA).\n- Add padding rather than increasing font size:\n```css\n.icon-link { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }\n```"},{"priority":2,"category":"Performance","title":"Stop sending max-age=0 on the HTML document","impact":"Repeat-visit TTFB, caching","problem":"The document response carries `cache-control: max-age=0` with an `expires` equal to the request time, so every navigation revalidates despite WP Rocket being active.","solution":"- In WP Rocket, enable browser caching for HTML with a short TTL (e.g. 600 s) and let the plugin purge on publish.\n- Or set at origin:\n```\nHeader set Cache-Control \"public, max-age=600, s-maxage=3600, stale-while-revalidate=60\"\n```\nKeep `no-cache` only for logged-in or cart pages."},{"priority":2,"category":"Best Practices","title":"Fix srcset entries missing width descriptors","impact":"W3C validity, responsive image selection","problem":"W3C reports 2 errors: `srcset` candidates on the two uploads PNGs specify no width while a `sizes` attribute is present.","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` descriptor when `sizes` is used."},{"priority":2,"category":"Security","title":"Block the WordPress installer and move the login path","impact":"Brute-force and takeover surface","problem":"Security basics reports `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path (both warns).","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Add rate limiting / 2FA on the login endpoint.\n- Optionally front the login with a plugin that renames the path, and keep xmlrpc.php blocked (already passing)."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP and the remaining low-cost headers","impact":"XSS defense-in-depth, referrer leakage, feature exposure","problem":"CSP, Referrer-Policy, Permissions-Policy, COOP and CORP are all missing. Site signals show no auth, payments, user content or commerce, so XSS impact is limited — hence P3 rather than P1.","solution":"Deploy CSP with nonces and `'strict-dynamic'` rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```\nNote WP Rocket's inline scripts will need nonce injection or hashes."},{"priority":3,"category":"Best Practices","title":"Clean up WP Rocket's rocketlazyloadscript markup","impact":"W3C validity","problem":"5 of the 7 W3C errors are `script type=\"text/rocketlazyloadscript\"` elements carrying a `defer` attribute, which is invalid on a non-JavaScript data block.","solution":"- Update WP Rocket to a version that emits valid delay markup, or switch to the native `type=\"module\"`/`defer` combination.\n- Alternatively exclude the affected scripts (cookieyes, iframemanager) from delay-JS execution."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and hide the Server header","impact":"Supply-chain integrity, fingerprinting","problem":"1 of 1 cross-origin scripts (cdn.jsdelivr.net iframemanager) lacks an `integrity` attribute, and the response discloses `Server: Apache / ZoneOS`.","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```apache\nServerSignature Off\nServerTokens Prod\n```"},{"priority":3,"category":"SEO","title":"Add structured data and disambiguate repeated link text","impact":"Rich results, link-purpose clarity","problem":"PSI's modeled `structuredData` audit fails and the JSON-LD block is typed \"Unknown\"; the inventory also lists vague repeated anchors (\"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"contact\" ×2).","solution":"- Emit a valid `Article`/`BlogPosting` JSON-LD block with headline, datePublished, author and image.\n- Disambiguate repeated nav links with `aria-label` or visually-hidden context, e.g. `<a href=\"/en/about/\">About us<span class=\"sr-only\"> — Estply</span></a>`."}],"perfScore":67,"a11yScore":91,"bestPracticesScore":100,"seoScore":100,"securityScore":65,"securityVerdict":"FAILED"},{"url":"https://estply.com/en/kupsiste-poliitika","overall":66,"reasoning":"Mobile PSI is 76 against desktop 98, with LCP 4.5 s mobile vs 1.0 s desktop and FCP 3.63 s vs 810 ms — a large mobile/desktop divergence driven by a lazy-loaded hero image and render-blocking font/CSS work, and this is the dominant drag on the score. Accessibility is mixed: axe-core reports 0 violations across 40 passes (7 color-contrast nodes left undetermined), yet Lighthouse mobile scores 91 and fails `button-name` (weight 10) and `target-size` (weight 7), so real issues exist that axe's rule set did not flag. Security basics verdict is FAILED — HSTS, X-Content-Type-Options and clickjacking protection are all missing, which caps the overall below 90; CSP is held at P3 because the site shows no auth, payments, user-content or commerce signals. SEO sits at 85 with no meta description, two `<h1>` elements and vague repeated link text, and W3C reports 7 errors (5× `text/rocketlazyloadscript` with `defer`, 2× `srcset` missing width descriptors). The ceiling is high — page weight is only 171.9 KB over 21 requests, TBT is 0 ms, CLS is 0.000 and there are no console errors — so fixing LCP and the baseline headers would move this site into the 85+ band.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Stop lazy-loading the hero image and prioritise it for LCP","impact":"LCP (4.5 s mobile), Speed Index, FCP","problem":"The optimized-web checklist fails 'Hero image eagerly loaded': the first image (`6c041c12…png`, 251×134) has `loading=\"lazy\"` and no `fetchpriority`, and mobile LCP is 4.5 s vs 1.0 s on desktop.","solution":"- Remove `loading=\"lazy\"` from the hero and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     fetchpriority=\"high\" decoding=\"async\">\n```\n- Preload it in `<head>` so it is discovered before the CSS/JS chain:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12….png\" fetchpriority=\"high\">\n```\n- Keep `loading=\"lazy\"` only on genuinely below-the-fold images."},{"priority":1,"category":"Performance","title":"Cut render-blocking CSS and font work to fix FCP","impact":"FCP (3.63 s), Speed Index (3.63 s), LCP","problem":"Mobile FCP is 3.63 s while TTFB is only 24 ms, so the delay is in the render path: 4 external stylesheets plus 3 inline blocks (9.6 KB), and 4 Google Fonts files totalling 96.2 KB from fonts.gstatic.com. PSI flags `document-latency-insight` (580 ms est. savings) and `font-display-insight` (40 ms).","solution":"- Self-host Open Sans as WOFF2 and preload only the weights actually used; drop the `fonts.googleapis.com` / `fonts.gstatic.com` origins (2 + 2 requests).\n- Add `font-display: swap` (or `optional`) to every `@font-face`.\n- Inline the critical above-the-fold CSS and defer the rest:\n```html\n<link rel=\"preload\" href=\"/fonts/opensans-var.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n- Reduce the 580 ms document-latency chain by removing unused stylesheet requests and trimming the 9.6 KB of inline CSS."},{"priority":1,"category":"Security","title":"Add the three missing baseline security headers","impact":"Transport security, clickjacking, MIME sniffing","problem":"Security basics verdict is FAILED: Strict-Transport-Security, X-Content-Type-Options and clickjacking protection (X-Frame-Options / CSP `frame-ancestors`) are all reported missing on the response.","solution":"Send from the origin (Apache shown, matching the `Server: Apache / ZoneOS` header):\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\n```\nPrefer `Content-Security-Policy: frame-ancestors 'self'` over X-Frame-Options once CSP is in place, and submit the domain to hstspreload.org after the HSTS max-age is verified."},{"priority":2,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"Lighthouse mobile accessibility is 91 and fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7); axe-core reported 0 violations, so these were missed by its rule set and need manual confirmation.","solution":"- Add a text or `aria-label` to every icon-only button:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8), especially in the nav and cookie banner.\n- Re-run axe plus a keyboard-only pass, since axe left 7 color-contrast nodes undetermined."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, Lighthouse SEO (85)","problem":"The HTML inventory shows `Description: not set` and PSI fails the `meta-description` audit, contributing to the SEO score of 85.","solution":"Add a unique 120–155 character description per page, e.g.:\n```html\n<meta name=\"description\" content=\"Estply cookie policy: what data we collect, how cookies are used, retention periods and your GDPR rights.\">\n```\nGenerate it from the CMS field so the Estonian (`/kupsiste-poliitika/`) and English versions differ."},{"priority":2,"category":"SEO","title":"Fix duplicate h1 and vague link text","impact":"Document outline, Lighthouse `link-text`, screen-reader navigation","problem":"The heading outline contains two `<h1>` elements ('Küpsiste poliitika' and 'Privacy Policy'), and the inventory flags vague repeated link text including 'here' ×2 plus 'about us', 'products', 'contact' repeated.","solution":"- Keep exactly one `<h1>` per page; demote the second to `<h2>` (or remove it if it is a duplicated language label).\n- Replace 'here' links with descriptive text or add an `aria-label`:\n```html\n<a href=\"/en/privacy-policy\" aria-label=\"Read the full privacy policy\">here</a>\n```"},{"priority":2,"category":"Security","title":"Harden the WordPress install paths","impact":"Brute-force and takeover surface","problem":"Security basics reports `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path (both 'warn').","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or front the login with a plugin/WAF rule, add rate limiting and 2FA, and keep `xmlrpc.php` blocked (already passing)."},{"priority":2,"category":"Performance","title":"Let the document be cached","impact":"Repeat-visit TTFB, LCP","problem":"The document response sends `cache-control: max-age=0` with an `expires` equal to the request time, so every navigation revalidates the 78.4 KB HTML despite WP Rocket being active.","solution":"- Raise the HTML cache lifetime and let WP Rocket serve the cached copy:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Keep `max-age=0` only for logged-in or personalised responses."},{"priority":3,"category":"Best Practices","title":"Clear the 7 W3C validation errors","impact":"Markup correctness, lazy-load reliability","problem":"W3C reports 7 errors: 5× a `script type=\"text/rocketlazyloadscript\"` data block carrying `defer` (first at line 21), and 2× `srcset` candidates missing width descriptors on the two `image__img` elements (lines 574 and 594).","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer` is invalid on it — let the plugin rewrite the type at runtime instead of adding `defer` in the markup.\n- Add width descriptors to the `srcset` values, e.g.:\n```html\n<img src=\"…-251x134.png\"\n     srcset=\"…-251x134.png 251w, …-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":3,"category":"Security","title":"Add a nonce-based CSP (deferred — no auth surface today)","impact":"XSS defense-in-depth","problem":"Content-Security-Policy is missing and the security checklist marks both 'CSP present' and 'CSP is strict' as failed. Site signals show no auth, payments, user content or e-commerce, so this is P3 rather than P1.","solution":"When a login or user content is added, deploy a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```\nAlso add `Permissions-Policy`, `Cross-Origin-Opener-Policy: same-origin` and `Cross-Origin-Resource-Policy: same-origin`, and add `integrity` + `crossorigin` to the `cdn.jsdelivr.net` iframemanager script (currently 1 of 1 cross-origin scripts lacks SRI)."},{"priority":3,"category":"Performance","title":"Serve Brotli instead of gzip","impact":"Transfer size, FCP","problem":"The document is compressed with gzip at a 0.273 ratio (78.4 KB decoded → 21.9 KB); Brotli typically saves a further 15–20% on HTML/CSS/JS.","solution":"Enable `brotli` in the server config and keep gzip as fallback:\n```\n<IfModule mod_brotli.c>\n  AddOutputFilterByType BROTLI_COMPRESS text/html text/css application/javascript application/json image/svg+xml\n</IfModule>\n```"}],"perfScore":76,"a11yScore":91,"bestPracticesScore":100,"seoScore":85,"securityScore":65,"securityVerdict":"FAILED"},{"url":"https://estply.com/kupsiste-poliitika","overall":68,"reasoning":"PSI mobile 79 vs desktop 98 is the dominant signal: mobile LCP 4.4 s against desktop 1.0 s and FCP 3.05 s against 807 ms is a >3 s mobile/desktop delta, while TBT 0 ms and CLS 0.000 are clean — so the drag is load latency, not main-thread work. Accessibility scores 91/96 but PSI reports two hard failures (button-name score 0.00 weight 10, target-size score 0.00 weight 7), and SEO 92 is missing a meta description and structured data. Security basics FAILED (HSTS, X-Frame-Options, X-Content-Type-Options all absent), which caps the overall below 90; site signals show no auth, payments, user content or commerce, so CSP is a P3 rather than a P1. W3C reports 7 errors — 5 RocketLazyLoad `script type`/`defer` conflicts and 2 `srcset` candidates missing width descriptors. Confidence is low because the direct fetch returned HTTP 429: axe-core, HTML inventory, browser runtime and the header/caching checks all describe the error document (axe flags `html-has-lang` while W3C sees `lang=\"et\"` on the real page), so those findings are discounted rather than scored against the site.","confidence":"low","fixes":[{"priority":1,"category":"Performance","title":"Stop returning HTTP 429 and cache the document","impact":"TTFB, LCP, availability, crawlability","problem":"The audit fetch of /kupsiste-poliitika returned status 429 with `retry-after: 10` and a 337 B error body; the response has no `cache-control` header and the checklist finds no page-cache plugin or CDN edge cache.","solution":"- Whitelist normal page requests in the rate limiter (the 429 fired on a single first visit) and raise the burst threshold.\n- Enable a page cache / CDN edge cache for anonymous GETs and send explicit caching headers:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Ensure the cookie-policy page is served from cache, not regenerated per request."},{"priority":1,"category":"Performance","title":"Cut mobile LCP (4.4 s) and FCP (3.05 s)","impact":"LCP, FCP, Speed Index, document latency","problem":"PSI mobile LCP is 4.4 s vs 1.0 s on desktop and FCP 3.05 s vs 807 ms; `document-latency-insight` estimates 980 ms of savings and `font-display-insight` 110 ms.","solution":"- Reduce document latency (see the caching fix) — it is the largest single contributor at ~980 ms.\n- Add `font-display: swap` and preload the primary font:\n```html\n<link rel=\"preload\" href=\"/fonts/main.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n```css\n@font-face { font-family: Main; src: url(/fonts/main.woff2) format('woff2'); font-display: swap; }\n```\n- Preconnect to the origin serving the LCP image and serve it as WebP/AVIF with explicit dimensions.\n- Flatten the critical request chain flagged by `network-dependency-tree-insight`."},{"priority":2,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"PSI reports `button-name` at score 0.00 (weight 10) and `target-size` at score 0.00 (weight 7) on mobile.","solution":"- Add visible text or `aria-label` to every button, e.g. `<button aria-label=\"Sulge küpsiste teade\">`.\n- Ensure interactive targets are at least 24×24 px (44×44 px recommended) with adequate spacing:\n```css\n.btn-icon { min-width: 44px; min-height: 44px; }\n```"},{"priority":2,"category":"Security","title":"Add baseline security headers (HSTS, nosniff, frame protection)","impact":"Transport security, MIME sniffing, clickjacking","problem":"Security basics FAILED: Strict-Transport-Security, X-Content-Type-Options and X-Frame-Options / CSP frame-ancestors are all missing on the HTTPS response.","solution":"Send from the origin (Apache shown):\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```\nThen verify preload eligibility at hstspreload.org."},{"priority":2,"category":"SEO","title":"Add meta description and structured data","impact":"Search snippet quality, rich results","problem":"PSI SEO is 92 with `meta-description` and `structured-data` failing; the HTML inventory confirms no description, no Open Graph, no JSON-LD.","solution":"```html\n<meta name=\"description\" content=\"Estply küpsiste poliitika – milliseid küpsiseid me kasutame ja kuidas neid hallata.\">\n<script type=\"application/ld+json\">\n{\"@context\":\"https://schema.org\",\"@type\":\"WebPage\",\"name\":\"Küpsiste poliitika\",\"inLanguage\":\"et\"}\n</script>\n```"},{"priority":2,"category":"Best Practices","title":"Fix the 7 W3C validation errors","impact":"HTML validity, lazy-load reliability, responsive image selection","problem":"W3C reports 7 errors: 5× `script type=\"text/rocketlazyloadscript\"` carrying a `defer` attribute, and 2× `srcset` candidates with no width descriptor while `sizes` is present.","solution":"- RocketLazyLoad rewrites `type` to a data block, which makes `defer` invalid. Exclude these scripts from lazy-load rewriting or drop `defer` on them.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\"...-1024.png\"\n     srcset=\"...-480.png 480w, ...-1024.png 1024w\"\n     sizes=\"(max-width: 600px) 100vw, 1024px\"\n     width=\"1024\" height=\"512\" alt=\"\">\n```"},{"priority":3,"category":"Security","title":"Add a nonce-based CSP (defer until auth or user content exists)","impact":"XSS defense-in-depth","problem":"Content-Security-Policy is missing. Site signals show no auth, payments, user-generated content or e-commerce, so the exploitable surface is minimal today.","solution":"When a login or user content is added, deploy a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```"},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy and COOP/CORP","impact":"Information leakage, feature abuse, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing; the response also discloses `Server: Apache / ZoneOS`.","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\"\nServerTokens Prod\n```"},{"priority":3,"category":"Accessibility","title":"Re-run the accessibility audit against the real page","impact":"Audit validity for WCAG findings","problem":"axe-core ran on the 429 error document and reports `html-has-lang` (serious), `landmark-one-main` and `region`, while W3C sees `lang=\"et\"` on the real page — the two results contradict each other.","solution":"- Re-run axe-core once the rate limit is lifted and confirm whether `html-has-lang`, `landmark-one-main` and `region` still apply.\n- If they do, add `<main>` and wrap the cookie-policy text in it:\n```html\n<main id=\"content\"><h1>Küpsiste poliitika</h1>…</main>\n```\n- Also confirm the `lang=\"et\"` value is correct for the Estonian content (the validator's English heuristic is likely a false positive)."}],"perfScore":79,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":56,"securityVerdict":"FAILED"},{"url":"https://estply.com/kontakt","overall":70,"reasoning":"Mobile PSI is 76 against desktop 95 — a 19-point gap driven almost entirely by LCP 4.2 s and Speed Index 6.25 s on mobile (desktop LCP 0.9 s). TBT 0 ms, CLS 0.009 and lab TTFB 22 ms are all clean, so the performance problem is concentrated in image delivery (611 KB of 732 KB total page weight) and a lazy-loaded hero rather than in scripting or server response. Accessibility is close but not clean: axe reports 0 violations, yet PSI fails `button-name` (weight 10) and `target-size` (weight 7), and 109 contrast nodes are undetermined. Security basics is FAILED — HSTS, CSP, X-Frame-Options and X-Content-Type-Options are all missing, and because the page carries a textarea form (hasUserContent = yes) CSP is a Priority 1 item here. W3C reports 18 errors (12 of them WP Rocket's `text/rocketlazyloadscript` + `defer` pattern) and SEO 92 is docked for a missing meta description.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Make the LCP image eager and high-priority","impact":"LCP, Speed Index, FCP","problem":"Mobile LCP is 4.2 s (desktop 0.9 s) and the optimized-web checklist flags the hero image as `loading=\"lazy\"` with no `fetchpriority`. The heuristic picked a 100×100 thumbnail, so confirm the real LCP element in DevTools first.","solution":"- Identify the true LCP element in DevTools → Performance → LCP.\n- Remove `loading=\"lazy\"` from it and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/hero.webp\" alt=\"…\" width=\"1600\" height=\"900\"\n     fetchpriority=\"high\" decoding=\"async\">\n```\n- Preload it so it is discovered in the initial HTML:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/hero.webp\" fetchpriority=\"high\">\n```\n- Keep `loading=\"lazy\"` only on genuinely below-the-fold images."},{"priority":1,"category":"Security","title":"Add the three missing baseline security headers","impact":"Transport security, clickjacking, MIME sniffing","problem":"Security basics FAILED: Strict-Transport-Security, X-Frame-Options/frame-ancestors and X-Content-Type-Options are all missing, so the page can be framed and downgraded.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```\n- `frame-ancestors 'self'` in the CSP (next fix) supersedes X-Frame-Options once CSP ships.\n- Verify preload eligibility at hstspreload.org before adding `preload`."},{"priority":1,"category":"Security","title":"Ship a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth on a page with a user-input form","problem":"CSP is missing entirely, and the page hosts a contact form with a `<textarea>` (hasUserContent = yes), so injected script would persist into stored content.","solution":"Use nonce + `'strict-dynamic'` rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{RANDOM}' 'strict-dynamic' https:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src https://fonts.gstatic.com; img-src 'self' data:; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; form-action 'self'\n```\n- Roll out in `Content-Security-Policy-Report-Only` first and watch the reports.\n- Note the page loads `cdn.jsdelivr.net` (iframemanager) — allowlist it explicitly or self-host it."},{"priority":1,"category":"Accessibility","title":"Name the unnamed buttons and enlarge touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"PSI fails `button-name` (score 0, weight 10) and `target-size` (score 0, weight 7) on mobile; axe found 0 violations, so these are likely inside the cookie-consent banner or a state axe did not capture.","solution":"- Give every icon-only button an accessible name:\n```html\n<button type=\"button\" aria-label=\"Sulge küpsiste seaded\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\n- Ensure interactive targets are at least 44×44 px with ≥8 px spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```\n- Re-run axe after accepting/dismissing the cookie banner to cover that state."},{"priority":2,"category":"Performance","title":"Cut the 611 KB image payload","impact":"LCP, Speed Index, total page weight","problem":"Images are 611.2 KB of the 732 KB total across 16 requests, and mobile Speed Index is 6.25 s.","solution":"- Serve AVIF with WebP fallback for photographic content.\n- Right-size: the inventory shows 20 distinct srcset widths (100–2561 px) — trim the ladder to the 3–4 widths actually used.\n- Re-check the 100×100 thumbnails; if they render larger, the srcset `sizes` attribute is wrong."},{"priority":2,"category":"Performance","title":"Stop sending cache-control: max-age=0 on the document","impact":"Repeat-visit TTFB, LCP","problem":"The document response carries `cache-control: max-age=0` with `expires` equal to the request time, so nothing is cached by the browser despite WP Rocket being active.","solution":"```\n# HTML: short browser TTL, long edge TTL\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=86400\n\n# Static assets: immutable\nCache-Control: public, max-age=31536000, immutable\n```\n- Confirm WP Rocket's browser-cache setting is not set to \"Disable\"."},{"priority":2,"category":"Performance","title":"Self-host fonts and fix font-display","impact":"FCP, LCP, render-blocking CSS","problem":"`font-display-insight` is a high-priority PSI finding (est. 80 ms) and 3 font files (47.2 KB) load from fonts.gstatic.com via a render-blocking Google Fonts CSS request.","solution":"- Self-host Open Sans (400/600/700) as woff2 with `font-display: swap`.\n- Preload only the weight used above the fold:\n```html\n<link rel=\"preload\" as=\"font\" type=\"font/woff2\"\n      href=\"/fonts/opensans-400.woff2\" crossorigin>\n```\n- Drop the `fonts.googleapis.com` / `fonts.gstatic.com` origins entirely."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet, SEO score","problem":"`meta-description` fails (score 0) and the HTML inventory confirms Description is not set, holding SEO at 92.","solution":"```html\n<meta name=\"description\" content=\"Võta Estplyga ühendust — küsi pakkumist, külasta tehast või leia oma kontaktisik. Vastame tööpäeviti 24 tunni jooksul.\">\n```\n- Keep it 120–155 characters and unique per language version (et/en)."},{"priority":2,"category":"Best Practices","title":"Fix the 18 W3C validation errors","impact":"Markup validity, parser robustness","problem":"W3C reports 18 errors: 12× `script type=\"text/rocketlazyloadscript\"` carrying `defer`, a `charset` meta after the first 1024 bytes, an empty `href` on a dns-prefetch link, `srcset` candidates without width descriptors, and `autocomplete` on hidden inputs.","solution":"- Move `<meta charset=\"utf-8\">` to the very first bytes of `<head>`.\n- Remove the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` or give it a real host.\n- Add width descriptors to every `srcset` candidate when `sizes` is present:\n```html\n<img srcset=\"/a-400.webp 400w, /a-800.webp 800w\" sizes=\"(max-width: 800px) 100vw, 800px\" …>\n```\n- Drop `autocomplete` from `<input type=\"hidden\">` fields.\n- The 12 `text/rocketlazyloadscript` + `defer` errors come from WP Rocket's Delay JS — exclude those scripts from delay execution or update WP Rocket."},{"priority":2,"category":"Accessibility","title":"Verify the 109 undetermined contrast nodes","impact":"WCAG 1.4.3 contrast","problem":"axe could not determine contrast for 109 nodes (alpha, gradients, or overlapping backgrounds), so the 0-violation result is not proof of compliance.","solution":"- Run axe DevTools in-browser and inspect the \"needs review\" contrast list.\n- Check text over images and gradient backgrounds manually with a contrast picker (target ≥4.5:1 for body, ≥3:1 for large text)."},{"priority":2,"category":"Security","title":"Add the remaining hardening headers and SRI","impact":"Referrer leakage, feature abuse, cross-origin isolation, supply chain","problem":"Referrer-Policy, Permissions-Policy, COOP, CORP and X-Permitted-Cross-Domain-Policies are all missing; 1 of 1 cross-origin scripts lacks an `integrity` attribute; the `Server: Apache / ZoneOS` header discloses the stack.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\nHeader unset Server\n```\n- Add SRI to the jsDelivr 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":"SEO","title":"Disambiguate repeated link text and add structured data","impact":"Anchor relevance, rich results","problem":"`structuredData` fails and the JSON-LD block parses as type \"Unknown\"; 9 link texts repeat (\"kontakt\" ×3, \"meist\" ×2, \"tooted\" ×2, etc.).","solution":"- Add `Organization` + `ContactPage` JSON-LD with name, url, telephone, address and `contactPoint`.\n- Disambiguate repeated anchors with `aria-label` or surrounding context, e.g. `<a href=\"/kontakt/\" aria-label=\"Kontakt — Estply AS\">kontakt</a>`."},{"priority":3,"category":"Best Practices","title":"Harden the WordPress install","impact":"Attack surface","problem":"`/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n# Block the installer\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login to a custom path (e.g. via a security plugin) and add rate limiting / 2FA."}],"perfScore":76,"a11yScore":92,"bestPracticesScore":100,"seoScore":92,"securityScore":67,"securityVerdict":"FAILED"}]}