{"url":"https://estply.com/","date":"2026-10-28","siteName":"Avaleht - estply","overall":71,"reasoning":"Site overall 71 is the mean of 5 pages. Scores range 63 (https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks) → 76 (https://estply.com/kontakt). Weakest page: Mobile PSI is 72 against desktop 92 — a 20-point gap driven almost entirely by CLS 0.491 on mobile (desktop 0.143), with the footer element accounting for a 0.481 shift; LCP 2.7 s and Speed Index 4.61 s add further drag. Accessibility is structurally weak despite a clean axe run (1 moderate violation): the page has zero headings of any level (h1–h6 all 0), and PSI flags `button-name` (weight 10) and `target-size` (weight 7) as outright failures. Security basics returned FAILED — HSTS, X-Frame-Options and X-Content-Type-Options are all missing, which caps the score below 90; with no auth, payments, UGC or commerce signals, CSP is a P3 rather than a P1. W3C reports 7 errors (5 from WP Rocket's `text/rocketlazyloadscript` + `defer` combination, 2 from srcset candidates missing width descriptors), and the document ships with `cache-control: max-age=0` despite WP Rocket being present. Confidence is medium because CrUX field values are all 0 ms p75 (no usable field data) and the LCP element could not be identified, so the hero-lazy-load finding is heuristic.","confidence":"low","fixes":[{"priority":1,"category":"Performance","title":"Right-size the mobile hero image and repair srcset/sizes","impact":"LCP (4.7 s mobile), Speed Index, page weight","problem":"The browser downloads a 1.94 MB 3200×1800 WebP for a 360×640 hero slot; images total 2.70 MB of the 2.76 MB page and PSI estimates 276 KiB of image-delivery savings. W3C confirms the markup is broken: `sizes=\"auto\"` on an eager image and srcset candidates with no width descriptor.","solution":"- Give the hero a correct `sizes` and a mobile-first candidate list so a ~360–720 px file is chosen:\n```html\n<img src=\"/img/hero-720.webp\"\n     srcset=\"/img/hero-360.webp 360w, /img/hero-720.webp 720w, /img/hero-1440.webp 1440w\"\n     sizes=\"(max-width: 720px) 100vw, 720px\"\n     width=\"360\" height=\"640\"\n     fetchpriority=\"high\" loading=\"eager\" decoding=\"async\"\n     alt=\"ESTPLY birch plywood production\">\n```\n- Never emit `sizes=\"auto\"` on a non-lazy image; every srcset candidate needs a width descriptor.\n- Re-encode the 3200×1800 source at ~80 quality — 1.94 MB is far above what a hero needs.\n- The hero currently has `alt=\"\"`; give it descriptive alt text if it conveys content."},{"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-Frame-Options/CSP frame-ancestors, and X-Content-Type-Options are all missing, so the page can be framed and downgrade-stripped.","solution":"Send from the origin (Apache syntax):\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 at hstspreload.org once the max-age is confirmed."},{"priority":1,"category":"Accessibility","title":"Name the buttons and enlarge touch targets","impact":"WCAG 4.1.2 (name/role/value), 2.5.8 (target size), PSI accessibility score","problem":"PSI's accessibility score of 91 is dragged down by two zero-scored audits: `button-name` (weight 10) — buttons have no accessible name — and `target-size` (weight 7) — touch targets lack sufficient size/spacing. axe-core's 0 violations do not cover these.","solution":"- Add an accessible name to every icon-only button:\n```html\n<button type=\"button\" aria-label=\"Ava menüü\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with ≥8 px spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Also resolve the 17 color-contrast nodes axe marked incomplete (gradients/alpha) manually."},{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift causing CLS 0.491","impact":"CLS, mobile Performance score","problem":"Mobile CLS is 0.491 (desktop 0.143) with a single footer element responsible for a 0.481 shift — well past the 0.25 heavy-penalty threshold.","solution":"- Reserve space for the footer's late-injected content (cookie banner, iframe manager, or lazily-rendered blocks) with explicit `min-height` on `footer.footer`.\n- If the shift comes from a lazily loaded embed or font swap inside the footer, load it eagerly or set `font-display: optional` for the affected face.\n- Re-measure with Lighthouse mobile after each change; target CLS ≤ 0.1."},{"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":"Send from the origin (Apache shown in the `server` header):\n```\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```\nThen submit the domain to hstspreload.org once the max-age is stable."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP","problem":"The optimized-web checklist fails 'Hero image eagerly loaded': the first raster image (`6c041c12…png`) has `loading=\"lazy\"` and no `fetchpriority`, delaying LCP to 2.7 s on mobile.","solution":"```html\n<img src=\"…/6c041c12fb0c531933532c08c2749a1a836d595a.png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` only on images genuinely below the fold."},{"priority":1,"category":"Accessibility","title":"Add a proper heading structure (currently zero headings)","impact":"WCAG 1.3.1 / 2.4.6, screen-reader navigation, SEO outline","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).","solution":"- Wrap the article title in a single `<h1>`.\n- Mark section titles as `<h2>` and sub-sections as `<h3>`, in document order.\n- Do not skip levels; do not use styled `<div>`s in place of headings."},{"priority":1,"category":"Performance","title":"Eager-load the LCP hero image with high fetchpriority","impact":"LCP, FCP, Speed Index","problem":"The Optimized-Web checklist fails 'Hero image eagerly loaded': the hero PNG (uploads/2026/08/6c041c12…png) has loading=\"lazy\" and no fetchpriority, and mobile LCP is 3.9 s versus 0.8 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- In WP Rocket, exclude the hero from LazyLoad (Media → LazyLoad → Excluded images) or add it to the 'Exclude from LCP/above-the-fold images' list.\n- Add `<link rel=\"preload\" as=\"image\" fetchpriority=\"high\" href=\"…hero.png\">` in `<head>`."},{"priority":1,"category":"Performance","title":"Shorten the document latency and render-blocking chain","impact":"LCP, FCP, TTFB, Speed Index","problem":"PSI flags document-latency-insight (est. 860 ms savings) and render-blocking-insight (est. 590 ms savings); the browser capture shows the document request taking 1.60 s and mobile FCP at 1.82 s.","solution":"- Preload the critical font/CSS and preconnect to the only third-party origin:\n```html\n<link rel=\"preconnect\" href=\"https://cdn.jsdelivr.net\" crossorigin>\n```\n- Inline critical above-the-fold CSS and load the two external stylesheets non-blocking (`media=\"print\" onload=\"this.media='all'\"`).\n- Verify WP Rocket 'Remove Unused CSS' / 'Optimize CSS delivery' is enabled and that the HTML cache is warmed for this URL.\n- Investigate the 1.6 s document response: check for cold-cache misses and any server-side plugin work on the privacy-policy template."},{"priority":1,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2 Name/Role/Value, 2.5.8 Target Size","problem":"PSI accessibility is 91 with `button-name` scoring 0.00 (weight 10) and `target-size` scoring 0.00 (weight 7); axe found 0 violations but could not determine contrast on 7 nodes.","solution":"- Add an accessible name to every icon-only button:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Manually verify the 7 undetermined color-contrast nodes (gradients/alpha) with DevTools contrast checker."},{"priority":1,"category":"Performance","title":"Stop returning 429 to legitimate traffic and put a page cache/CDN in front of the site","impact":"Availability, TTFB, LCP, audit coverage","problem":"The audited URL responded `429 Too Many Requests` with a 337-byte body and `retry-after: 10`, so axe-core, the HTML inventory and the browser runtime captured an error page instead of the cookie policy; the optimized-web checklist also found no WordPress cache plugin or CDN edge cache marker.","solution":"- Raise or remove the rate limit for normal browsing traffic and for monitoring/audit user agents; a single page view should never trip it.\n- Front the site with a page cache or CDN edge cache so repeat requests are served without hitting PHP.\n- Return a real HTML error page (with `lang`, viewport, title) for 429/5xx so crawlers and auditors see meaningful markup.\n- Verify with: `curl -sI https://estply.com/kupsiste-poliitika/ | head -20` — expect `200` and a `cache-control`/`x-cache` header."},{"priority":1,"category":"Security","title":"Add the three failed baseline security headers (HSTS, clickjacking protection, nosniff)","impact":"Transport security, clickjacking, MIME sniffing","problem":"Security basics verdict is FAILED: Strict-Transport-Security, X-Frame-Options / CSP frame-ancestors, and X-Content-Type-Options are all reported missing on the response.","solution":"Send these from the origin (Apache shown; the response already discloses `Server: Apache / ZoneOS`):\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```\n- Prefer `Content-Security-Policy: frame-ancestors 'self'` once CSP is deployed; keep X-Frame-Options as the fallback for older browsers.\n- Verify preload-list eligibility at hstspreload.org after the header is live."},{"priority":1,"category":"Performance","title":"Make the LCP image eager and discoverable","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 3.9 s vs 1.0 s on desktop, and the optimized-web checklist fails \"Hero image eagerly loaded\": the hero (cz5i9178-100x100.webp) has `loading=\"lazy\"` and no `fetchpriority`. PSI additionally flags `lcp-discovery-insight` and `document-latency-insight` (est. 1,170 ms savings) as high priority.","solution":"- Remove `loading=\"lazy\"` from the hero and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/10/hero.webp\"\n     srcset=\"… 800w, … 1600w\" sizes=\"100vw\"\n     width=\"1600\" height=\"900\"\n     fetchpriority=\"high\" decoding=\"async\" alt=\"…\">\n```\n- Preload it in `<head>`: `<link rel=\"preload\" as=\"image\" href=\"…hero.webp\" imagesrcset=\"…\" imagesizes=\"100vw\" fetchpriority=\"high\">`\n- Keep `loading=\"lazy\"` on everything below the fold (already correct for the other 21 images).\n- Investigate the 1,170 ms document-latency saving — check whether WP Rocket's page cache is warm for `/kontakt/` and whether the HTML can be served from CDN edge."},{"priority":1,"category":"Accessibility","title":"Give icon buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2 Name/Role/Value, 2.5.8 Target Size","problem":"PSI accessibility fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) on mobile, even though axe-core reported 0 violations — the Lighthouse failures are real and the two tools disagree.","solution":"- Add an accessible name to every button that only contains an icon or SVG:\n```html\n<button type=\"button\" aria-label=\"Sulge\"><svg aria-hidden=\"true\" focusable=\"false\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Re-run Lighthouse mobile after the change to confirm both audits move off 0.00."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, PSI SEO score","problem":"The document has no meta description — PSI's `meta-description` audit scores 0 and the HTML inventory confirms `Description: not set`.","solution":"Add a 140–160 character description in the site's language (et), e.g.:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaal — Baltikumi uusim vineeritehas, Lemeks Grupi tütarettevõte.\">\n```\nAlso add a matching `og:description`."},{"priority":2,"category":"Performance","title":"Break up the render-blocking dependency chain","impact":"FCP, LCP, Speed Index","problem":"PSI's `render-blocking-insight` estimates 580 ms of savings and `network-dependency-tree-insight` scores 0, with Speed Index at 3.72 s on mobile.","solution":"- Inline the critical above-the-fold CSS and defer the two external stylesheets.\n- Preload the hero image and the primary font:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/img/hero-720.webp\" imagesrcset=\"/img/hero-360.webp 360w, /img/hero-720.webp 720w\" imagesizes=\"(max-width: 720px) 100vw, 720px\" fetchpriority=\"high\">\n<link rel=\"preload\" as=\"font\" type=\"font/woff2\" href=\"/fonts/open-sans-regular.woff2\" crossorigin>\n```\n- Audit the 19 scripts — WP Rocket already defers 2; confirm the rest are not chained."},{"priority":2,"category":"Security","title":"Deploy a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing entirely. The site is WordPress with a reachable admin login and the audit flagged a user-content signal (anchor href containing \"upload\"), so a script-injection foothold would be worth stealing.","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```\nRoll it out in report-only mode first, then enforce. `frame-ancestors 'self'` also closes the clickjacking gap."},{"priority":2,"category":"Security","title":"Harden the WordPress entry points","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":"```apache\n# Block the installer\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Put `/wp-login.php` behind rate limiting or a WAF rule, or front it with HTTP basic auth.\n- Add `Permissions-Policy: camera=(), microphone=(), geolocation=()` and `Cross-Origin-Opener-Policy: same-origin` while you are in the vhost."},{"priority":2,"category":"Best Practices","title":"Fix the 11 W3C validation errors","impact":"Markup correctness, image selection, validator score","problem":"W3C reports 11 errors: 5× `defer` on `type=\"text/rocketlazyloadscript\"` data blocks, an empty `href` on a dns-prefetch link, `src` on a `<source>` element, `sizes=\"auto\"` on an eager image, and two srcset candidates missing width descriptors.","solution":"- Remove `defer` from the RocketLazyload data-block scripts (they are not executable JS).\n- Drop the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` or give it a real hostname.\n- Replace `<source src=\"data:image/svg+xml,…\">` with a proper `<img>` fallback.\n- Fix the srcset/sizes pairs flagged at lines 295, 306, 786 and 806 (see the hero-image fix above)."},{"priority":2,"category":"Accessibility","title":"Give buttons and icon controls accessible names","impact":"WCAG 4.1.2, PSI accessibility score","problem":"PSI accessibility fails `button-name` (score 0.00, weight 10) — buttons on the page have no accessible name.","solution":"- Add visible text or `aria-label` to every `<button>`:\n```html\n<button type=\"button\" aria-label=\"Open search\">…</button>\n```\n- For icon-only controls, pair the label with `aria-hidden=\"true\"` on the SVG."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"PSI fails `target-size` (score 0.00, weight 7) — touch targets lack sufficient size or spacing on mobile.","solution":"- Ensure every interactive element is at least 24×24 CSS px (WCAG 2.5.8 minimum) and ideally 44×44.\n- Add padding rather than enlarging the icon glyph:\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 cache-control: max-age=0 on the document","impact":"Repeat-visit TTFB, document latency","problem":"The response sets `cache-control: max-age=0` even though WP Rocket is detected, and PSI's document-latency insight estimates 2,590 ms of savings; the browser runtime shows the document taking 2.46 s and 1.67 s.","solution":"- In WP Rocket, enable page caching for this post type and confirm the `Cache-Control` header becomes something like `max-age=600, must-revalidate` for anonymous visitors.\n- Verify the cache is warmed for the canonical URL after deploy.\n- Ensure logged-in / dynamic regions bypass the cache rather than disabling it site-wide."},{"priority":2,"category":"Best Practices","title":"Fix invalid srcset candidates missing width descriptors","impact":"W3C validation, responsive image selection","problem":"W3C reports 2 errors: srcset values on the two `<img>` elements 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```\nApply the same to the second image (`f2870486….png`)."},{"priority":2,"category":"Best Practices","title":"Remove defer from WP Rocket's data-block script tags","impact":"W3C validation (5 of 7 errors)","problem":"W3C reports 5 errors: `<script type=\"text/rocketlazyloadscript\" … defer>` — a data block must not carry `defer`.","solution":"- In WP Rocket → File Optimization → Lazy Load, disable the 'delay JS execution' / rocketlazyloadscript rewriting for these tags, or exclude the affected scripts (cookieyes, etc.).\n- Alternatively, whitelist the script so it is emitted as a normal `<script type=\"text/javascript\" defer>`."},{"priority":2,"category":"Accessibility","title":"Add meaningful alt text to the two content images","impact":"WCAG 1.1.1, image SEO","problem":"Both raster images on the page carry `alt=\"\"`; on an article about veneer quality classes these are almost certainly content images, not decoration.","solution":"- Replace `alt=\"\"` with a short description of what the image shows (e.g. the veneer grade being illustrated).\n- Keep `alt=\"\"` only for genuinely decorative images."},{"priority":2,"category":"Security","title":"Add HSTS, X-Content-Type-Options and clickjacking protection","impact":"Transport security, MIME sniffing, clickjacking","problem":"Security basics FAILED: Strict-Transport-Security, X-Content-Type-Options and X-Frame-Options/frame-ancestors are all missing from the response headers.","solution":"Send from the origin (Apache shown in the `server` header):\n```\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set Content-Security-Policy \"frame-ancestors 'self'\"\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":2,"category":"SEO","title":"Replace vague link text and collapse duplicate H1s","impact":"Link purpose (WCAG 2.4.4), document outline, SEO","problem":"The inventory reports 2 `<h1>` elements ('Küpsiste poliitika' and 'Privacy Policy') plus repeated vague link text ('here' ×2, 'code of conduct' ×3, 'about us' ×2); PSI's `link-text` audit also fails with 2 links.","solution":"- Keep exactly one `<h1>` per page; demote the second to `<h2>` or remove it.\n- Rewrite vague anchors to describe the destination:\n```html\n<!-- before --><a href=\"/en/code-of-conduct\">here</a>\n<!-- after --> <a href=\"/en/code-of-conduct\">Read the Estply code of conduct</a>\n```\n- Where the visible text must stay short, add `aria-label` with the full purpose."},{"priority":2,"category":"Performance","title":"Stop sending max-age=0 on the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response carries `cache-control: max-age=0` with an `expires` timestamp equal to the request time, forcing revalidation on every navigation despite WP Rocket being active.","solution":"- Confirm WP Rocket page caching is actually serving this URL (the browser capture shows a 1.60 s document fetch, suggesting a cache miss).\n- Exclude logged-out policy pages from any 'no-cache' rule and let the CDN/page cache serve them with a positive `max-age` plus `s-maxage`."},{"priority":2,"category":"Performance","title":"Cut mobile LCP from 3.8 s by removing render-blocking work","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 3.8 s (desktop 0.8 s) with `render-blocking-insight` estimating 580 ms of savings, `document-latency-insight` 590 ms, and `unused-css-rules` 32 KiB.","solution":"- Inline critical above-the-fold CSS and load the rest non-blocking:\n```html\n<link rel=\"preload\" href=\"/wp-content/themes/x/style.css\" as=\"style\" onload=\"this.rel='stylesheet'\">\n```\n- Add `defer` to non-critical theme/plugin scripts currently in `<head>`.\n- Preload the LCP image and serve it as WebP/AVIF with `fetchpriority=\"high\"`.\n- Purge unused CSS (32 KiB reported) via your build step or an unused-CSS plugin."},{"priority":2,"category":"Accessibility","title":"Give buttons and icon links accessible names and enlarge touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"PSI accessibility audits `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) both fail on mobile, and the SEO `tapTargets` audit fails too.","solution":"- Add visible text or `aria-label` to every button, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 44×44 px with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```"},{"priority":2,"category":"Accessibility","title":"Set a correct lang attribute on every page, including error pages","impact":"WCAG 3.1.1 language of page","problem":"axe-core reports a serious `html-has-lang` violation (the captured 429 page had no `lang`), while the W3C validator saw `lang=\"et\"` on the real page but flagged that the document appears to be in English.","solution":"- Ensure the template always emits `<html lang=\"et\">` (the site is Estonian — `kupsiste-poliitika` = cookie policy) and that the error/429 template does too.\n- If any page is genuinely English, switch that page's `lang` to `en` rather than relying on the validator's heuristic."},{"priority":2,"category":"SEO","title":"Add a meta description and structured data","impact":"SEO score (92), SERP snippet quality","problem":"PSI SEO is 92 with `meta-description` scoring 0.00 and `structuredData` failing; the HTML inventory also shows 0 Open Graph and 0 Twitter tags on the captured document.","solution":"```html\n<meta name=\"description\" content=\"Estply privaatsuspoliitika – kuidas me töötleme ja kaitseme teie isikuandmeid.\">\n```\n- Add `Organization` / `WebSite` JSON-LD sitewide and `WebPage` on this page.\n- Add `og:title`, `og:description`, `og:image` for social sharing."},{"priority":2,"category":"Security","title":"Deploy a nonce-based CSP plus Referrer-Policy and Permissions-Policy","impact":"XSS defense-in-depth, referrer leakage, feature abuse","problem":"Content-Security-Policy, Referrer-Policy and Permissions-Policy are all missing. The inferred `hasUserContent` signal comes from the contact form's `<textarea>`, not persisted public content, so this is calibrated to Priority 2 rather than Priority 1.","solution":"- Use nonce + `'strict-dynamic'` 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'; form-action 'self'\n```\n- WP Rocket injects inline scripts (`text/rocketlazyloadscript`), so generate the nonce in PHP and whitelist it on those tags.\n- Add the cheap ones now:\n```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=()\n```"},{"priority":2,"category":"Performance","title":"Fix document caching (Cache-Control: max-age=0)","impact":"Repeat-visit TTFB, LCP","problem":"The HTML document is served with `cache-control: max-age=0` and an `expires` value equal to the request time, so every navigation revalidates the full 172.8 KB decoded document despite WP Rocket being active.","solution":"- Let WP Rocket serve a browser-cacheable document, e.g. `Cache-Control: public, max-age=600, stale-while-revalidate=60`.\n- Keep `max-age=0` only for logged-in or form-submission responses.\n- Confirm the CDN/ZoneOS edge is caching `/kontakt/` and that the cache is warmed after deploy."},{"priority":2,"category":"Best Practices","title":"Resolve the 18 W3C validation errors","impact":"Markup correctness, parser robustness","problem":"W3C reports 18 errors and 24 warnings, dominated by 12× `script type=\"text/rocketlazyloadscript\"` carrying a `defer` attribute, plus an empty `href` on a dns-prefetch link, two `srcset` candidates with no width descriptor, and a `charset` meta placed after the first 1024 bytes.","solution":"- The 12 rocketlazyloadscript errors are a WP Rocket pattern; either drop `defer` from those data-block scripts or move the lazy-load rewrite to a real `type=\"text/javascript\"` tag emitted at runtime.\n- Remove the empty prefetch: `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` → delete or give it a real origin.\n- Add width descriptors to the two offending `srcset` values (lines ~1617 and ~1637): `srcset=\"…png 300w, …png 600w\"`.\n- Move `<meta charset=\"utf-8\">` into the first 1024 bytes of `<head>`."},{"priority":3,"category":"Performance","title":"Improve document caching and switch to Brotli","impact":"Repeat-visit TTFB, transfer size","problem":"The HTML document is served with `cache-control: max-age=0` and compression is gzip (ratio 0.246) rather than Brotli.","solution":"- Let WP Rocket serve a short but non-zero HTML TTL, e.g. `Cache-Control: public, max-age=600, s-maxage=86400`.\n- Enable Brotli at the CDN/edge (`brotli on;` in nginx, or the CDN's Brotli toggle) — typically 15–20% smaller than gzip on HTML/CSS."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated vague link text","impact":"WCAG 2.4.4 (link purpose), screen-reader navigation","problem":"The inventory finds repeated identical link text: \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2, \"liitu meiega\" ×2, \"käitumiskoodeks\" ×3, \"tehase külastaja meelespea\" ×2.","solution":"Add context via `aria-label` or visually hidden text:\n```html\n<a href=\"/ettevottest\">Meist<span class=\"sr-only\"> — ESTPLY ettevõtte tutvustus</span></a>\n```"},{"priority":3,"category":"Security","title":"Add Subresource Integrity and trim header disclosure","impact":"Supply-chain risk, fingerprinting","problem":"The single cross-origin script (`cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0`) has no `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- Generate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`.\n- Strip or genericise the `Server` header (`ServerTokens Prod`)."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP (low urgency for this site shape)","impact":"XSS defense-in-depth","problem":"Content-Security-Policy is missing. Site signals show no auth, payments, user content or commerce, so the exploitable XSS surface is minimal — hence 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: 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":"Privacy leakage, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing from the response.","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\"\n```"},{"priority":3,"category":"Security","title":"Add SRI to the jsdelivr script and hide the Server header","impact":"Supply-chain integrity, technology disclosure","problem":"1 of 1 cross-origin scripts (cdn.jsdelivr.net iframemanager) lacks an `integrity` attribute, and the response discloses `Server: Apache / ZoneOS`.","solution":"- Add `integrity=\"sha384-…\" crossorigin=\"anonymous\"` to the jsdelivr `<script>` tag, or self-host the file.\n- Suppress the version banner: `ServerTokens Prod` and `ServerSignature Off` in Apache."},{"priority":3,"category":"Security","title":"Harden WordPress entry points","impact":"Brute-force and takeover surface","problem":"Security basics flags two WordPress warnings: `/wp-admin/install.php` is reachable and the login form is on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login form behind a custom path or add rate limiting / 2FA."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text and validate structured data","impact":"Anchor-text relevance, rich results","problem":"Repeated vague anchors ('code of conduct' ×3, 'about us' ×2, 'products' ×2, 'contact' ×2) and PSI's modeled SEO audit flags `structuredData`; the single JSON-LD block is typed 'Unknown'.","solution":"- Give each repeated link a distinct accessible name via visible text or `aria-label`.\n- Replace the untyped JSON-LD block with a valid `Article`/`BlogPosting` schema including `headline`, `datePublished`, `author` and `image`."},{"priority":3,"category":"Best Practices","title":"Fix the 7 W3C validation errors","impact":"HTML validity, spec conformance","problem":"W3C reports 7 errors and 2 warnings: 5× `script type=\"text/rocketlazyloadscript\"` combined with `defer`, and 2× `srcset` candidates missing width descriptors while `sizes` is present.","solution":"- WP Rocket's delayed-JS type is a data block, so `defer` is invalid on it — remove `defer` from those tags or let WP Rocket inject the script without the attribute.\n- Add width descriptors to the two `srcset` values:\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":"Close remaining WordPress hardening gaps","impact":"Attack surface, information disclosure","problem":"Security basics warns that `/wp-admin/install.php` is reachable, the login form is on the default `/wp-login.php` path, and the `server` header discloses `Apache / ZoneOS`.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (custom login slug + rate limiting / 2FA).\n- Strip or genericise the `Server` header (`ServerTokens Prod`, `Header unset X-Powered-By`)."},{"priority":3,"category":"Accessibility","title":"Manually verify the 7 undetermined contrast nodes","impact":"WCAG 1.4.3 Contrast","problem":"axe-core returned 0 violations but flagged 7 nodes where it could not compute contrast (alpha transparency or gradients), so contrast compliance is unconfirmed.","solution":"- Inspect each flagged node in DevTools and confirm ≥4.5:1 for body text and ≥3:1 for large text.\n- Re-run axe with the browser extension after any theme color changes to confirm the incomplete results clear."},{"priority":3,"category":"Accessibility","title":"Add main/nav landmarks and a skip link","impact":"WCAG 1.3.1, 2.4.1 bypass blocks","problem":"axe-core flags `landmark-one-main` and `region` (content in `h1`, `p`, `address` outside landmarks), and the HTML inventory found no `nav`, `main`, `header` or `footer` and no skip-to-content link.","solution":"- Wrap the page in `<header>`, `<nav>`, `<main id=\"main\">`, `<footer>`.\n- Add a skip link as the first focusable element:\n```html\n<a class=\"skip-link\" href=\"#main\">Liigu põhisisu juurde</a>\n```\n- Note: these were measured on the 429 error page — re-run the audit once the rate limit is lifted to confirm on the real template."},{"priority":3,"category":"Performance","title":"Set an explicit Cache-Control policy on HTML responses","impact":"Repeat-visit TTFB, CDN hit rate","problem":"The response carried no `cache-control`, `etag`, `last-modified` or `expires` header, which the header audit flags as a weak caching policy (measured on the 429 response, so re-verify on a 200).","solution":"```\n# HTML: short cache with revalidation\nHeader set Cache-Control \"public, max-age=600, stale-while-revalidate=60\"\n# Static assets: long cache with hashed filenames\nHeader set Cache-Control \"public, max-age=31536000, immutable\"\n```"},{"priority":3,"category":"Accessibility","title":"Manually verify the 109 unresolved color-contrast nodes","impact":"WCAG 1.4.3 Contrast (Minimum)","problem":"axe-core returned 0 violations but marked 109 nodes as \"incomplete\" for color-contrast, meaning it could not compute the ratio (alpha, gradients or overlapping backgrounds) — this is unverified, not passing.","solution":"- Run a contrast check in DevTools on the flagged nodes, especially text over images and gradient sections.\n- Target ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold).\n- Where text sits on photos, add a solid overlay or scrim rather than relying on the image."},{"priority":3,"category":"SEO","title":"Fix structured data and disambiguate repeated link text","impact":"Rich results eligibility, anchor-text quality","problem":"PSI fails the `structuredData` audit and the single JSON-LD block is typed \"Unknown\"; the page also repeats vague anchors (\"kontakt\" ×3, \"meist\" ×2, \"tooted\" ×2, \"info@estply.com\" ×2).","solution":"- Replace the untyped JSON-LD with a valid `Organization` + `ContactPage` graph including `name`, `url`, `telephone`, `address` and `contactPoint`.\n- Disambiguate repeated anchors with `aria-label` or surrounding context, e.g. `<a href=\"/meist\" aria-label=\"Meist — Estply ettevõttest\">meist</a>`."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and trim remaining header gaps","impact":"Supply-chain integrity, info disclosure","problem":"1 of 1 cross-origin scripts (iframemanager from cdn.jsdelivr.net) lacks an `integrity` attribute, the response discloses `Server: Apache / ZoneOS`, and COOP/CORP/X-Permitted-Cross-Domain-Policies are unset.","solution":"- Pin and hash the third-party 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```\n- Or self-host the 3 KB file to remove the third-party origin entirely.\n- Strip or genericise the `Server` header at the proxy.\n- Add `Cross-Origin-Opener-Policy: same-origin` and `X-Permitted-Cross-Domain-Policies: none`."},{"priority":3,"category":"Performance","title":"Close the remaining image-delivery and compression gaps","impact":"Page weight, transfer size","problem":"Images account for 611.2 KB of the 682.9 KB page, PSI's `image-delivery-insight` still estimates 51 KiB of savings, and the document is served with gzip rather than brotli.","solution":"- Audit the largest remaining images for over-sized dimensions (the srcset exposes 20 widths up to 2561 px — cap the top end at what the layout actually needs).\n- Enable brotli at the ZoneOS/CDN layer; gzip currently yields a 0.183 ratio on a 172.8 KB document.\n- Keep the existing WebP + srcset + explicit-dimension setup — it is already correct on 22/22 images."}],"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":82,"perfDesktop":96,"lcpMobileMs":4651,"lcpDesktopMs":1141,"clsMobile":0,"clsDesktop":0.002631774959014596},{"pageUrl":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","perfMobile":72,"perfDesktop":92,"lcpMobileMs":2716.692,"lcpDesktopMs":865.6525800000002,"clsMobile":0.4910331611373498,"clsDesktop":0.1425412383456849},{"pageUrl":"https://estply.com/en/kupsiste-poliitika","perfMobile":87,"perfDesktop":99,"lcpMobileMs":3871.6447875000003,"lcpDesktopMs":818.0076799999997,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/kupsiste-poliitika","perfMobile":88,"perfDesktop":99,"lcpMobileMs":3770.5687800000005,"lcpDesktopMs":843,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/kontakt","perfMobile":87,"perfDesktop":99,"lcpMobileMs":3854.8667099999993,"lcpDesktopMs":965.5029374999999,"clsMobile":0,"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":70,"reasoning":"PSI mobile 82 / desktop 96 with clean CLS (0.000), TBT (0 ms) and TTFB (3 ms), but mobile LCP is 4.7 s against 1.1 s on desktop — a 3.6 s delta driven by a single 1.94 MB 3200×1800 hero WebP being fetched for a 360×640 slot (images are 2.70 MB of the 2.76 MB page). The srcset/sizes markup exists but is malformed — W3C flags `sizes=\"auto\"` on an eager image and width-descriptor candidates with no width — which is why the browser over-fetches. Accessibility is close: axe-core reports 0 violations across 40 passes, yet PSI's 91 comes from two zero-scored audits, `button-name` (weight 10) and `target-size` (weight 7), plus 17 contrast nodes axe could not resolve. Security basics FAILED (HSTS, X-Frame-Options/frame-ancestors, X-Content-Type-Options all missing), which caps the score below 90, and the meta description is absent. W3C's 11 errors and the document's `cache-control: max-age=0` are minor drags on top. Overall 70 — solid engineering (CDN, gzip, lazy-loading, alt text, dimensions, HTTPS redirect, mostly-clean WordPress hardening) undermined by one oversized hero image and missing baseline headers.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Right-size the mobile hero image and repair srcset/sizes","impact":"LCP (4.7 s mobile), Speed Index, page weight","problem":"The browser downloads a 1.94 MB 3200×1800 WebP for a 360×640 hero slot; images total 2.70 MB of the 2.76 MB page and PSI estimates 276 KiB of image-delivery savings. W3C confirms the markup is broken: `sizes=\"auto\"` on an eager image and srcset candidates with no width descriptor.","solution":"- Give the hero a correct `sizes` and a mobile-first candidate list so a ~360–720 px file is chosen:\n```html\n<img src=\"/img/hero-720.webp\"\n     srcset=\"/img/hero-360.webp 360w, /img/hero-720.webp 720w, /img/hero-1440.webp 1440w\"\n     sizes=\"(max-width: 720px) 100vw, 720px\"\n     width=\"360\" height=\"640\"\n     fetchpriority=\"high\" loading=\"eager\" decoding=\"async\"\n     alt=\"ESTPLY birch plywood production\">\n```\n- Never emit `sizes=\"auto\"` on a non-lazy image; every srcset candidate needs a width descriptor.\n- Re-encode the 3200×1800 source at ~80 quality — 1.94 MB is far above what a hero needs.\n- The hero currently has `alt=\"\"`; give it descriptive alt text if it conveys content."},{"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-Frame-Options/CSP frame-ancestors, and X-Content-Type-Options are all missing, so the page can be framed and downgrade-stripped.","solution":"Send from the origin (Apache syntax):\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 at hstspreload.org once the max-age is confirmed."},{"priority":1,"category":"Accessibility","title":"Name the buttons and enlarge touch targets","impact":"WCAG 4.1.2 (name/role/value), 2.5.8 (target size), PSI accessibility score","problem":"PSI's accessibility score of 91 is dragged down by two zero-scored audits: `button-name` (weight 10) — buttons have no accessible name — and `target-size` (weight 7) — touch targets lack sufficient size/spacing. axe-core's 0 violations do not cover these.","solution":"- Add an accessible name to every icon-only button:\n```html\n<button type=\"button\" aria-label=\"Ava menüü\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with ≥8 px spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Also resolve the 17 color-contrast nodes axe marked incomplete (gradients/alpha) manually."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, PSI SEO score","problem":"The document has no meta description — PSI's `meta-description` audit scores 0 and the HTML inventory confirms `Description: not set`.","solution":"Add a 140–160 character description in the site's language (et), e.g.:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaal — Baltikumi uusim vineeritehas, Lemeks Grupi tütarettevõte.\">\n```\nAlso add a matching `og:description`."},{"priority":2,"category":"Performance","title":"Break up the render-blocking dependency chain","impact":"FCP, LCP, Speed Index","problem":"PSI's `render-blocking-insight` estimates 580 ms of savings and `network-dependency-tree-insight` scores 0, with Speed Index at 3.72 s on mobile.","solution":"- Inline the critical above-the-fold CSS and defer the two external stylesheets.\n- Preload the hero image and the primary font:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/img/hero-720.webp\" imagesrcset=\"/img/hero-360.webp 360w, /img/hero-720.webp 720w\" imagesizes=\"(max-width: 720px) 100vw, 720px\" fetchpriority=\"high\">\n<link rel=\"preload\" as=\"font\" type=\"font/woff2\" href=\"/fonts/open-sans-regular.woff2\" crossorigin>\n```\n- Audit the 19 scripts — WP Rocket already defers 2; confirm the rest are not chained."},{"priority":2,"category":"Security","title":"Deploy a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing entirely. The site is WordPress with a reachable admin login and the audit flagged a user-content signal (anchor href containing \"upload\"), so a script-injection foothold would be worth stealing.","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```\nRoll it out in report-only mode first, then enforce. `frame-ancestors 'self'` also closes the clickjacking gap."},{"priority":2,"category":"Security","title":"Harden the WordPress entry points","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":"```apache\n# Block the installer\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Put `/wp-login.php` behind rate limiting or a WAF rule, or front it with HTTP basic auth.\n- Add `Permissions-Policy: camera=(), microphone=(), geolocation=()` and `Cross-Origin-Opener-Policy: same-origin` while you are in the vhost."},{"priority":2,"category":"Best Practices","title":"Fix the 11 W3C validation errors","impact":"Markup correctness, image selection, validator score","problem":"W3C reports 11 errors: 5× `defer` on `type=\"text/rocketlazyloadscript\"` data blocks, an empty `href` on a dns-prefetch link, `src` on a `<source>` element, `sizes=\"auto\"` on an eager image, and two srcset candidates missing width descriptors.","solution":"- Remove `defer` from the RocketLazyload data-block scripts (they are not executable JS).\n- Drop the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` or give it a real hostname.\n- Replace `<source src=\"data:image/svg+xml,…\">` with a proper `<img>` fallback.\n- Fix the srcset/sizes pairs flagged at lines 295, 306, 786 and 806 (see the hero-image fix above)."},{"priority":3,"category":"Performance","title":"Improve document caching and switch to Brotli","impact":"Repeat-visit TTFB, transfer size","problem":"The HTML document is served with `cache-control: max-age=0` and compression is gzip (ratio 0.246) rather than Brotli.","solution":"- Let WP Rocket serve a short but non-zero HTML TTL, e.g. `Cache-Control: public, max-age=600, s-maxage=86400`.\n- Enable Brotli at the CDN/edge (`brotli on;` in nginx, or the CDN's Brotli toggle) — typically 15–20% smaller than gzip on HTML/CSS."},{"priority":3,"category":"Accessibility","title":"Disambiguate repeated vague link text","impact":"WCAG 2.4.4 (link purpose), screen-reader navigation","problem":"The inventory finds repeated identical link text: \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2, \"liitu meiega\" ×2, \"käitumiskoodeks\" ×3, \"tehase külastaja meelespea\" ×2.","solution":"Add context via `aria-label` or visually hidden text:\n```html\n<a href=\"/ettevottest\">Meist<span class=\"sr-only\"> — ESTPLY ettevõtte tutvustus</span></a>\n```"},{"priority":3,"category":"Security","title":"Add Subresource Integrity and trim header disclosure","impact":"Supply-chain risk, fingerprinting","problem":"The single cross-origin script (`cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0`) has no `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- Generate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`.\n- Strip or genericise the `Server` header (`ServerTokens Prod`)."}],"perfScore":82,"a11yScore":91,"bestPracticesScore":81,"seoScore":92,"securityScore":65,"securityVerdict":"FAILED"},{"url":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","overall":63,"reasoning":"Mobile PSI is 72 against desktop 92 — a 20-point gap driven almost entirely by CLS 0.491 on mobile (desktop 0.143), with the footer element accounting for a 0.481 shift; LCP 2.7 s and Speed Index 4.61 s add further drag. Accessibility is structurally weak despite a clean axe run (1 moderate violation): the page has zero headings of any level (h1–h6 all 0), and PSI flags `button-name` (weight 10) and `target-size` (weight 7) as outright failures. Security basics returned FAILED — HSTS, X-Frame-Options and X-Content-Type-Options are all missing, which caps the score below 90; with no auth, payments, UGC or commerce signals, CSP is a P3 rather than a P1. W3C reports 7 errors (5 from WP Rocket's `text/rocketlazyloadscript` + `defer` combination, 2 from srcset candidates missing width descriptors), and the document ships with `cache-control: max-age=0` despite WP Rocket being present. Confidence is medium because CrUX field values are all 0 ms p75 (no usable field data) and the LCP element could not be identified, so the hero-lazy-load finding is heuristic.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift causing CLS 0.491","impact":"CLS, mobile Performance score","problem":"Mobile CLS is 0.491 (desktop 0.143) with a single footer element responsible for a 0.481 shift — well past the 0.25 heavy-penalty threshold.","solution":"- Reserve space for the footer's late-injected content (cookie banner, iframe manager, or lazily-rendered blocks) with explicit `min-height` on `footer.footer`.\n- If the shift comes from a lazily loaded embed or font swap inside the footer, load it eagerly or set `font-display: optional` for the affected face.\n- Re-measure with Lighthouse mobile after each change; target CLS ≤ 0.1."},{"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":"Send from the origin (Apache shown in the `server` header):\n```\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```\nThen submit the domain to hstspreload.org once the max-age is stable."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP","problem":"The optimized-web checklist fails 'Hero image eagerly loaded': the first raster image (`6c041c12…png`) has `loading=\"lazy\"` and no `fetchpriority`, delaying LCP to 2.7 s on mobile.","solution":"```html\n<img src=\"…/6c041c12fb0c531933532c08c2749a1a836d595a.png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` only on images genuinely below the fold."},{"priority":1,"category":"Accessibility","title":"Add a proper heading structure (currently zero headings)","impact":"WCAG 1.3.1 / 2.4.6, screen-reader navigation, SEO outline","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).","solution":"- Wrap the article title in a single `<h1>`.\n- Mark section titles as `<h2>` and sub-sections as `<h3>`, in document order.\n- Do not skip levels; do not use styled `<div>`s in place of headings."},{"priority":2,"category":"Accessibility","title":"Give buttons and icon controls accessible names","impact":"WCAG 4.1.2, PSI accessibility score","problem":"PSI accessibility fails `button-name` (score 0.00, weight 10) — buttons on the page have no accessible name.","solution":"- Add visible text or `aria-label` to every `<button>`:\n```html\n<button type=\"button\" aria-label=\"Open search\">…</button>\n```\n- For icon-only controls, pair the label with `aria-hidden=\"true\"` on the SVG."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"PSI fails `target-size` (score 0.00, weight 7) — touch targets lack sufficient size or spacing on mobile.","solution":"- Ensure every interactive element is at least 24×24 CSS px (WCAG 2.5.8 minimum) and ideally 44×44.\n- Add padding rather than enlarging the icon glyph:\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 cache-control: max-age=0 on the document","impact":"Repeat-visit TTFB, document latency","problem":"The response sets `cache-control: max-age=0` even though WP Rocket is detected, and PSI's document-latency insight estimates 2,590 ms of savings; the browser runtime shows the document taking 2.46 s and 1.67 s.","solution":"- In WP Rocket, enable page caching for this post type and confirm the `Cache-Control` header becomes something like `max-age=600, must-revalidate` for anonymous visitors.\n- Verify the cache is warmed for the canonical URL after deploy.\n- Ensure logged-in / dynamic regions bypass the cache rather than disabling it site-wide."},{"priority":2,"category":"Best Practices","title":"Fix invalid srcset candidates missing width descriptors","impact":"W3C validation, responsive image selection","problem":"W3C reports 2 errors: srcset values on the two `<img>` elements 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```\nApply the same to the second image (`f2870486….png`)."},{"priority":2,"category":"Best Practices","title":"Remove defer from WP Rocket's data-block script tags","impact":"W3C validation (5 of 7 errors)","problem":"W3C reports 5 errors: `<script type=\"text/rocketlazyloadscript\" … defer>` — a data block must not carry `defer`.","solution":"- In WP Rocket → File Optimization → Lazy Load, disable the 'delay JS execution' / rocketlazyloadscript rewriting for these tags, or exclude the affected scripts (cookieyes, etc.).\n- Alternatively, whitelist the script so it is emitted as a normal `<script type=\"text/javascript\" defer>`."},{"priority":2,"category":"Accessibility","title":"Add meaningful alt text to the two content images","impact":"WCAG 1.1.1, image SEO","problem":"Both raster images on the page carry `alt=\"\"`; on an article about veneer quality classes these are almost certainly content images, not decoration.","solution":"- Replace `alt=\"\"` with a short description of what the image shows (e.g. the veneer grade being illustrated).\n- Keep `alt=\"\"` only for genuinely decorative images."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP (low urgency for this site shape)","impact":"XSS defense-in-depth","problem":"Content-Security-Policy is missing. Site signals show no auth, payments, user content or commerce, so the exploitable XSS surface is minimal — hence 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: 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":"Privacy leakage, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing from the response.","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\"\n```"},{"priority":3,"category":"Security","title":"Add SRI to the jsdelivr script and hide the Server header","impact":"Supply-chain integrity, technology disclosure","problem":"1 of 1 cross-origin scripts (cdn.jsdelivr.net iframemanager) lacks an `integrity` attribute, and the response discloses `Server: Apache / ZoneOS`.","solution":"- Add `integrity=\"sha384-…\" crossorigin=\"anonymous\"` to the jsdelivr `<script>` tag, or self-host the file.\n- Suppress the version banner: `ServerTokens Prod` and `ServerSignature Off` in Apache."},{"priority":3,"category":"Security","title":"Harden WordPress entry points","impact":"Brute-force and takeover surface","problem":"Security basics flags two WordPress warnings: `/wp-admin/install.php` is reachable and the login form is on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login form behind a custom path or add rate limiting / 2FA."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text and validate structured data","impact":"Anchor-text relevance, rich results","problem":"Repeated vague anchors ('code of conduct' ×3, 'about us' ×2, 'products' ×2, 'contact' ×2) and PSI's modeled SEO audit flags `structuredData`; the single JSON-LD block is typed 'Unknown'.","solution":"- Give each repeated link a distinct accessible name via visible text or `aria-label`.\n- Replace the untyped JSON-LD block with a valid `Article`/`BlogPosting` schema including `headline`, `datePublished`, `author` and `image`."}],"perfScore":72,"a11yScore":91,"bestPracticesScore":100,"seoScore":100,"securityScore":65,"securityVerdict":"FAILED"},{"url":"https://estply.com/en/kupsiste-poliitika","overall":73,"reasoning":"Mobile PSI is 87 (desktop 99) with clean CLS 0.000 and TBT 0 ms, but LCP is 3.9 s on mobile versus 0.8 s on desktop — a 3.1 s divergence that points at a lazy-loaded hero image and a slow document/render-blocking chain (PSI estimates 860 ms document-latency and 590 ms render-blocking savings). Accessibility is close to clean: axe reports 0 violations across 40 passes, though PSI still scores button-name 0.00 and target-size 0.00, and 7 color-contrast nodes were undeterminable. SEO sits at 85 due to a missing meta description, non-descriptive link text, and two <h1> elements. Security basics FAILED (HSTS, X-Frame-Options/frame-ancestors, X-Content-Type-Options all missing), which caps the score below 90; with no auth, payments, UGC, or commerce signals, CSP is downgraded to P3 per the rubric. W3C reports 7 errors (mostly WP Rocket's `text/rocketlazyloadscript` + `defer` and two `srcset` entries missing width descriptors), a partial-credit drag. CrUX field values are all 0 ms and labelled 'slow', which looks like a missing/low-traffic fallback rather than real data, so scoring leans on lab metrics.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eager-load the LCP hero image with high fetchpriority","impact":"LCP, FCP, Speed Index","problem":"The Optimized-Web checklist fails 'Hero image eagerly loaded': the hero PNG (uploads/2026/08/6c041c12…png) has loading=\"lazy\" and no fetchpriority, and mobile LCP is 3.9 s versus 0.8 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- In WP Rocket, exclude the hero from LazyLoad (Media → LazyLoad → Excluded images) or add it to the 'Exclude from LCP/above-the-fold images' list.\n- Add `<link rel=\"preload\" as=\"image\" fetchpriority=\"high\" href=\"…hero.png\">` in `<head>`."},{"priority":1,"category":"Performance","title":"Shorten the document latency and render-blocking chain","impact":"LCP, FCP, TTFB, Speed Index","problem":"PSI flags document-latency-insight (est. 860 ms savings) and render-blocking-insight (est. 590 ms savings); the browser capture shows the document request taking 1.60 s and mobile FCP at 1.82 s.","solution":"- Preload the critical font/CSS and preconnect to the only third-party origin:\n```html\n<link rel=\"preconnect\" href=\"https://cdn.jsdelivr.net\" crossorigin>\n```\n- Inline critical above-the-fold CSS and load the two external stylesheets non-blocking (`media=\"print\" onload=\"this.media='all'\"`).\n- Verify WP Rocket 'Remove Unused CSS' / 'Optimize CSS delivery' is enabled and that the HTML cache is warmed for this URL.\n- Investigate the 1.6 s document response: check for cold-cache misses and any server-side plugin work on the privacy-policy template."},{"priority":1,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2 Name/Role/Value, 2.5.8 Target Size","problem":"PSI accessibility is 91 with `button-name` scoring 0.00 (weight 10) and `target-size` scoring 0.00 (weight 7); axe found 0 violations but could not determine contrast on 7 nodes.","solution":"- Add an accessible name to every icon-only button:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Manually verify the 7 undetermined color-contrast nodes (gradients/alpha) with DevTools contrast checker."},{"priority":2,"category":"Security","title":"Add HSTS, X-Content-Type-Options and clickjacking protection","impact":"Transport security, MIME sniffing, clickjacking","problem":"Security basics FAILED: Strict-Transport-Security, X-Content-Type-Options and X-Frame-Options/frame-ancestors are all missing from the response headers.","solution":"Send from the origin (Apache shown in the `server` header):\n```\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains; preload\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set Content-Security-Policy \"frame-ancestors 'self'\"\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":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, SEO score","problem":"The document has no meta description (`meta-description` audit scores 0.00) and PSI SEO is 85.","solution":"Add a unique, 120–155 character description per language version:\n```html\n<meta name=\"description\" content=\"How Estply collects, uses and retains personal data, and how to exercise your GDPR rights.\">\n```\nSet it through your SEO plugin so the `et` and `en` versions get distinct copy."},{"priority":2,"category":"SEO","title":"Replace vague link text and collapse duplicate H1s","impact":"Link purpose (WCAG 2.4.4), document outline, SEO","problem":"The inventory reports 2 `<h1>` elements ('Küpsiste poliitika' and 'Privacy Policy') plus repeated vague link text ('here' ×2, 'code of conduct' ×3, 'about us' ×2); PSI's `link-text` audit also fails with 2 links.","solution":"- Keep exactly one `<h1>` per page; demote the second to `<h2>` or remove it.\n- Rewrite vague anchors to describe the destination:\n```html\n<!-- before --><a href=\"/en/code-of-conduct\">here</a>\n<!-- after --> <a href=\"/en/code-of-conduct\">Read the Estply code of conduct</a>\n```\n- Where the visible text must stay short, add `aria-label` with the full purpose."},{"priority":2,"category":"Performance","title":"Stop sending max-age=0 on the HTML document","impact":"Repeat-visit TTFB, LCP","problem":"The document response carries `cache-control: max-age=0` with an `expires` timestamp equal to the request time, forcing revalidation on every navigation despite WP Rocket being active.","solution":"- Confirm WP Rocket page caching is actually serving this URL (the browser capture shows a 1.60 s document fetch, suggesting a cache miss).\n- Exclude logged-out policy pages from any 'no-cache' rule and let the CDN/page cache serve them with a positive `max-age` plus `s-maxage`."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP (low urgency for this site shape)","impact":"XSS defense-in-depth","problem":"Content-Security-Policy is missing (flagged high by the header scanner), but site signals show no auth, payments, user content, or e-commerce, so the exploitable surface is minimal.","solution":"When you do add one, use nonces + `'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```\nNote the page loads `https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/...` without an `integrity` attribute — add SRI or self-host it."},{"priority":3,"category":"Best Practices","title":"Fix the 7 W3C validation errors","impact":"HTML validity, spec conformance","problem":"W3C reports 7 errors and 2 warnings: 5× `script type=\"text/rocketlazyloadscript\"` combined with `defer`, and 2× `srcset` candidates missing width descriptors while `sizes` is present.","solution":"- WP Rocket's delayed-JS type is a data block, so `defer` is invalid on it — remove `defer` from those tags or let WP Rocket inject the script without the attribute.\n- Add width descriptors to the two `srcset` values:\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":"Close remaining WordPress hardening gaps","impact":"Attack surface, information disclosure","problem":"Security basics warns that `/wp-admin/install.php` is reachable, the login form is on the default `/wp-login.php` path, and the `server` header discloses `Apache / ZoneOS`.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (custom login slug + rate limiting / 2FA).\n- Strip or genericise the `Server` header (`ServerTokens Prod`, `Header unset X-Powered-By`)."},{"priority":3,"category":"Accessibility","title":"Manually verify the 7 undetermined contrast nodes","impact":"WCAG 1.4.3 Contrast","problem":"axe-core returned 0 violations but flagged 7 nodes where it could not compute contrast (alpha transparency or gradients), so contrast compliance is unconfirmed.","solution":"- Inspect each flagged node in DevTools and confirm ≥4.5:1 for body text and ≥3:1 for large text.\n- Re-run axe with the browser extension after any theme color changes to confirm the incomplete results clear."}],"perfScore":87,"a11yScore":91,"bestPracticesScore":100,"seoScore":85,"securityScore":65,"securityVerdict":"FAILED"},{"url":"https://estply.com/kupsiste-poliitika","overall":73,"reasoning":"The headline problem is data quality: the audited URL returned HTTP 429 with a 337-byte \"Too Many Requests\" body, so axe-core, the HTML inventory, browser runtime and header checks all analyzed an Apache error page rather than the cookie-policy content (the W3C validator, by contrast, clearly saw the real page with its `text/rocketlazyloadscript` scripts and `srcset` images). PSI is the most trustworthy signal: mobile 88 / desktop 99, CLS 0.000, TBT 0 ms, but mobile LCP 3.8 s with 580 ms of render-blocking and 590 ms of document latency, plus a 32 KiB unused-CSS saving. Accessibility lands at 91/96 with a serious `html-has-lang` violation and PSI's `button-name` and `target-size` audits both scoring 0.00. Security basics is FAILED (HSTS, clickjacking protection and X-Content-Type-Options all missing), which caps the score below 90; with no auth, payments, UGC or commerce signals, CSP stays a P3. W3C reports 7 errors (5× `defer` on a non-JS script type, 2× `srcset` candidates without width descriptors), a partial-credit band.","confidence":"low","fixes":[{"priority":1,"category":"Performance","title":"Stop returning 429 to legitimate traffic and put a page cache/CDN in front of the site","impact":"Availability, TTFB, LCP, audit coverage","problem":"The audited URL responded `429 Too Many Requests` with a 337-byte body and `retry-after: 10`, so axe-core, the HTML inventory and the browser runtime captured an error page instead of the cookie policy; the optimized-web checklist also found no WordPress cache plugin or CDN edge cache marker.","solution":"- Raise or remove the rate limit for normal browsing traffic and for monitoring/audit user agents; a single page view should never trip it.\n- Front the site with a page cache or CDN edge cache so repeat requests are served without hitting PHP.\n- Return a real HTML error page (with `lang`, viewport, title) for 429/5xx so crawlers and auditors see meaningful markup.\n- Verify with: `curl -sI https://estply.com/kupsiste-poliitika/ | head -20` — expect `200` and a `cache-control`/`x-cache` header."},{"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, clickjacking protection (no X-Frame-Options and no CSP frame-ancestors) and X-Content-Type-Options are all reported missing.","solution":"Send from the origin/vhost (Apache shown):\n```\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\"\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\n```\nIf you prefer CSP `frame-ancestors 'self'` over X-Frame-Options, ship both during the transition."},{"priority":2,"category":"Performance","title":"Cut mobile LCP from 3.8 s by removing render-blocking work","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 3.8 s (desktop 0.8 s) with `render-blocking-insight` estimating 580 ms of savings, `document-latency-insight` 590 ms, and `unused-css-rules` 32 KiB.","solution":"- Inline critical above-the-fold CSS and load the rest non-blocking:\n```html\n<link rel=\"preload\" href=\"/wp-content/themes/x/style.css\" as=\"style\" onload=\"this.rel='stylesheet'\">\n```\n- Add `defer` to non-critical theme/plugin scripts currently in `<head>`.\n- Preload the LCP image and serve it as WebP/AVIF with `fetchpriority=\"high\"`.\n- Purge unused CSS (32 KiB reported) via your build step or an unused-CSS plugin."},{"priority":2,"category":"Accessibility","title":"Give buttons and icon links accessible names and enlarge touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"PSI accessibility audits `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) both fail on mobile, and the SEO `tapTargets` audit fails too.","solution":"- Add visible text or `aria-label` to every button, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 44×44 px with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```"},{"priority":2,"category":"Accessibility","title":"Set a correct lang attribute on every page, including error pages","impact":"WCAG 3.1.1 language of page","problem":"axe-core reports a serious `html-has-lang` violation (the captured 429 page had no `lang`), while the W3C validator saw `lang=\"et\"` on the real page but flagged that the document appears to be in English.","solution":"- Ensure the template always emits `<html lang=\"et\">` (the site is Estonian — `kupsiste-poliitika` = cookie policy) and that the error/429 template does too.\n- If any page is genuinely English, switch that page's `lang` to `en` rather than relying on the validator's heuristic."},{"priority":2,"category":"SEO","title":"Add a meta description and structured data","impact":"SEO score (92), SERP snippet quality","problem":"PSI SEO is 92 with `meta-description` scoring 0.00 and `structuredData` failing; the HTML inventory also shows 0 Open Graph and 0 Twitter tags on the captured document.","solution":"```html\n<meta name=\"description\" content=\"Estply privaatsuspoliitika – kuidas me töötleme ja kaitseme teie isikuandmeid.\">\n```\n- Add `Organization` / `WebSite` JSON-LD sitewide and `WebPage` on this page.\n- Add `og:title`, `og:description`, `og:image` for social sharing."},{"priority":3,"category":"Best Practices","title":"Fix the 7 W3C validation errors","impact":"HTML validity, lazy-load correctness","problem":"W3C reports 7 errors: 5× a `script` with `type=\"text/rocketlazyloadscript\"` carrying `defer`, and 2× `srcset` candidates with no width descriptor while `sizes` is present.","solution":"- Remove `defer` from the Rocket Loader data-block script, or let the loader inject it:\n```html\n<script type=\"text/rocketlazyloadscript\" data-rocket-type=\"text/javascript\" src=\"...\"></script>\n```\n- Give every `srcset` candidate a width descriptor:\n```html\n<img src=\"...-1024.png\" srcset=\"...-480.png 480w, ...-1024.png 1024w\" sizes=\"(max-width: 768px) 100vw, 1024px\" alt=\"\">\n```"},{"priority":3,"category":"Accessibility","title":"Add main/nav landmarks and a skip link","impact":"WCAG 1.3.1, 2.4.1 bypass blocks","problem":"axe-core flags `landmark-one-main` and `region` (content in `h1`, `p`, `address` outside landmarks), and the HTML inventory found no `nav`, `main`, `header` or `footer` and no skip-to-content link.","solution":"- Wrap the page in `<header>`, `<nav>`, `<main id=\"main\">`, `<footer>`.\n- Add a skip link as the first focusable element:\n```html\n<a class=\"skip-link\" href=\"#main\">Liigu põhisisu juurde</a>\n```\n- Note: these were measured on the 429 error page — re-run the audit once the rate limit is lifted to confirm on the real template."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP (low urgency for this site shape)","impact":"XSS defense-in-depth","problem":"Content-Security-Policy is missing, but site signals show no auth, payments, user-generated content or e-commerce, so the exploitable XSS surface is minimal.","solution":"When you do add a CSP, use nonces + `'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```\nAlso consider `Permissions-Policy: camera=(), microphone=(), geolocation=()` and `Cross-Origin-Opener-Policy: same-origin` as cheap additions."},{"priority":3,"category":"Performance","title":"Set an explicit Cache-Control policy on HTML responses","impact":"Repeat-visit TTFB, CDN hit rate","problem":"The response carried no `cache-control`, `etag`, `last-modified` or `expires` header, which the header audit flags as a weak caching policy (measured on the 429 response, so re-verify on a 200).","solution":"```\n# HTML: short cache with revalidation\nHeader set Cache-Control \"public, max-age=600, stale-while-revalidate=60\"\n# Static assets: long cache with hashed filenames\nHeader set Cache-Control \"public, max-age=31536000, immutable\"\n```"}],"perfScore":88,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":56,"securityVerdict":"FAILED"},{"url":"https://estply.com/kontakt","overall":76,"reasoning":"Performance is the strongest area but has a clear mobile gap: PSI mobile 87 vs desktop 99, driven by LCP 3.9 s on mobile against 1.0 s on desktop (a 2.9 s delta), while CLS 0.000, TBT 0 ms and lab TTFB 24 ms are all clean. The single biggest LCP lever is self-inflicted — the hero image (cz5i9178-100x100.webp) ships with loading=\"lazy\" and no fetchpriority, and PSI flags lcp-discovery-insight plus document-latency-insight (est. 1,170 ms savings). Image assets are otherwise near-exemplary: 22/22 raster images use srcset, 0 missing alt, 0 missing dimensions, 0 missing lazy loading, and WebP is in use, so only ~51 KiB of image-delivery savings remain. Accessibility is mixed — axe-core reports 0 violations across 45 passes, but PSI fails button-name (score 0.00, weight 10) and target-size (score 0.00, weight 7), and axe left 109 color-contrast nodes as \"incomplete\", so the 92/97 Lighthouse accessibility score is the more trustworthy signal. The Security basics verdict is FAILED (HSTS, X-Frame-Options/frame-ancestors and X-Content-Type-Options all missing), which caps the overall below 90, and W3C reports 18 errors — mostly 12× WP Rocket's text/rocketlazyloadscript carrying a defer attribute — plus a missing meta description that holds SEO at 92. Note the CrUX field block returned 0 ms p75 for every metric while labelling them \"slow\", so field data is unusable here and scoring leans on lab values; the mobile/desktop divergence is large but fully explained by the lazy hero image.","confidence":"high","fixes":[{"priority":1,"category":"Security","title":"Add the three failed baseline security headers (HSTS, clickjacking protection, nosniff)","impact":"Transport security, clickjacking, MIME sniffing","problem":"Security basics verdict is FAILED: Strict-Transport-Security, X-Frame-Options / CSP frame-ancestors, and X-Content-Type-Options are all reported missing on the response.","solution":"Send these from the origin (Apache shown; the response already discloses `Server: Apache / ZoneOS`):\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```\n- Prefer `Content-Security-Policy: frame-ancestors 'self'` once CSP is deployed; keep X-Frame-Options as the fallback for older browsers.\n- Verify preload-list eligibility at hstspreload.org after the header is live."},{"priority":1,"category":"Performance","title":"Make the LCP image eager and discoverable","impact":"LCP, FCP, Speed Index","problem":"Mobile LCP is 3.9 s vs 1.0 s on desktop, and the optimized-web checklist fails \"Hero image eagerly loaded\": the hero (cz5i9178-100x100.webp) has `loading=\"lazy\"` and no `fetchpriority`. PSI additionally flags `lcp-discovery-insight` and `document-latency-insight` (est. 1,170 ms savings) as high priority.","solution":"- Remove `loading=\"lazy\"` from the hero and add `fetchpriority=\"high\"`:\n```html\n<img src=\"/wp-content/uploads/2026/10/hero.webp\"\n     srcset=\"… 800w, … 1600w\" sizes=\"100vw\"\n     width=\"1600\" height=\"900\"\n     fetchpriority=\"high\" decoding=\"async\" alt=\"…\">\n```\n- Preload it in `<head>`: `<link rel=\"preload\" as=\"image\" href=\"…hero.webp\" imagesrcset=\"…\" imagesizes=\"100vw\" fetchpriority=\"high\">`\n- Keep `loading=\"lazy\"` on everything below the fold (already correct for the other 21 images).\n- Investigate the 1,170 ms document-latency saving — check whether WP Rocket's page cache is warm for `/kontakt/` and whether the HTML can be served from CDN edge."},{"priority":1,"category":"Accessibility","title":"Give icon buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2 Name/Role/Value, 2.5.8 Target Size","problem":"PSI accessibility fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) on mobile, even though axe-core reported 0 violations — the Lighthouse failures are real and the two tools disagree.","solution":"- Add an accessible name to every button that only contains an icon or SVG:\n```html\n<button type=\"button\" aria-label=\"Sulge\"><svg aria-hidden=\"true\" focusable=\"false\">…</svg></button>\n```\n- Ensure interactive targets are at least 44×44 px with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Re-run Lighthouse mobile after the change to confirm both audits move off 0.00."},{"priority":2,"category":"Security","title":"Deploy a nonce-based CSP plus Referrer-Policy and Permissions-Policy","impact":"XSS defense-in-depth, referrer leakage, feature abuse","problem":"Content-Security-Policy, Referrer-Policy and Permissions-Policy are all missing. The inferred `hasUserContent` signal comes from the contact form's `<textarea>`, not persisted public content, so this is calibrated to Priority 2 rather than Priority 1.","solution":"- Use nonce + `'strict-dynamic'` 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'; form-action 'self'\n```\n- WP Rocket injects inline scripts (`text/rocketlazyloadscript`), so generate the nonce in PHP and whitelist it on those tags.\n- Add the cheap ones now:\n```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=()\n```"},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, SEO score","problem":"The document has no meta description (`meta-description` audit score 0.00) and PSI SEO sits at 92 on both mobile and desktop.","solution":"Add a unique 140–160 character description per language variant:\n```html\n<meta name=\"description\" content=\"Võta Estplyga ühendust — kontaktandmed, logistika ja laadimise info ning meie meeskond.\">\n```\n- Mirror it for the `en` hreflang variant at `/en/contact/`."},{"priority":2,"category":"Performance","title":"Fix document caching (Cache-Control: max-age=0)","impact":"Repeat-visit TTFB, LCP","problem":"The HTML document is served with `cache-control: max-age=0` and an `expires` value equal to the request time, so every navigation revalidates the full 172.8 KB decoded document despite WP Rocket being active.","solution":"- Let WP Rocket serve a browser-cacheable document, e.g. `Cache-Control: public, max-age=600, stale-while-revalidate=60`.\n- Keep `max-age=0` only for logged-in or form-submission responses.\n- Confirm the CDN/ZoneOS edge is caching `/kontakt/` and that the cache is warmed after deploy."},{"priority":2,"category":"Best Practices","title":"Resolve the 18 W3C validation errors","impact":"Markup correctness, parser robustness","problem":"W3C reports 18 errors and 24 warnings, dominated by 12× `script type=\"text/rocketlazyloadscript\"` carrying a `defer` attribute, plus an empty `href` on a dns-prefetch link, two `srcset` candidates with no width descriptor, and a `charset` meta placed after the first 1024 bytes.","solution":"- The 12 rocketlazyloadscript errors are a WP Rocket pattern; either drop `defer` from those data-block scripts or move the lazy-load rewrite to a real `type=\"text/javascript\"` tag emitted at runtime.\n- Remove the empty prefetch: `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` → delete or give it a real origin.\n- Add width descriptors to the two offending `srcset` values (lines ~1617 and ~1637): `srcset=\"…png 300w, …png 600w\"`.\n- Move `<meta charset=\"utf-8\">` into the first 1024 bytes of `<head>`."},{"priority":3,"category":"Accessibility","title":"Manually verify the 109 unresolved color-contrast nodes","impact":"WCAG 1.4.3 Contrast (Minimum)","problem":"axe-core returned 0 violations but marked 109 nodes as \"incomplete\" for color-contrast, meaning it could not compute the ratio (alpha, gradients or overlapping backgrounds) — this is unverified, not passing.","solution":"- Run a contrast check in DevTools on the flagged nodes, especially text over images and gradient sections.\n- Target ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold).\n- Where text sits on photos, add a solid overlay or scrim rather than relying on the image."},{"priority":3,"category":"SEO","title":"Fix structured data and disambiguate repeated link text","impact":"Rich results eligibility, anchor-text quality","problem":"PSI fails the `structuredData` audit and the single JSON-LD block is typed \"Unknown\"; the page also repeats vague anchors (\"kontakt\" ×3, \"meist\" ×2, \"tooted\" ×2, \"info@estply.com\" ×2).","solution":"- Replace the untyped JSON-LD with a valid `Organization` + `ContactPage` graph including `name`, `url`, `telephone`, `address` and `contactPoint`.\n- Disambiguate repeated anchors with `aria-label` or surrounding context, e.g. `<a href=\"/meist\" aria-label=\"Meist — Estply ettevõttest\">meist</a>`."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and trim remaining header gaps","impact":"Supply-chain integrity, info disclosure","problem":"1 of 1 cross-origin scripts (iframemanager from cdn.jsdelivr.net) lacks an `integrity` attribute, the response discloses `Server: Apache / ZoneOS`, and COOP/CORP/X-Permitted-Cross-Domain-Policies are unset.","solution":"- Pin and hash the third-party 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```\n- Or self-host the 3 KB file to remove the third-party origin entirely.\n- Strip or genericise the `Server` header at the proxy.\n- Add `Cross-Origin-Opener-Policy: same-origin` and `X-Permitted-Cross-Domain-Policies: none`."},{"priority":3,"category":"Performance","title":"Close the remaining image-delivery and compression gaps","impact":"Page weight, transfer size","problem":"Images account for 611.2 KB of the 682.9 KB page, PSI's `image-delivery-insight` still estimates 51 KiB of savings, and the document is served with gzip rather than brotli.","solution":"- Audit the largest remaining images for over-sized dimensions (the srcset exposes 20 widths up to 2561 px — cap the top end at what the layout actually needs).\n- Enable brotli at the ZoneOS/CDN layer; gzip currently yields a 0.183 ratio on a 172.8 KB document.\n- Keep the existing WebP + srcset + explicit-dimension setup — it is already correct on 22/22 images."}],"perfScore":87,"a11yScore":92,"bestPracticesScore":100,"seoScore":92,"securityScore":78,"securityVerdict":"FAILED"}]}