{"url":"https://estply.com/","date":"2026-10-29","siteName":"Avaleht - estply","overall":78,"reasoning":"Site overall 78 is the mean of 5 pages. Scores range 66 (https://estply.com/) → 88 (https://estply.com/privaatsuspoliitika/). Weakest page: Mobile performance is the dominant drag: PSI mobile 74 vs desktop 79, but the underlying metrics diverge sharply — LCP 4.7 s mobile vs 2.7 s desktop and Speed Index 11.11 s vs 2.78 s, both far past the heavy-penalty thresholds, while TBT (0 ms), TTFB (3 ms), FCP (1.2 s) and CLS (0.000) are all clean. The runtime capture shows 2.70 MB of the 2.76 MB total is images across just 8 requests, and PSI's image-delivery insight estimates 276 KiB of savings, so image payload is the single biggest lever. Accessibility is split: axe-core reports 0 violations across 40 passes, but PSI accessibility lands at 91/96 with `button-name` and `target-size` scoring 0.00, and axe flagged 9 color-contrast nodes as incomplete. SEO sits at 85 with no meta description, an invalid robots.txt and no usable structured data, and W3C reports 12 errors (mostly WP Rocket `text/rocketlazyloadscript` blocks and malformed `srcset`/`sizes`). Security basics PASS — quoted disclaimer applies: \"These are high-level hygiene checks on HTTP headers, TLS, cookies and a few well-known exposed paths. PASS means the basics are in place. It does not mean the site is secure: application logic, authentication, plugins, server configuration and dependencies are not tested here. Treat FAILED as a must-fix and PASS as a starting point, not a certificate.\" — but the advanced tier fails on CSP strictness, HSTS preload, Referrer-Policy, Permissions-Policy, COOP/CORP and SRI, which keeps the SEO/Security budget partial.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP (4.7 s) and Speed Index (11.1 s)","impact":"LCP, Speed Index, mobile Performance score","problem":"Mobile LCP is 4.7 s against 2.7 s on desktop, and Speed Index is 11.11 s against 2.78 s — both far beyond the heavy-penalty thresholds, while TBT is 0 ms and TTFB is 3 ms, so the bottleneck is render/asset delivery, not server or main-thread work.","solution":"- Preload the actual LCP image and serve it at the right size:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/10/kaasik-kaupo-kalda-360x640.webp\"\n      imagesrcset=\"...\" imagesizes=\"...\" fetchpriority=\"high\">\n```\n- Work through PSI's `lcp-breakdown-insight` and `network-dependency-tree-insight` to find the render-blocking chain ahead of the hero.\n- Inline the critical CSS for the above-the-fold section and defer the two external stylesheets.\n- Re-test on throttled mobile after the image work below — Speed Index at 11 s usually collapses once hero bytes drop."},{"priority":1,"category":"Performance","title":"Reduce the 2.70 MB image payload","impact":"LCP, Speed Index, total page weight","problem":"Browser runtime shows 8 image requests totalling 2.70 MB out of 2.76 MB total page weight, and PSI's image-delivery insight estimates 276 KiB of savings.","solution":"- Convert the remaining JPG/PNG assets (e.g. `kaupokalda-com-dji_...jpg`, `estply-cta-1-520x140.jpg`, the two 251×134 PNGs) to WebP/AVIF; only the hero is WebP today.\n- Tighten the srcset ladder — 27 distinct widths up to 2560 px is excessive for a 360–520 px display slot; cap at the largest rendered size ×2.\n- Re-encode with quality ~75 and verify the 276 KiB Lighthouse saving lands."},{"priority":1,"category":"Accessibility","title":"Name all buttons and enlarge touch targets","impact":"PSI Accessibility (91 mobile / 96 desktop), WCAG 4.1.2, 2.5.8","problem":"PSI accessibility audits `button-name` and `target-size` both score 0.00 (weights 10 and 7) on mobile, even though axe-core reported 0 violations — the two tools are inspecting different DOM states.","solution":"- Give every `<button>` visible text or an `aria-label`:\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 (WCAG 2.5.8); pad icon-only controls rather than relying on the glyph box.\n- Re-run axe after JS hydration — the 0-violation axe pass likely ran before the menu/carousel buttons rendered."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetchpriority","impact":"LCP, Speed Index","problem":"The optimized-web checklist fails 'Hero image eagerly loaded': the first raster image (`6c041c12…png`, 251×134) has `loading=\"lazy\"` and no `fetchpriority`, and mobile LCP is 3.3 s vs 0.7 s on desktop.","solution":"```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\"\n     width=\"251\" height=\"134\"\n     loading=\"eager\"\n     fetchpriority=\"high\"\n     decoding=\"async\">\n```\n- Remove `loading=\"lazy\"` from the LCP element only; keep it on below-the-fold images.\n- If the real LCP element is a heading or background, preload it instead:\n```html\n<link rel=\"preload\" as=\"image\" href=\"…\" fetchpriority=\"high\">\n```"},{"priority":1,"category":"Performance","title":"Eliminate render-blocking resources","impact":"Speed Index, FCP, LCP","problem":"PSI flags `render-blocking-insight` with an estimated 690 ms savings and `network-dependency-tree-insight`; Speed Index is 6.83 s on mobile against 1.33 s on desktop.","solution":"- Inline critical above-the-fold CSS and defer the two external stylesheets (34.6 KB total) via `media=\"print\" onload=\"this.media='all'\"` or WP Rocket's 'Optimize CSS delivery'.\n- Add `preconnect`/`preload` for the font files (`open-sans-regular.woff2`) and the jsdelivr origin.\n- Flatten the dependency chain: the document took 3.96 s in the runtime capture while TTFB was 3 ms, so the delay is client-side chain depth, not server response."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2, Lighthouse accessibility score","problem":"Lighthouse `button-name` scores 0.00 with weight 10 — buttons on the page have no accessible name, which is the single largest accessibility deduction (mobile 91).","solution":"- Add visible text or `aria-label` to each `<button>`:\n```html\n<button type=\"button\" aria-label=\"Open cookie settings\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- Mark decorative icons inside buttons `aria-hidden=\"true\"` so the label is the only announced text.\n- Re-run axe/Lighthouse to confirm `button-name` reaches 1.00."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP (mobile 3.5 s vs desktop 0.7 s)","problem":"The optimized-web checklist flags the hero image (uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png) as loading=\"lazy\" with no fetchpriority, and mobile LCP is 3.5 s against a 0.7 s desktop value.","solution":"- Set `loading=\"eager\"` (or omit `loading`) and `fetchpriority=\"high\"` on the LCP image.\n- Add a preload hint in `<head>`:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png\" fetchpriority=\"high\">\n```\n- Keep `loading=\"lazy\"` only on genuinely below-the-fold images."},{"priority":1,"category":"Performance","title":"Load the LCP image eagerly with high fetchpriority","impact":"LCP (mobile 3.5 s), Speed Index (3.83 s)","problem":"Mobile LCP is 3.5 s against 0.7 s on desktop, and the optimization checklist fails \"Hero image eagerly loaded\" — the flagged hero (cz5i9178-100x100.webp) carries `loading=\"lazy\"` and no `fetchpriority`.","solution":"Identify the real LCP element in DevTools (Performance → LCP) and make it eager:\n```html\n<img src=\"/wp-content/uploads/.../hero.webp\"\n     srcset=\"... 800w, ... 1600w\" sizes=\"100vw\"\n     width=\"1600\" height=\"900\"\n     fetchpriority=\"high\"\n     alt=\"...\">\n```\n- Remove `loading=\"lazy\"` from that one image only; keep it on everything below the fold.\n- If WP Rocket is rewriting the tag, exclude the hero from its lazyload list."},{"priority":1,"category":"Security","title":"Complete the Content-Security-Policy (default-src, object-src 'none', nonce + strict-dynamic)","impact":"XSS mitigation, plugin/object injection","problem":"The CSP is only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions. The page contains a form with a `<textarea>` (hasUserContent signal), so injected script would run against real user input.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{RANDOM}' 'strict-dynamic' https:;\n  style-src 'self' 'unsafe-inline'; img-src 'self' data:;\n  frame-ancestors 'self'; form-action 'self'; upgrade-insecure-requests\n```\n- Roll out in `Content-Security-Policy-Report-Only` first and watch reports for a week before enforcing.\n- WordPress + WP Rocket inject inline scripts; the nonce must be generated per request and passed to the inline `<script>` tags."},{"priority":2,"category":"SEO","title":"Add meta description, fix robots.txt, add structured data","impact":"SEO score (85), SERP snippet, rich results eligibility","problem":"PSI SEO audits `meta-description`, `robots-txt` and `structured-data` all fail; the HTML inventory confirms `Description: not set` and a single JSON-LD block of type \"Unknown\".","solution":"- Add a unique description per page:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaal — ...\">\n```\n- Serve a valid `robots.txt` at the root (currently reported invalid) and reference the sitemap.\n- Replace the untyped JSON-LD with a real `Organization` / `Manufacturer` graph including `name`, `url`, `logo`, `address` and `sameAs`."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth, Lighthouse Best Practices","problem":"The CSP is `frame-ancestors 'self'` only — no `default-src`, no `object-src 'none'`, and no script or resource restrictions, so it provides clickjacking protection but no XSS mitigation.","solution":"The site has no auth, no payments and no forms on this page, so this is Priority 2 rather than 1 — but the `upload` anchor in the nav means user-supplied files may exist elsewhere, so tighten it before that surface grows. Use a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https://cdn.jsdelivr.net;\n  style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self'\n```\nRoll it out in report-only mode first — WP Rocket's lazyload rewriting and the CookieYes banner will need nonces."},{"priority":2,"category":"Best Practices","title":"Fix the 12 W3C validation errors","impact":"HTML validity, image loading behavior, Best Practices","problem":"W3C reports 12 errors, led by 5× `defer` on `type=\"text/rocketlazyloadscript\"` data blocks, an empty `href` on a `dns-prefetch` link, `src` on `<source>`, and two `srcset` values missing width descriptors.","solution":"- The `rocketlazyloadscript` errors are WP Rocket's lazyload rewriting; exclude the affected scripts from delay or switch to native `loading=\"lazy\"` where possible.\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:\n```html\n<img srcset=\"...6c041c12....png 251w\" sizes=\"251px\" loading=\"lazy\" width=\"251\" height=\"134\" alt=\"\">\n```\n- Add `loading=\"lazy\"` to the `<img>` using `sizes=\"auto\"` at line 310, or drop the `auto` prefix."},{"priority":2,"category":"Performance","title":"Stop serving the HTML document with max-age=0","impact":"Repeat-visit TTFB, FCP, LCP","problem":"The document response carries `cache-control: max-age=0` with `expires` equal to the request time, so every navigation revalidates the 87 KB HTML even though WP Rocket is installed.","solution":"- Let WP Rocket manage HTML caching and emit a short but non-zero TTL for anonymous visitors, e.g. `Cache-Control: public, max-age=600, s-maxage=3600` at the CDN edge.\n- Keep `max-age=0, no-cache` only for logged-in or cart sessions.\n- Verify the canonical URL is warmed after deploy so the first visitor does not pay the cold-start cost."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"Lighthouse `target-size` scores 0.00 (weight 7) and the SEO `tapTargets` audit also fails — interactive elements are too small or too close together on mobile.","solution":"```css\n.icon-link, .menu a, .footer a {\n  min-width: 44px;\n  min-height: 44px;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n}\n```\n- Add spacing (`gap`/`margin`) so adjacent targets are at least 8 px apart."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, Lighthouse SEO (77 mobile)","problem":"HTML inventory shows `Description: not set` and Lighthouse `meta-description` scores 0.00.","solution":"```html\n<meta name=\"description\" content=\"How estply collects, uses and retains personal data, and how to exercise your GDPR rights.\">\n```\n- Keep it 120–155 characters and unique per page; in WordPress this is usually the Yoast/RankMath field."},{"priority":2,"category":"SEO","title":"Fix the invalid robots.txt","impact":"Crawlability, Lighthouse SEO","problem":"Lighthouse `robots-txt` scores 0.00 — 'robots.txt is not valid' — which can block or confuse crawlers.","solution":"- Fetch `https://estply.com/robots.txt` and validate it.\n- Ensure it is plain text, starts with `User-agent:`, and contains no HTML (a WordPress 404 page served at that path is the usual cause).\n- Reference the sitemap explicitly:\n```\nUser-agent: *\nAllow: /\nSitemap: https://estply.com/sitemap_index.xml\n```"},{"priority":2,"category":"Best Practices","title":"Fix srcset candidates missing width descriptors","impact":"W3C validity, responsive image selection","problem":"W3C reports 2 errors: `srcset` values on the two `<img>` elements at lines 536 and 556 specify no width, which is invalid when `sizes` is present.","solution":"```html\n<!-- before -->\n<img srcset=\"/…/6c041c12….png\" sizes=\"(max-width: 600px) 100vw, 251px\">\n<!-- after -->\n<img srcset=\"/…/6c041c12….png 251w\" sizes=\"(max-width: 600px) 100vw, 251px\">\n```\n- Every candidate in a `srcset` must carry a `w` or `x` descriptor."},{"priority":2,"category":"Best Practices","title":"Remove defer/async from WP Rocket lazyload data blocks","impact":"W3C validity (6 of 8 errors)","problem":"W3C reports 5 errors for `defer` and 1 for `async` on `<script type=\"text/rocketlazyloadscript\">` — a non-JavaScript MIME type cannot carry those attributes.","solution":"- In WP Rocket → File Optimization, disable 'Delay JavaScript execution' for these snippets, or\n- Exclude the affected scripts (cookieyes, the Google tag) from delay so they emit as real `type=\"text/javascript\"` with `defer`.\n- Alternatively move the attributes into the `data-rocket-` namespace the plugin rewrites at runtime."},{"priority":2,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name/Role/Value; Lighthouse accessibility score","problem":"Lighthouse `button-name` scores 0.00 with weight 10 on mobile, yet axe-core reported 0 violations — the unnamed buttons are likely inside the cookie-consent / iframe-manager UI that axe did not exercise.","solution":"- Add visible text or an `aria-label` to each `<button>`:\n```html\n<button type=\"button\" class=\"cookie-accept\" aria-label=\"Nõustu kõigi küpsistega\">OK</button>\n```\n- For icon-only buttons use a visually hidden span:\n```html\n<button type=\"button\"><span class=\"sr-only\">Sulge</span><svg aria-hidden=\"true\">…</svg></button>\n```\n- Re-run axe after interacting with the consent banner so the hidden UI is actually scanned."},{"priority":2,"category":"Performance","title":"Prioritise the LCP element instead of lazy-loading it","impact":"LCP (2.6 s mobile)","problem":"The Optimized-Web checklist fails \"Hero image eagerly loaded\": the first image (`…6c041c12….png`, 251×134) carries `loading=\"lazy\"` and no `fetchpriority`, while mobile LCP is 2.6 s.","solution":"- Identify the real LCP element in DevTools → Performance → Timings (the checklist heuristic is inferred and may point at the wrong node).\n- If it is an image, load it eagerly and hint it:\n```html\n<img src=\"…\" width=\"251\" height=\"134\" alt=\"…\" fetchpriority=\"high\" decoding=\"async\">\n```\n- If the LCP element is the `h1.hero-simple__title`, preload the font it uses and avoid `font-display: block`."},{"priority":2,"category":"Performance","title":"Remove render-blocking CSS and trim unused rules","impact":"FCP, LCP, Speed Index (2.85 s mobile)","problem":"PSI's `render-blocking-insight` estimates 720 ms of savings and `unused-css-rules` 32 KiB; the page loads 2 external stylesheets plus 3 inline blocks (9.6 KB).","solution":"- Inline the critical above-the-fold CSS and defer the rest:\n```html\n<link rel=\"preload\" href=\"/wp-content/themes/…/style.css\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">\n```\n- Enable WP Rocket's \"Remove Unused CSS\" (Optimize CSS Delivery) and verify the generated used-CSS file covers the privacy-policy template.\n- Re-test with Lighthouse to confirm the 720 ms render-blocking estimate drops."},{"priority":2,"category":"Security","title":"Block /wp-admin/install.php","impact":"WordPress takeover surface","problem":"The Security basics checklist warns that the installer at `/wp-admin/install.php` is reachable — harmless while installed, but an open takeover path if the database ever becomes unreachable.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\nOr via the ZoneOS/WAF rule set. Verify with `curl -I https://estply.com/wp-admin/install.php` returning 403."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 24×24 px (44×44 recommended)","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"Lighthouse fails `target-size` with score 0.00 (weight 7) — \"Touch targets do not have sufficient size or spacing.\"","solution":"- Increase padding/min-width/min-height on small links and buttons (cookie banner, footer links) to ≥44×44 px.\n- Add spacing between adjacent targets so their hit areas do not overlap."},{"priority":2,"category":"Performance","title":"Cut render-blocking CSS and unused CSS","impact":"FCP, Speed Index, LCP","problem":"`render-blocking-insight` estimates 580 ms of savings and `unused-css-rules` estimates 32 KiB unused; mobile Speed Index is 2.59 s versus 479 ms on desktop.","solution":"- Inline critical above-the-fold CSS and defer the two external stylesheets.\n- Strip unused rules from the theme CSS (the page is a short text document — most component CSS is unused).\n- WP Rocket: enable \"Remove Unused CSS\" / Optimize CSS delivery and verify the cookie-banner styling still renders."},{"priority":2,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"HTML validity, image delivery correctness","problem":"W3C reports 8 errors: 5× `defer` and 1× `async` on `type=\"text/rocketlazyloadscript\"` data-block scripts, plus 2× `srcset` candidates with no width descriptor while `sizes` is present.","solution":"- WP Rocket lazyload: stop emitting `defer`/`async` on `type=\"text/rocketlazyloadscript\"` tags — move the delay into `data-rocket-defer` instead.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\"…251x134.png\"\n     srcset=\"…-251x134.png 251w, …-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 251px, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":2,"category":"Performance","title":"Cut image weight — 168 KiB of savings identified","impact":"LCP, Speed Index, total page weight","problem":"Images account for 673.9 KB of the 745.9 KB page (17 requests), and PSI `image-delivery-insight` estimates 168 KiB of avoidable savings.","solution":"- Audit the 19 distinct srcset widths (100–2561 px) — the 100×100 thumbnails are being served at sizes far above their display box.\n- Tighten `sizes` so mobile does not download desktop-width candidates:\n```html\n<img srcset=\"...400w, ...800w, ...1600w\" sizes=\"(max-width: 600px) 100vw, 50vw\">\n```\n- Re-encode any remaining oversized WebP at quality 75–80 and verify with `cwebp -q 80`.\n- Consider AVIF for the largest hero/photo assets."},{"priority":2,"category":"Performance","title":"Eliminate forced reflow in theme JavaScript","impact":"Main-thread work, Speed Index, INP","problem":"PSI flags `forced-reflow-insight` at high priority and records a 52 ms long task on the document; Speed Index is 3.83 s on mobile.","solution":"- Batch DOM reads before writes; never interleave `offsetWidth`/`getBoundingClientRect()` with style mutations in a loop.\n- Use `requestAnimationFrame` for layout reads and `ResizeObserver` instead of scroll/resize handlers that force layout.\n- Profile with DevTools Performance → \"Layout\" track to find the forced synchronous layout call sites in `core.7c21cc2eb9f1534d.js`."},{"priority":2,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP; enable HSTS preload","impact":"Information leakage, cross-origin isolation, HSTS coverage","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and HSTS (`max-age=31536000; includeSubDomains`) lacks the `preload` directive.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=(), payment=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Only add `preload` once you are confident every subdomain is HTTPS-only, then submit at hstspreload.org."},{"priority":2,"category":"Best Practices","title":"Fix the 19 W3C validation errors","impact":"HTML validity, encoding correctness, image rendering","problem":"W3C reports 19 errors: 12× `script type=\"text/rocketlazyloadscript\"` with `defer`, a `charset` meta placed after the first 1024 bytes, an empty `href` on a `dns-prefetch` link, 2 hidden inputs with `autocomplete`, and 2 `srcset` values without widths.","solution":"- Move `<meta charset=\"utf-8\">` to be the very first element inside `<head>` (currently at line 6, after the 1024-byte mark).\n- Remove the empty prefetch link: `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">`.\n- Add widths to the two offending `srcset` candidates:\n```html\n<img srcset=\".../img-800.png 800w, .../img-1600.png 1600w\" sizes=\"...\">\n```\n- Drop `autocomplete` from the hidden Gravity Forms inputs, and stop WP Rocket from adding `defer`/`async` to `type=\"text/rocketlazyloadscript\"` blocks."},{"priority":3,"category":"Security","title":"Add the remaining low-cost security headers","impact":"Referrer leakage, feature abuse, cross-origin isolation, tech disclosure","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, HSTS lacks `preload`, the `Server: Apache / ZoneOS` header discloses the stack, and `/wp-admin/install.php` is reachable.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\nHeader unset Server\n```\n- Add `preload` to HSTS once you are confident in the subdomain set, then submit at hstspreload.org.\n- Block the installer: `<Files \"install.php\">\\n  Require all denied\\n</Files>`"},{"priority":3,"category":"Best Practices","title":"Add SRI to the jsDelivr script and clear the deprecation warning","impact":"Supply-chain integrity, Best Practices score (81)","problem":"1 of 1 cross-origin scripts (`iframemanager.js` from cdn.jsdelivr.net) lacks an `integrity` attribute, and PSI's `deprecations` audit scores 0.00 with 1 warning.","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- Better: self-host the 3 KB file to remove the third-party origin entirely.\n- Open DevTools console with \"Verbose\" to identify the deprecated API flagged by Lighthouse and replace it."},{"priority":3,"category":"Accessibility","title":"Verify the 9 unresolved color-contrast nodes and disambiguate repeated link text","impact":"WCAG 1.4.3, 2.4.4","problem":"axe-core returned 9 `color-contrast` nodes as \"incomplete\" (gradients/alpha backgrounds it cannot compute), and the inventory lists vague repeated anchors such as \"meist\" ×2, \"tooted\" ×2 and \"kontakt\" ×2.","solution":"- Manually check the 9 flagged nodes with DevTools' contrast picker against the actual composited background; target ≥4.5:1 for body text and ≥3:1 for large text.\n- Disambiguate repeated links with `aria-label` or visually hidden text:\n```html\n<a href=\"/meist/\">meist<span class=\"sr-only\"> — ESTPLY ettevõttest</span></a>\n```"},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy leakage, cross-origin isolation","problem":"All four headers are missing per the security headers scan (each flagged low/advanced-fail).","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=(), interest-cohort=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Security","title":"Add SRI to the jsdelivr script and trim info disclosure","impact":"Supply-chain integrity, fingerprinting","problem":"1 of 1 cross-origin scripts (`iframemanager.js` from cdn.jsdelivr.net) lacks an `integrity` attribute, and the `Server: Apache / ZoneOS` header discloses the stack.","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- Better: self-host the 3 KB file and drop the third-party origin entirely.\n- Strip the version from the `Server` header (`ServerTokens Prod` in Apache)."},{"priority":3,"category":"Security","title":"Block the WordPress installer and move the login path","impact":"Attack 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<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Put `/wp-login.php` behind a WAF rule, IP allowlist, or a plugin that moves it to a custom slug.\n- Add `preload` to HSTS once the domain is submitted at hstspreload.org."},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor text quality, screen-reader navigation","problem":"HTML inventory finds 'here' ×2 plus repeated 'about us', 'products', 'resources', 'contact' anchors, and Lighthouse `link-text` scores 0.00 for 2 links.","solution":"- Replace 'here' with descriptive text: 'read our cookie policy', 'view the GDPR disclosures'.\n- Where the visible text must stay short, add `aria-label`:\n```html\n<a href=\"/en/contact/\" aria-label=\"Contact estply customer support\">contact</a>\n```"},{"priority":3,"category":"Performance","title":"Fix document cache-control","impact":"Repeat-visit TTFB, bfcache","problem":"The document response sends `cache-control: max-age=0` with no ETag, so repeat visits revalidate the full 77.5 KB HTML despite WP Rocket being active.","solution":"- Let WP Rocket serve a cached HTML response with a short `max-age` plus `stale-while-revalidate`:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Add an `ETag` so conditional requests can return 304 instead of a full body."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"The CSP is only `frame-ancestors 'self'` — the security-headers tool flags missing `default-src` and missing `object-src 'none'`, so no script or resource restriction is in place. Site signals show no auth, payments, UGC or commerce, so this is a hardening item rather than an urgent one.","solution":"Extend the existing header rather than replacing it:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'\n```\nIf you later add a login or user content, move to a nonce + `'strict-dynamic'` policy instead of a flat allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP; enable HSTS preload","impact":"Privacy leakage, cross-origin isolation, HSTS coverage","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and HSTS (`max-age=31536000; includeSubDomains`) lacks the `preload` directive.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"HTML validity, parser robustness","problem":"W3C reports 8 errors: 5× `text/rocketlazyloadscript` with `defer`, 1× with `async`, and 2× `srcset` candidates missing width descriptors (lines 545 and 565).","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer`/`async` are invalid on it. Either drop the attributes or switch to a real deferred script:\n```html\n<script type=\"text/javascript\" defer src=\"…\"></script>\n```\n- Add width descriptors to the two `srcset` values:\n```html\n<img src=\"…6c041c12….png\" srcset=\"…6c041c12….png 251w\" sizes=\"251px\" width=\"251\" height=\"134\" alt=\"\" loading=\"lazy\">\n```"},{"priority":3,"category":"Performance","title":"Set a usable Cache-Control for the HTML document","impact":"Repeat-visit TTFB, back/forward cache","problem":"The document response is served with `cache-control: max-age=0` and an `expires` timestamp equal to the request time, so every navigation revalidates the HTML despite WP Rocket being active.","solution":"- Let WP Rocket manage the HTML cache and emit a short but non-zero TTL for anonymous visitors:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Keep `max-age=0, must-revalidate` only for logged-in or cart-bearing sessions."},{"priority":3,"category":"Performance","title":"Serve the two PNGs as WebP/AVIF","impact":"Image bytes, LCP","problem":"The HTML inventory shows 2 raster images, both PNG, with 0 WebP — the only remaining modern-format gap on an otherwise lean 73.8 KB page.","solution":"- Convert both uploads to WebP and serve via `<picture>` with a PNG fallback, or enable WP Rocket's / your image CDN's automatic WebP conversion.\n- Keep the existing `width`/`height` and `loading=\"lazy\"` attributes intact."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and reduce fingerprinting","impact":"Supply-chain integrity, information disclosure","problem":"1 of 1 cross-origin scripts lacks an `integrity` attribute (`cdn.jsdelivr.net/…/iframemanager.js`), and the response advertises `Server: Apache / ZoneOS` while the login form sits on the default `/wp-login.php`.","solution":"- Pin the CDN asset with a hash:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\" integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\n- Strip or genericise the `Server` header at the proxy.\n- Move the login form behind a non-default path or add IP/2FA gating in front of `/wp-login.php`."},{"priority":3,"category":"SEO","title":"Disambiguate vague link text and type the JSON-LD block","impact":"Anchor-text relevance, rich-result eligibility","problem":"The HTML inventory flags repeated vague anchors (`siin` ×2, `meist` ×2, `tooted` ×2, `kontakt` ×2) and PSI's `structuredData` audit fails while the single JSON-LD block reports type `Unknown`.","solution":"- Replace bare `siin` / `meist` anchors with descriptive text, e.g. `siin` → `Estply privaatsuspoliitika kontaktandmed`.\n- Give the JSON-LD block an explicit `@type` (e.g. `WebPage` or `PrivacyPolicy`) and validate it in the Rich Results Test."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload","impact":"Privacy leakage, cross-origin isolation, HSTS coverage","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and HSTS (`max-age=31536000; includeSubDomains`) lacks the `preload` directive.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and trim WordPress exposure","impact":"Supply-chain integrity, takeover surface","problem":"1 of 1 cross-origin scripts (cdn.jsdelivr.net iframemanager) lacks an `integrity` attribute; `/wp-admin/install.php` is reachable and login is on the default `/wp-login.php` path; the `Server: Apache / ZoneOS` header discloses the stack.","solution":"- Add `integrity=\"sha384-…\" crossorigin=\"anonymous\"` to the jsDelivr `<script>`, or self-host the file.\n- Block the installer in `.htaccess`: `RewriteRule ^wp-admin/install\\.php$ - [F,L]`.\n- Move login behind a custom path or IP allowlist and add rate limiting.\n- Strip the `Server` header: `Header unset Server`."},{"priority":3,"category":"Performance","title":"Raise document cache lifetime","impact":"Repeat-visit TTFB, cache hit rate","problem":"The document is served with `cache-control: max-age=0`, forcing revalidation on every navigation despite WP Rocket being active.","solution":"- In WP Rocket, enable browser caching for HTML with a short but non-zero TTL (e.g. `max-age=600`) and rely on cache purging on publish.\n- Verify the cookie-banner and consent state are not baked into the cached HTML."},{"priority":3,"category":"SEO","title":"Publish valid structured data","impact":"Rich results eligibility, Lighthouse `structuredData`","problem":"Lighthouse `structuredData` fails and the single JSON-LD block parses with type \"Unknown\" — no recognized schema.org entity.","solution":"Emit a `ContactPage` wrapping an `Organization` with `address`, `telephone` and `email` matching the visible contact details:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"ContactPage\",\"mainEntity\":{\"@type\":\"Organization\",\"name\":\"Estply\",\"telephone\":\"+372...\",\"address\":{\"@type\":\"PostalAddress\",\"addressCountry\":\"EE\"}}}\n```"},{"priority":3,"category":"Best Practices","title":"Add SRI to the jsDelivr script and stop disclosing the server","impact":"Supply-chain integrity, information disclosure","problem":"1 of 1 cross-origin scripts (`cdn.jsdelivr.net/.../iframemanager.js`) lacks an `integrity` attribute, and the `Server: Apache / ZoneOS` header discloses the stack.","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 iframemanager.js | openssl base64 -A`.\n- Strip the server banner: `Header unset Server` and `ServerTokens Prod`."},{"priority":3,"category":"Best Practices","title":"Harden the WordPress install surface","impact":"Attack surface, brute-force exposure","problem":"`/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path — both flagged as warnings by the security checklist.","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login to a custom path (WPS Hide Login or a rewrite rule) and add rate limiting / 2FA.\n- Note: the Security basics verdict is PASS, but PASS only means the basics are in place — it does **not** mean the site is secure: application logic, authentication, plugins, server configuration and dependencies are not tested here."},{"priority":3,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB, back/forward navigation","problem":"The document response carries `cache-control: max-age=0` despite WP Rocket being active, so every repeat visit re-downloads the 174 KB HTML.","solution":"- Let WP Rocket manage the document cache and emit a short but non-zero TTL, e.g. `Cache-Control: public, max-age=600, stale-while-revalidate=60`.\n- Keep `Vary: Accept-Encoding` (already present) and add an `ETag` so conditional requests return 304."},{"priority":3,"category":"Best Practices","title":"Fix the unused preload for rings.svg","impact":"Console noise, wasted preload bandwidth","problem":"The browser console warns that the preload for `/wp-content/themes/wordpress-base/inc/theme/img/rings.svg` is unused because the request credentials mode does not match.","solution":"- Add `crossorigin` to the preload link so it matches the consuming request:\n```html\n<link rel=\"preload\" href=\"/wp-content/themes/wordpress-base/inc/theme/img/rings.svg\" as=\"image\" type=\"image/svg+xml\" crossorigin>\n```\n- Or drop the preload entirely if the SVG is not on the critical path."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Anchor-text quality, screen-reader link lists","problem":"The page repeats vague anchors — \"kontakt\" ×3, \"meist\" ×2, \"tooted\" ×2, \"info@estply.com\" ×2 — across 73 anchors.","solution":"- Make anchor text describe the destination, e.g. \"Kontakt — Estply müügiosakond\" instead of a bare \"kontakt\".\n- Where the visible text must stay short, add `aria-label` with the full destination context."}],"coverage":{"pct":100,"missing":[]},"siteSummary":{"pagesAudited":5,"pagesAttempted":5,"urls":["https://estply.com/","https://estply.com/en/privacy-policy/","https://estply.com/privaatsuspoliitika/","https://estply.com/kupsiste-poliitika/","https://estply.com/kontakt/"]},"psiSnapshot":{"rows":[{"pageUrl":"https://estply.com/","perfMobile":74,"perfDesktop":79,"lcpMobileMs":4654,"lcpDesktopMs":2681,"clsMobile":0,"clsDesktop":0.0004418634010857216},{"pageUrl":"https://estply.com/en/privacy-policy/","perfMobile":86,"perfDesktop":99,"lcpMobileMs":3303,"lcpDesktopMs":721,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/privaatsuspoliitika/","perfMobile":96,"perfDesktop":99,"lcpMobileMs":2551,"lcpDesktopMs":721,"clsMobile":0.0003921743612943858,"clsDesktop":0},{"pageUrl":"https://estply.com/kupsiste-poliitika/","perfMobile":91,"perfDesktop":100,"lcpMobileMs":3451,"lcpDesktopMs":721,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/kontakt/","perfMobile":89,"perfDesktop":100,"lcpMobileMs":3451,"lcpDesktopMs":721,"clsMobile":0,"clsDesktop":0}]},"optimizationChecklist":{"items":[{"id":"caching","title":"Page caching plugin / CDN active","status":"pass","detail":"Caching plugin detected (WP Rocket)","evidence":["HTML markers: WP Rocket","generator: WP Rocket 3.23.5.1"]},{"id":"compression","title":"Response compressed (gzip / brotli)","status":"pass","detail":"Document response is compressed with gzip.","evidence":["content-encoding: gzip","decoded body: 89369 bytes","ratio: 0.247"]},{"id":"lazyload","title":"Images lazy-loaded","status":"pass","detail":"All non-hero raster images use loading=\"lazy\".","evidence":[]},{"id":"heroEager","title":"Hero image eagerly loaded","status":"fail","detail":"Hero image has loading=\"lazy\", which delays LCP (inferred from DOM order/size — Lighthouse LCP element unavailable). Use loading=\"eager\" (or omit loading) and add fetchpriority=\"high\".","evidence":["hero: …y.com/wp-content/uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png","loading: lazy","fetchpriority: (not set)"]},{"id":"heroBackground","title":"Hero is a real <img> (not a CSS background-image)","status":"n/a","detail":"No CSS background-images detected on raster-image-eligible elements.","evidence":[]},{"id":"responsive","title":"Responsive images (srcset / <picture>)","status":"n/a","detail":"Only 2 raster images on the page — responsive-image rule does not apply.","evidence":[]},{"id":"imageSizes","title":"Reasonable number of image sizes","status":"n/a","detail":"Too few raster images to evaluate srcset width variety.","evidence":[]},{"id":"scriptsFooter","title":"JS scripts not blocking in <head>","status":"pass","detail":"No render-blocking scripts in <head>.","evidence":[]}],"summary":{"passed":4,"warned":0,"failed":1,"notApplicable":3},"priorities":[{"title":"Hero image eagerly loaded","severity":"high","detail":"Hero image has loading=\"lazy\", which delays LCP (inferred from DOM order/size — Lighthouse LCP element unavailable). Use loading=\"eager\" (or omit loading) and add fetchpriority=\"high\"."}]},"perPageOverall":[{"url":"https://estply.com/","overall":66,"reasoning":"Mobile performance is the dominant drag: PSI mobile 74 vs desktop 79, but the underlying metrics diverge sharply — LCP 4.7 s mobile vs 2.7 s desktop and Speed Index 11.11 s vs 2.78 s, both far past the heavy-penalty thresholds, while TBT (0 ms), TTFB (3 ms), FCP (1.2 s) and CLS (0.000) are all clean. The runtime capture shows 2.70 MB of the 2.76 MB total is images across just 8 requests, and PSI's image-delivery insight estimates 276 KiB of savings, so image payload is the single biggest lever. Accessibility is split: axe-core reports 0 violations across 40 passes, but PSI accessibility lands at 91/96 with `button-name` and `target-size` scoring 0.00, and axe flagged 9 color-contrast nodes as incomplete. SEO sits at 85 with no meta description, an invalid robots.txt and no usable structured data, and W3C reports 12 errors (mostly WP Rocket `text/rocketlazyloadscript` blocks and malformed `srcset`/`sizes`). Security basics PASS — quoted disclaimer applies: \"These are high-level hygiene checks on HTTP headers, TLS, cookies and a few well-known exposed paths. PASS means the basics are in place. It does not mean the site is secure: application logic, authentication, plugins, server configuration and dependencies are not tested here. Treat FAILED as a must-fix and PASS as a starting point, not a certificate.\" — but the advanced tier fails on CSP strictness, HSTS preload, Referrer-Policy, Permissions-Policy, COOP/CORP and SRI, which keeps the SEO/Security budget partial.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Cut mobile LCP (4.7 s) and Speed Index (11.1 s)","impact":"LCP, Speed Index, mobile Performance score","problem":"Mobile LCP is 4.7 s against 2.7 s on desktop, and Speed Index is 11.11 s against 2.78 s — both far beyond the heavy-penalty thresholds, while TBT is 0 ms and TTFB is 3 ms, so the bottleneck is render/asset delivery, not server or main-thread work.","solution":"- Preload the actual LCP image and serve it at the right size:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/10/kaasik-kaupo-kalda-360x640.webp\"\n      imagesrcset=\"...\" imagesizes=\"...\" fetchpriority=\"high\">\n```\n- Work through PSI's `lcp-breakdown-insight` and `network-dependency-tree-insight` to find the render-blocking chain ahead of the hero.\n- Inline the critical CSS for the above-the-fold section and defer the two external stylesheets.\n- Re-test on throttled mobile after the image work below — Speed Index at 11 s usually collapses once hero bytes drop."},{"priority":1,"category":"Performance","title":"Reduce the 2.70 MB image payload","impact":"LCP, Speed Index, total page weight","problem":"Browser runtime shows 8 image requests totalling 2.70 MB out of 2.76 MB total page weight, and PSI's image-delivery insight estimates 276 KiB of savings.","solution":"- Convert the remaining JPG/PNG assets (e.g. `kaupokalda-com-dji_...jpg`, `estply-cta-1-520x140.jpg`, the two 251×134 PNGs) to WebP/AVIF; only the hero is WebP today.\n- Tighten the srcset ladder — 27 distinct widths up to 2560 px is excessive for a 360–520 px display slot; cap at the largest rendered size ×2.\n- Re-encode with quality ~75 and verify the 276 KiB Lighthouse saving lands."},{"priority":1,"category":"Accessibility","title":"Name all buttons and enlarge touch targets","impact":"PSI Accessibility (91 mobile / 96 desktop), WCAG 4.1.2, 2.5.8","problem":"PSI accessibility audits `button-name` and `target-size` both score 0.00 (weights 10 and 7) on mobile, even though axe-core reported 0 violations — the two tools are inspecting different DOM states.","solution":"- Give every `<button>` visible text or an `aria-label`:\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 (WCAG 2.5.8); pad icon-only controls rather than relying on the glyph box.\n- Re-run axe after JS hydration — the 0-violation axe pass likely ran before the menu/carousel buttons rendered."},{"priority":2,"category":"SEO","title":"Add meta description, fix robots.txt, add structured data","impact":"SEO score (85), SERP snippet, rich results eligibility","problem":"PSI SEO audits `meta-description`, `robots-txt` and `structured-data` all fail; the HTML inventory confirms `Description: not set` and a single JSON-LD block of type \"Unknown\".","solution":"- Add a unique description per page:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaal — ...\">\n```\n- Serve a valid `robots.txt` at the root (currently reported invalid) and reference the sitemap.\n- Replace the untyped JSON-LD with a real `Organization` / `Manufacturer` graph including `name`, `url`, `logo`, `address` and `sameAs`."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth, Lighthouse Best Practices","problem":"The CSP is `frame-ancestors 'self'` only — no `default-src`, no `object-src 'none'`, and no script or resource restrictions, so it provides clickjacking protection but no XSS mitigation.","solution":"The site has no auth, no payments and no forms on this page, so this is Priority 2 rather than 1 — but the `upload` anchor in the nav means user-supplied files may exist elsewhere, so tighten it before that surface grows. Use a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https://cdn.jsdelivr.net;\n  style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self'\n```\nRoll it out in report-only mode first — WP Rocket's lazyload rewriting and the CookieYes banner will need nonces."},{"priority":2,"category":"Best Practices","title":"Fix the 12 W3C validation errors","impact":"HTML validity, image loading behavior, Best Practices","problem":"W3C reports 12 errors, led by 5× `defer` on `type=\"text/rocketlazyloadscript\"` data blocks, an empty `href` on a `dns-prefetch` link, `src` on `<source>`, and two `srcset` values missing width descriptors.","solution":"- The `rocketlazyloadscript` errors are WP Rocket's lazyload rewriting; exclude the affected scripts from delay or switch to native `loading=\"lazy\"` where possible.\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:\n```html\n<img srcset=\"...6c041c12....png 251w\" sizes=\"251px\" loading=\"lazy\" width=\"251\" height=\"134\" alt=\"\">\n```\n- Add `loading=\"lazy\"` to the `<img>` using `sizes=\"auto\"` at line 310, or drop the `auto` prefix."},{"priority":2,"category":"Performance","title":"Stop serving the HTML document with max-age=0","impact":"Repeat-visit TTFB, FCP, LCP","problem":"The document response carries `cache-control: max-age=0` with `expires` equal to the request time, so every navigation revalidates the 87 KB HTML even though WP Rocket is installed.","solution":"- Let WP Rocket manage HTML caching and emit a short but non-zero TTL for anonymous visitors, e.g. `Cache-Control: public, max-age=600, s-maxage=3600` at the CDN edge.\n- Keep `max-age=0, no-cache` only for logged-in or cart sessions.\n- Verify the canonical URL is warmed after deploy so the first visitor does not pay the cold-start cost."},{"priority":3,"category":"Security","title":"Add the remaining low-cost security headers","impact":"Referrer leakage, feature abuse, cross-origin isolation, tech disclosure","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, HSTS lacks `preload`, the `Server: Apache / ZoneOS` header discloses the stack, and `/wp-admin/install.php` is reachable.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\nHeader unset Server\n```\n- Add `preload` to HSTS once you are confident in the subdomain set, then submit at hstspreload.org.\n- Block the installer: `<Files \"install.php\">\\n  Require all denied\\n</Files>`"},{"priority":3,"category":"Best Practices","title":"Add SRI to the jsDelivr script and clear the deprecation warning","impact":"Supply-chain integrity, Best Practices score (81)","problem":"1 of 1 cross-origin scripts (`iframemanager.js` from cdn.jsdelivr.net) lacks an `integrity` attribute, and PSI's `deprecations` audit scores 0.00 with 1 warning.","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- Better: self-host the 3 KB file to remove the third-party origin entirely.\n- Open DevTools console with \"Verbose\" to identify the deprecated API flagged by Lighthouse and replace it."},{"priority":3,"category":"Accessibility","title":"Verify the 9 unresolved color-contrast nodes and disambiguate repeated link text","impact":"WCAG 1.4.3, 2.4.4","problem":"axe-core returned 9 `color-contrast` nodes as \"incomplete\" (gradients/alpha backgrounds it cannot compute), and the inventory lists vague repeated anchors such as \"meist\" ×2, \"tooted\" ×2 and \"kontakt\" ×2.","solution":"- Manually check the 9 flagged nodes with DevTools' contrast picker against the actual composited background; target ≥4.5:1 for body text and ≥3:1 for large text.\n- Disambiguate repeated links with `aria-label` or visually hidden text:\n```html\n<a href=\"/meist/\">meist<span class=\"sr-only\"> — ESTPLY ettevõttest</span></a>\n```"}],"perfScore":74,"a11yScore":91,"bestPracticesScore":81,"seoScore":85,"securityScore":88,"securityVerdict":"PASS"},{"url":"https://estply.com/en/privacy-policy/","overall":73,"reasoning":"Mobile PSI is 86 (desktop 99) with clean CLS 0.000, TBT 0 ms and TTFB 3 ms, but LCP 3.3 s and a Speed Index of 6.83 s drag performance down — the checklist confirms the hero image is lazy-loaded with no fetchpriority, and render-blocking resources cost an estimated 690 ms. Accessibility is the weakest structural area despite axe reporting 0 violations: Lighthouse fails `button-name` (weight 10, score 0.00) and `target-size` (weight 7, score 0.00), and axe left 7 color-contrast nodes undetermined. SEO at 77 mobile is held back by a missing meta description, an invalid robots.txt, non-descriptive link text and undersized tap targets. Security basics PASS (HSTS, nosniff, framing, TLS, SPF/DMARC all good) but the advanced tier fails: CSP is only `frame-ancestors 'self'` with no default-src or object-src 'none', Referrer-Policy/Permissions-Policy/COOP/CORP are absent, and the jsdelivr script has no SRI. W3C reports 8 errors (5× `defer` on `text/rocketlazyloadscript` data blocks, 1× `async`, 2× srcset candidates missing width descriptors) — a warning-band result, not catastrophic. Mobile is materially worse than desktop on LCP (3.3 s vs 0.7 s) and Speed Index (6.83 s vs 1.33 s), which anchors the score in the 'needs improvement' band.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetchpriority","impact":"LCP, Speed Index","problem":"The optimized-web checklist fails 'Hero image eagerly loaded': the first raster image (`6c041c12…png`, 251×134) has `loading=\"lazy\"` and no `fetchpriority`, and mobile LCP is 3.3 s vs 0.7 s on desktop.","solution":"```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\"\n     width=\"251\" height=\"134\"\n     loading=\"eager\"\n     fetchpriority=\"high\"\n     decoding=\"async\">\n```\n- Remove `loading=\"lazy\"` from the LCP element only; keep it on below-the-fold images.\n- If the real LCP element is a heading or background, preload it instead:\n```html\n<link rel=\"preload\" as=\"image\" href=\"…\" fetchpriority=\"high\">\n```"},{"priority":1,"category":"Performance","title":"Eliminate render-blocking resources","impact":"Speed Index, FCP, LCP","problem":"PSI flags `render-blocking-insight` with an estimated 690 ms savings and `network-dependency-tree-insight`; Speed Index is 6.83 s on mobile against 1.33 s on desktop.","solution":"- Inline critical above-the-fold CSS and defer the two external stylesheets (34.6 KB total) via `media=\"print\" onload=\"this.media='all'\"` or WP Rocket's 'Optimize CSS delivery'.\n- Add `preconnect`/`preload` for the font files (`open-sans-regular.woff2`) and the jsdelivr origin.\n- Flatten the dependency chain: the document took 3.96 s in the runtime capture while TTFB was 3 ms, so the delay is client-side chain depth, not server response."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2, Lighthouse accessibility score","problem":"Lighthouse `button-name` scores 0.00 with weight 10 — buttons on the page have no accessible name, which is the single largest accessibility deduction (mobile 91).","solution":"- Add visible text or `aria-label` to each `<button>`:\n```html\n<button type=\"button\" aria-label=\"Open cookie settings\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- Mark decorative icons inside buttons `aria-hidden=\"true\"` so the label is the only announced text.\n- Re-run axe/Lighthouse to confirm `button-name` reaches 1.00."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"Lighthouse `target-size` scores 0.00 (weight 7) and the SEO `tapTargets` audit also fails — interactive elements are too small or too close together on mobile.","solution":"```css\n.icon-link, .menu a, .footer a {\n  min-width: 44px;\n  min-height: 44px;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n}\n```\n- Add spacing (`gap`/`margin`) so adjacent targets are at least 8 px apart."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, Lighthouse SEO (77 mobile)","problem":"HTML inventory shows `Description: not set` and Lighthouse `meta-description` scores 0.00.","solution":"```html\n<meta name=\"description\" content=\"How estply collects, uses and retains personal data, and how to exercise your GDPR rights.\">\n```\n- Keep it 120–155 characters and unique per page; in WordPress this is usually the Yoast/RankMath field."},{"priority":2,"category":"SEO","title":"Fix the invalid robots.txt","impact":"Crawlability, Lighthouse SEO","problem":"Lighthouse `robots-txt` scores 0.00 — 'robots.txt is not valid' — which can block or confuse crawlers.","solution":"- Fetch `https://estply.com/robots.txt` and validate it.\n- Ensure it is plain text, starts with `User-agent:`, and contains no HTML (a WordPress 404 page served at that path is the usual cause).\n- Reference the sitemap explicitly:\n```\nUser-agent: *\nAllow: /\nSitemap: https://estply.com/sitemap_index.xml\n```"},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so it restricts nothing about scripts or resources. The site also serves `/wp-login.php` on the default path, so an admin auth surface exists even though the audited page has no forms.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; require-trusted-types-for 'script'\n```\n- Roll out in `Content-Security-Policy-Report-Only` first and collect violations for a week.\n- Note the jsdelivr `iframemanager.js` dependency — either self-host it or allowlist `https://cdn.jsdelivr.net` narrowly."},{"priority":2,"category":"Best Practices","title":"Fix srcset candidates missing width descriptors","impact":"W3C validity, responsive image selection","problem":"W3C reports 2 errors: `srcset` values on the two `<img>` elements at lines 536 and 556 specify no width, which is invalid when `sizes` is present.","solution":"```html\n<!-- before -->\n<img srcset=\"/…/6c041c12….png\" sizes=\"(max-width: 600px) 100vw, 251px\">\n<!-- after -->\n<img srcset=\"/…/6c041c12….png 251w\" sizes=\"(max-width: 600px) 100vw, 251px\">\n```\n- Every candidate in a `srcset` must carry a `w` or `x` descriptor."},{"priority":2,"category":"Best Practices","title":"Remove defer/async from WP Rocket lazyload data blocks","impact":"W3C validity (6 of 8 errors)","problem":"W3C reports 5 errors for `defer` and 1 for `async` on `<script type=\"text/rocketlazyloadscript\">` — a non-JavaScript MIME type cannot carry those attributes.","solution":"- In WP Rocket → File Optimization, disable 'Delay JavaScript execution' for these snippets, or\n- Exclude the affected scripts (cookieyes, the Google tag) from delay so they emit as real `type=\"text/javascript\"` with `defer`.\n- Alternatively move the attributes into the `data-rocket-` namespace the plugin rewrites at runtime."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy leakage, cross-origin isolation","problem":"All four headers are missing per the security headers scan (each flagged low/advanced-fail).","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=(), interest-cohort=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Security","title":"Add SRI to the jsdelivr script and trim info disclosure","impact":"Supply-chain integrity, fingerprinting","problem":"1 of 1 cross-origin scripts (`iframemanager.js` from cdn.jsdelivr.net) lacks an `integrity` attribute, and the `Server: Apache / ZoneOS` header discloses the stack.","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- Better: self-host the 3 KB file and drop the third-party origin entirely.\n- Strip the version from the `Server` header (`ServerTokens Prod` in Apache)."},{"priority":3,"category":"Security","title":"Block the WordPress installer and move the login path","impact":"Attack 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<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Put `/wp-login.php` behind a WAF rule, IP allowlist, or a plugin that moves it to a custom slug.\n- Add `preload` to HSTS once the domain is submitted at hstspreload.org."},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor text quality, screen-reader navigation","problem":"HTML inventory finds 'here' ×2 plus repeated 'about us', 'products', 'resources', 'contact' anchors, and Lighthouse `link-text` scores 0.00 for 2 links.","solution":"- Replace 'here' with descriptive text: 'read our cookie policy', 'view the GDPR disclosures'.\n- Where the visible text must stay short, add `aria-label`:\n```html\n<a href=\"/en/contact/\" aria-label=\"Contact estply customer support\">contact</a>\n```"},{"priority":3,"category":"Performance","title":"Fix document cache-control","impact":"Repeat-visit TTFB, bfcache","problem":"The document response sends `cache-control: max-age=0` with no ETag, so repeat visits revalidate the full 77.5 KB HTML despite WP Rocket being active.","solution":"- Let WP Rocket serve a cached HTML response with a short `max-age` plus `stale-while-revalidate`:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Add an `ETag` so conditional requests can return 304 instead of a full body."}],"perfScore":86,"a11yScore":91,"bestPracticesScore":100,"seoScore":77,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/privaatsuspoliitika/","overall":88,"reasoning":"Performance is essentially solved: PSI mobile 96 / desktop 99 with LCP 2.6 s, CLS 0.000, TBT 0 ms, TTFB 3 ms and FCP 1.2 s — only LCP sits marginally in the 2.5–4 s warning band, and the mobile/desktop delta (2.6 s vs 0.7 s) is explained by throttling rather than a structural problem. Accessibility is the weakest area: Lighthouse mobile 91 with `button-name` (weight 10) and `target-size` (weight 7) both scoring 0.00, even though axe-core returned 0 violations across 40 passes and left 8 color-contrast nodes undetermined. SEO 92 is dragged by a missing meta description and an untyped JSON-LD block. Security basics PASS (HSTS ≥1 yr with includeSubDomains, nosniff, framing restricted, valid TLS, no exposed files), but the CSP is only `frame-ancestors 'self'` with no `default-src`/`object-src 'none'`, and Referrer-Policy, Permissions-Policy, COOP and CORP are all absent. W3C reports 8 errors — mostly WP Rocket's `text/rocketlazyloadscript` carrying `defer`/`async`, plus two `srcset` entries missing width descriptors — which is a partial drag rather than a functional failure.","confidence":"high","fixes":[{"priority":2,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name/Role/Value; Lighthouse accessibility score","problem":"Lighthouse `button-name` scores 0.00 with weight 10 on mobile, yet axe-core reported 0 violations — the unnamed buttons are likely inside the cookie-consent / iframe-manager UI that axe did not exercise.","solution":"- Add visible text or an `aria-label` to each `<button>`:\n```html\n<button type=\"button\" class=\"cookie-accept\" aria-label=\"Nõustu kõigi küpsistega\">OK</button>\n```\n- For icon-only buttons use a visually hidden span:\n```html\n<button type=\"button\"><span class=\"sr-only\">Sulge</span><svg aria-hidden=\"true\">…</svg></button>\n```\n- Re-run axe after interacting with the consent banner so the hidden UI is actually scanned."},{"priority":2,"category":"Performance","title":"Prioritise the LCP element instead of lazy-loading it","impact":"LCP (2.6 s mobile)","problem":"The Optimized-Web checklist fails \"Hero image eagerly loaded\": the first image (`…6c041c12….png`, 251×134) carries `loading=\"lazy\"` and no `fetchpriority`, while mobile LCP is 2.6 s.","solution":"- Identify the real LCP element in DevTools → Performance → Timings (the checklist heuristic is inferred and may point at the wrong node).\n- If it is an image, load it eagerly and hint it:\n```html\n<img src=\"…\" width=\"251\" height=\"134\" alt=\"…\" fetchpriority=\"high\" decoding=\"async\">\n```\n- If the LCP element is the `h1.hero-simple__title`, preload the font it uses and avoid `font-display: block`."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score (92), SERP snippet quality","problem":"PSI's `meta-description` audit scores 0.00 and the HTML inventory confirms `Description: not set` on a page that is indexed (`robots: index, follow`).","solution":"Add a unique description per language variant:\n```html\n<meta name=\"description\" content=\"Estply privaatsuspoliitika – milliseid andmeid me kogume, kuidas neid kasutame ja millised on teie õigused.\">\n```\nKeep it 120–155 characters and mirror it in the `en` version at `/en/privacy-policy/`."},{"priority":2,"category":"Performance","title":"Remove render-blocking CSS and trim unused rules","impact":"FCP, LCP, Speed Index (2.85 s mobile)","problem":"PSI's `render-blocking-insight` estimates 720 ms of savings and `unused-css-rules` 32 KiB; the page loads 2 external stylesheets plus 3 inline blocks (9.6 KB).","solution":"- Inline the critical above-the-fold CSS and defer the rest:\n```html\n<link rel=\"preload\" href=\"/wp-content/themes/…/style.css\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">\n```\n- Enable WP Rocket's \"Remove Unused CSS\" (Optimize CSS Delivery) and verify the generated used-CSS file covers the privacy-policy template.\n- Re-test with Lighthouse to confirm the 720 ms render-blocking estimate drops."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 Target Size; Lighthouse `target-size`","problem":"Lighthouse `target-size` scores 0.00 with weight 7 on mobile — footer and consent-banner controls are below the minimum size/spacing.","solution":"- Ensure every interactive control is at least 24×24 CSS px (WCAG 2.5.8 AA) and ideally 44×44 px:\n```css\n.footer a, .cookie-actions button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Add spacing between adjacent links so their hit areas do not overlap."},{"priority":2,"category":"Security","title":"Block /wp-admin/install.php","impact":"WordPress takeover surface","problem":"The Security basics checklist warns that the installer at `/wp-admin/install.php` is reachable — harmless while installed, but an open takeover path if the database ever becomes unreachable.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\nOr via the ZoneOS/WAF rule set. Verify with `curl -I https://estply.com/wp-admin/install.php` returning 403."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"The CSP is only `frame-ancestors 'self'` — the security-headers tool flags missing `default-src` and missing `object-src 'none'`, so no script or resource restriction is in place. Site signals show no auth, payments, UGC or commerce, so this is a hardening item rather than an urgent one.","solution":"Extend the existing header rather than replacing it:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'\n```\nIf you later add a login or user content, move to a nonce + `'strict-dynamic'` policy instead of a flat allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP; enable HSTS preload","impact":"Privacy leakage, cross-origin isolation, HSTS coverage","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and HSTS (`max-age=31536000; includeSubDomains`) lacks the `preload` directive.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"HTML validity, parser robustness","problem":"W3C reports 8 errors: 5× `text/rocketlazyloadscript` with `defer`, 1× with `async`, and 2× `srcset` candidates missing width descriptors (lines 545 and 565).","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer`/`async` are invalid on it. Either drop the attributes or switch to a real deferred script:\n```html\n<script type=\"text/javascript\" defer src=\"…\"></script>\n```\n- Add width descriptors to the two `srcset` values:\n```html\n<img src=\"…6c041c12….png\" srcset=\"…6c041c12….png 251w\" sizes=\"251px\" width=\"251\" height=\"134\" alt=\"\" loading=\"lazy\">\n```"},{"priority":3,"category":"Performance","title":"Set a usable Cache-Control for the HTML document","impact":"Repeat-visit TTFB, back/forward cache","problem":"The document response is served with `cache-control: max-age=0` and an `expires` timestamp equal to the request time, so every navigation revalidates the HTML despite WP Rocket being active.","solution":"- Let WP Rocket manage the HTML cache and emit a short but non-zero TTL for anonymous visitors:\n```\nCache-Control: public, max-age=600, stale-while-revalidate=86400\n```\n- Keep `max-age=0, must-revalidate` only for logged-in or cart-bearing sessions."},{"priority":3,"category":"Performance","title":"Serve the two PNGs as WebP/AVIF","impact":"Image bytes, LCP","problem":"The HTML inventory shows 2 raster images, both PNG, with 0 WebP — the only remaining modern-format gap on an otherwise lean 73.8 KB page.","solution":"- Convert both uploads to WebP and serve via `<picture>` with a PNG fallback, or enable WP Rocket's / your image CDN's automatic WebP conversion.\n- Keep the existing `width`/`height` and `loading=\"lazy\"` attributes intact."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and reduce fingerprinting","impact":"Supply-chain integrity, information disclosure","problem":"1 of 1 cross-origin scripts lacks an `integrity` attribute (`cdn.jsdelivr.net/…/iframemanager.js`), and the response advertises `Server: Apache / ZoneOS` while the login form sits on the default `/wp-login.php`.","solution":"- Pin the CDN asset with a hash:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\" integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\n- Strip or genericise the `Server` header at the proxy.\n- Move the login form behind a non-default path or add IP/2FA gating in front of `/wp-login.php`."},{"priority":3,"category":"SEO","title":"Disambiguate vague link text and type the JSON-LD block","impact":"Anchor-text relevance, rich-result eligibility","problem":"The HTML inventory flags repeated vague anchors (`siin` ×2, `meist` ×2, `tooted` ×2, `kontakt` ×2) and PSI's `structuredData` audit fails while the single JSON-LD block reports type `Unknown`.","solution":"- Replace bare `siin` / `meist` anchors with descriptive text, e.g. `siin` → `Estply privaatsuspoliitika kontaktandmed`.\n- Give the JSON-LD block an explicit `@type` (e.g. `WebPage` or `PrivacyPolicy`) and validate it in the Rich Results Test."}],"perfScore":96,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/kupsiste-poliitika/","overall":84,"reasoning":"Performance is strong overall — PSI mobile 91 / desktop 100, CLS 0.000, TBT 0 ms, TTFB 4 ms — but mobile LCP is 3.5 s versus 0.7 s on desktop, a 2.8 s gap driven by the hero image being served with loading=\"lazy\" and no fetchpriority. Accessibility scores 91 mobile / 96 desktop; axe-core reports 0 violations, yet Lighthouse still fails button-name (score 0.00, weight 10) and target-size (score 0.00, weight 7), so real WCAG 4.1.2 and 2.5.8 gaps remain. SEO is 92 with the meta description missing, and W3C reports 8 errors (5× defer and 1× async on text/rocketlazyloadscript data blocks, 2× srcset candidates without width descriptors). Security basics PASS, but the CSP is only frame-ancestors 'self' with no default-src or object-src 'none', and Referrer-Policy, Permissions-Policy, COOP and CORP are all absent — low-risk here since the site has no auth, payments, UGC or commerce signals. The page is otherwise lean (97 KB, 16 requests, 2 images, valid landmarks, hreflang and canonical in place), which keeps the score in the upper 'needs improvement' band rather than lower.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP (mobile 3.5 s vs desktop 0.7 s)","problem":"The optimized-web checklist flags the hero image (uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png) as loading=\"lazy\" with no fetchpriority, and mobile LCP is 3.5 s against a 0.7 s desktop value.","solution":"- Set `loading=\"eager\"` (or omit `loading`) and `fetchpriority=\"high\"` on the LCP image.\n- Add a preload hint in `<head>`:\n```html\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png\" fetchpriority=\"high\">\n```\n- Keep `loading=\"lazy\"` only on genuinely below-the-fold images."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; Lighthouse accessibility score","problem":"Lighthouse fails `button-name` with score 0.00 (weight 10) — \"Buttons do not have an accessible name\" — most likely the cookie-banner controls on this policy page.","solution":"- Add visible text or an `aria-label` to each button:\n```html\n<button type=\"button\" aria-label=\"Accept all cookies\">✓</button>\n```\n- For icon-only controls, keep the icon `aria-hidden=\"true\"` so the label is the only announced text."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 24×24 px (44×44 recommended)","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"Lighthouse fails `target-size` with score 0.00 (weight 7) — \"Touch targets do not have sufficient size or spacing.\"","solution":"- Increase padding/min-width/min-height on small links and buttons (cookie banner, footer links) to ≥44×44 px.\n- Add spacing between adjacent targets so their hit areas do not overlap."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score (92), SERP snippet quality","problem":"`meta-description` fails with score 0.00 and the HTML inventory confirms \"Description: not set\" on this cookie policy page.","solution":"Add a unique, ~150-character description in `<head>`:\n```html\n<meta name=\"description\" content=\"Estply küpsiste poliitika: milliseid küpsiseid me kasutame, miks ja kuidas oma eelistusi hallata.\">\n```\nMirror it for the English version at /en/cookie-policy/."},{"priority":2,"category":"Performance","title":"Cut render-blocking CSS and unused CSS","impact":"FCP, Speed Index, LCP","problem":"`render-blocking-insight` estimates 580 ms of savings and `unused-css-rules` estimates 32 KiB unused; mobile Speed Index is 2.59 s versus 479 ms on desktop.","solution":"- Inline critical above-the-fold CSS and defer the two external stylesheets.\n- Strip unused rules from the theme CSS (the page is a short text document — most component CSS is unused).\n- WP Rocket: enable \"Remove Unused CSS\" / Optimize CSS delivery and verify the cookie-banner styling still renders."},{"priority":2,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"HTML validity, image delivery correctness","problem":"W3C reports 8 errors: 5× `defer` and 1× `async` on `type=\"text/rocketlazyloadscript\"` data-block scripts, plus 2× `srcset` candidates with no width descriptor while `sizes` is present.","solution":"- WP Rocket lazyload: stop emitting `defer`/`async` on `type=\"text/rocketlazyloadscript\"` tags — move the delay into `data-rocket-defer` instead.\n- Add width descriptors to every `srcset` candidate:\n```html\n<img src=\"…251x134.png\"\n     srcset=\"…-251x134.png 251w, …-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 251px, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```"},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only `frame-ancestors 'self'` — no `default-src` and no `object-src 'none'`, so no script or resource restrictions apply. Site signals show no auth, payments, UGC or commerce, so this is a low-urgency hardening item rather than a P1.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self';\n```\nRoll it out in report-only mode first and watch for violations from the jsdelivr iframemanager script."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload","impact":"Privacy leakage, cross-origin isolation, HSTS coverage","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and HSTS (`max-age=31536000; includeSubDomains`) lacks the `preload` directive.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and trim WordPress exposure","impact":"Supply-chain integrity, takeover surface","problem":"1 of 1 cross-origin scripts (cdn.jsdelivr.net iframemanager) lacks an `integrity` attribute; `/wp-admin/install.php` is reachable and login is on the default `/wp-login.php` path; the `Server: Apache / ZoneOS` header discloses the stack.","solution":"- Add `integrity=\"sha384-…\" crossorigin=\"anonymous\"` to the jsDelivr `<script>`, or self-host the file.\n- Block the installer in `.htaccess`: `RewriteRule ^wp-admin/install\\.php$ - [F,L]`.\n- Move login behind a custom path or IP allowlist and add rate limiting.\n- Strip the `Server` header: `Header unset Server`."},{"priority":3,"category":"Performance","title":"Raise document cache lifetime","impact":"Repeat-visit TTFB, cache hit rate","problem":"The document is served with `cache-control: max-age=0`, forcing revalidation on every navigation despite WP Rocket being active.","solution":"- In WP Rocket, enable browser caching for HTML with a short but non-zero TTL (e.g. `max-age=600`) and rely on cache purging on publish.\n- Verify the cookie-banner and consent state are not baked into the cached HTML."}],"perfScore":91,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/kontakt/","overall":79,"reasoning":"PSI mobile 89 / desktop 100 with clean CLS (0.000) and TBT (0 ms), but mobile LCP is 3.5 s versus 0.7 s on desktop — a 2.8 s delta driven by a lazy-loaded hero image and 673.9 KB of image bytes out of 745.9 KB total page weight. Accessibility looks strong on axe-core (0 violations, 45 passes) yet Lighthouse still fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7), so the 92 mobile a11y score is not clean. Security basics PASS, but the CSP is only `frame-ancestors 'self'` with no `default-src` or `object-src 'none'`, and Referrer-Policy, Permissions-Policy, COOP and CORP are all absent. W3C reports 19 errors (mostly WP Rocket `text/rocketlazyloadscript` attributes, a charset meta after the first 1024 bytes, an empty `href`, and two `srcset` entries without widths), and the page has no meta description. Image hygiene is otherwise excellent — 22/22 WebP with srcset, explicit dimensions and lazy loading — which keeps the score in the upper-70s rather than lower.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Load the LCP image eagerly with high fetchpriority","impact":"LCP (mobile 3.5 s), Speed Index (3.83 s)","problem":"Mobile LCP is 3.5 s against 0.7 s on desktop, and the optimization checklist fails \"Hero image eagerly loaded\" — the flagged hero (cz5i9178-100x100.webp) carries `loading=\"lazy\"` and no `fetchpriority`.","solution":"Identify the real LCP element in DevTools (Performance → LCP) and make it eager:\n```html\n<img src=\"/wp-content/uploads/.../hero.webp\"\n     srcset=\"... 800w, ... 1600w\" sizes=\"100vw\"\n     width=\"1600\" height=\"900\"\n     fetchpriority=\"high\"\n     alt=\"...\">\n```\n- Remove `loading=\"lazy\"` from that one image only; keep it on everything below the fold.\n- If WP Rocket is rewriting the tag, exclude the hero from its lazyload list."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; Lighthouse accessibility score","problem":"Lighthouse `button-name` scores 0.00 at weight 10 — \"Buttons do not have an accessible name\" — even though axe-core reported 0 violations, so the buttons are icon-only or empty.","solution":"- Add visible text or `aria-label` to each `<button>`:\n```html\n<button type=\"submit\" aria-label=\"Saada vorm\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- For icon-only toggles (menu, cookie banner, carousel arrows) use `aria-label` plus `aria-expanded` where relevant.\n- Re-run Lighthouse after the change — `button-name` is the single heaviest failing a11y audit on this page."},{"priority":1,"category":"Security","title":"Complete the Content-Security-Policy (default-src, object-src 'none', nonce + strict-dynamic)","impact":"XSS mitigation, plugin/object injection","problem":"The CSP is only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions. The page contains a form with a `<textarea>` (hasUserContent signal), so injected script would run against real user input.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{RANDOM}' 'strict-dynamic' https:;\n  style-src 'self' 'unsafe-inline'; img-src 'self' data:;\n  frame-ancestors 'self'; form-action 'self'; upgrade-insecure-requests\n```\n- Roll out in `Content-Security-Policy-Report-Only` first and watch reports for a week before enforcing.\n- WordPress + WP Rocket inject inline scripts; the nonce must be generated per request and passed to the inline `<script>` tags."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 Target Size; Lighthouse `target-size` (weight 7)","problem":"Lighthouse `target-size` scores 0.00 at weight 7 — \"Touch targets do not have sufficient size and spacing\" — and the page has 73 anchors, many of them small inline links.","solution":"- Ensure every interactive element is at least 24×24 CSS px (WCAG 2.5.8 AA) and ideally 44×44 px.\n- Add padding to inline links inside body copy so the hit area grows without changing the visual layout:\n```css\na.inline-link { display: inline-block; padding: 10px 4px; }\n```\n- Increase spacing between adjacent footer/social icon links to at least 8 px."},{"priority":2,"category":"Performance","title":"Cut image weight — 168 KiB of savings identified","impact":"LCP, Speed Index, total page weight","problem":"Images account for 673.9 KB of the 745.9 KB page (17 requests), and PSI `image-delivery-insight` estimates 168 KiB of avoidable savings.","solution":"- Audit the 19 distinct srcset widths (100–2561 px) — the 100×100 thumbnails are being served at sizes far above their display box.\n- Tighten `sizes` so mobile does not download desktop-width candidates:\n```html\n<img srcset=\"...400w, ...800w, ...1600w\" sizes=\"(max-width: 600px) 100vw, 50vw\">\n```\n- Re-encode any remaining oversized WebP at quality 75–80 and verify with `cwebp -q 80`.\n- Consider AVIF for the largest hero/photo assets."},{"priority":2,"category":"Performance","title":"Eliminate forced reflow in theme JavaScript","impact":"Main-thread work, Speed Index, INP","problem":"PSI flags `forced-reflow-insight` at high priority and records a 52 ms long task on the document; Speed Index is 3.83 s on mobile.","solution":"- Batch DOM reads before writes; never interleave `offsetWidth`/`getBoundingClientRect()` with style mutations in a loop.\n- Use `requestAnimationFrame` for layout reads and `ResizeObserver` instead of scroll/resize handlers that force layout.\n- Profile with DevTools Performance → \"Layout\" track to find the forced synchronous layout call sites in `core.7c21cc2eb9f1534d.js`."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score (92), SERP snippet quality","problem":"The document has no meta description — Lighthouse `meta-description` scores 0.00 and the HTML inventory confirms \"Description: not set\".","solution":"Add a 120–155 character description in Estonian, matching the page language (`lang=\"et\"`):\n```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- Add a matching `og:description` and `twitter:description`."},{"priority":2,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP; enable HSTS preload","impact":"Information leakage, cross-origin isolation, HSTS coverage","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and HSTS (`max-age=31536000; includeSubDomains`) lacks the `preload` directive.","solution":"```\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=(), payment=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Only add `preload` once you are confident every subdomain is HTTPS-only, then submit at hstspreload.org."},{"priority":2,"category":"Best Practices","title":"Fix the 19 W3C validation errors","impact":"HTML validity, encoding correctness, image rendering","problem":"W3C reports 19 errors: 12× `script type=\"text/rocketlazyloadscript\"` with `defer`, a `charset` meta placed after the first 1024 bytes, an empty `href` on a `dns-prefetch` link, 2 hidden inputs with `autocomplete`, and 2 `srcset` values without widths.","solution":"- Move `<meta charset=\"utf-8\">` to be the very first element inside `<head>` (currently at line 6, after the 1024-byte mark).\n- Remove the empty prefetch link: `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">`.\n- Add widths to the two offending `srcset` candidates:\n```html\n<img srcset=\".../img-800.png 800w, .../img-1600.png 1600w\" sizes=\"...\">\n```\n- Drop `autocomplete` from the hidden Gravity Forms inputs, and stop WP Rocket from adding `defer`/`async` to `type=\"text/rocketlazyloadscript\"` blocks."},{"priority":3,"category":"SEO","title":"Publish valid structured data","impact":"Rich results eligibility, Lighthouse `structuredData`","problem":"Lighthouse `structuredData` fails and the single JSON-LD block parses with type \"Unknown\" — no recognized schema.org entity.","solution":"Emit a `ContactPage` wrapping an `Organization` with `address`, `telephone` and `email` matching the visible contact details:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"ContactPage\",\"mainEntity\":{\"@type\":\"Organization\",\"name\":\"Estply\",\"telephone\":\"+372...\",\"address\":{\"@type\":\"PostalAddress\",\"addressCountry\":\"EE\"}}}\n```"},{"priority":3,"category":"Best Practices","title":"Add SRI to the jsDelivr script and stop disclosing the server","impact":"Supply-chain integrity, information disclosure","problem":"1 of 1 cross-origin scripts (`cdn.jsdelivr.net/.../iframemanager.js`) lacks an `integrity` attribute, and the `Server: Apache / ZoneOS` header discloses the stack.","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 iframemanager.js | openssl base64 -A`.\n- Strip the server banner: `Header unset Server` and `ServerTokens Prod`."},{"priority":3,"category":"Best Practices","title":"Harden the WordPress install surface","impact":"Attack surface, brute-force exposure","problem":"`/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path — both flagged as warnings by the security checklist.","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login to a custom path (WPS Hide Login or a rewrite rule) and add rate limiting / 2FA.\n- Note: the Security basics verdict is PASS, but PASS only means the basics are in place — it does **not** mean the site is secure: application logic, authentication, plugins, server configuration and dependencies are not tested here."},{"priority":3,"category":"Performance","title":"Allow browser caching of the HTML document","impact":"Repeat-visit TTFB, back/forward navigation","problem":"The document response carries `cache-control: max-age=0` despite WP Rocket being active, so every repeat visit re-downloads the 174 KB HTML.","solution":"- Let WP Rocket manage the document cache and emit a short but non-zero TTL, e.g. `Cache-Control: public, max-age=600, stale-while-revalidate=60`.\n- Keep `Vary: Accept-Encoding` (already present) and add an `ETag` so conditional requests return 304."},{"priority":3,"category":"Best Practices","title":"Fix the unused preload for rings.svg","impact":"Console noise, wasted preload bandwidth","problem":"The browser console warns that the preload for `/wp-content/themes/wordpress-base/inc/theme/img/rings.svg` is unused because the request credentials mode does not match.","solution":"- Add `crossorigin` to the preload link so it matches the consuming request:\n```html\n<link rel=\"preload\" href=\"/wp-content/themes/wordpress-base/inc/theme/img/rings.svg\" as=\"image\" type=\"image/svg+xml\" crossorigin>\n```\n- Or drop the preload entirely if the SVG is not on the critical path."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Anchor-text quality, screen-reader link lists","problem":"The page repeats vague anchors — \"kontakt\" ×3, \"meist\" ×2, \"tooted\" ×2, \"info@estply.com\" ×2 — across 73 anchors.","solution":"- Make anchor text describe the destination, e.g. \"Kontakt — Estply müügiosakond\" instead of a bare \"kontakt\".\n- Where the visible text must stay short, add `aria-label` with the full destination context."}],"perfScore":89,"a11yScore":92,"bestPracticesScore":100,"seoScore":92,"securityScore":83,"securityVerdict":"PASS"}]}