{"url":"https://estply.com/","date":"2026-10-31","siteName":"Avaleht - estply","overall":85,"reasoning":"Site overall 85 is the mean of 5 pages. Scores range 84 (https://estply.com/) → 87 (https://estply.com/kontakt/). Weakest page: Performance is excellent — PSI mobile 99 / desktop 94, LCP 1.1 s, CLS 0.000, TBT 0 ms mobile — and CrUX field data is 'fast' on every metric except mobile TTFB (1093 ms p75, 'average'). The main drags are elsewhere: 2.66 MB of images out of a 2.72 MB page (PSI image-delivery-insight estimates 231 KiB savings, and only the hero is WebP), two failing accessibility audits in PSI (button-name weight 10, target-size weight 7) despite axe reporting 0 violations, and a missing meta description that caps SEO at 92. Security basics PASS, but advanced header checks fail — the CSP is only `frame-ancestors 'self'` with no default-src or object-src, and Referrer-Policy, Permissions-Policy, COOP and CORP are all absent. W3C reports 11 errors (mostly WP Rocket lazyload script `type`/`defer` conflicts and malformed srcset/sizes), which is in the warning band. Desktop is slightly worse than mobile on TBT (169 ms vs 0 ms) and Speed Index, but the divergence is small and does not change the verdict.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; PSI accessibility score","problem":"PSI's `button-name` audit scores 0.00 with weight 10 — buttons on the page have no accessible name, even though axe-core reported 0 violations (axe likely skipped icon-only controls).","solution":"Add visible text or an `aria-label` to each button:\n```html\n<button type=\"button\" aria-label=\"Open search\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\nIf the button only wraps an icon, also add `aria-hidden=\"true\"` to the SVG so the label is not doubled."},{"priority":1,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 Target Size; PSI `target-size` audit (weight 7)","problem":"PSI's `target-size` audit scores 0.00 — touch targets lack sufficient size or spacing, which is a real problem on the mobile-first index.","solution":"- Ensure every link/button is at least 24×24 CSS px (44×44 recommended) or has 24 px of spacing.\n- Common offenders: footer social icons, breadcrumb links, and small inline text links.\n```css\n.icon-link { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }\n```"},{"priority":1,"category":"Accessibility","title":"Enlarge touch targets to 24×24 px minimum (44×44 recommended)","impact":"WCAG 2.5.8 Target Size; Lighthouse `target-size` (weight 7)","problem":"Lighthouse `target-size` scores 0.00 on mobile — interactive elements are too small or too tightly spaced for touch.","solution":"- Add padding rather than growing the icon: `a.icon { padding: 10px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }`\n- Ensure ≥8 px spacing between adjacent targets.\n- Re-run Lighthouse mobile to confirm `target-size` passes."},{"priority":1,"category":"Accessibility","title":"Enlarge touch targets to at least 24×24 px (44×44 recommended)","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"PSI `target-size` fails with score 0.00 and weight 7, and the SEO category also flags `tapTargets`.","solution":"- Ensure interactive elements have a minimum 44×44 CSS px hit area (24×24 is the WCAG 2.5.8 floor).\n- Add padding rather than enlarging icons:\n```css\na.icon, button.icon {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  min-width: 44px;\n  min-height: 44px;\n}\n```\n- Add spacing between adjacent links/footer items so targets do not overlap."},{"priority":2,"category":"Performance","title":"Convert remaining JPG/PNG images to WebP/AVIF","impact":"Page weight, LCP, image-delivery-insight","problem":"Browser runtime shows 8 images totalling 2.66 MB of a 2.72 MB page; only the hero is WebP, and PSI's image-delivery-insight estimates 231 KiB of savings.","solution":"- Re-encode the large JPEG/PNG assets (`dsc_5118-648x432.jpg`, `estply-cta-1-1560x420.jpg`, the two 251×134 PNGs) as WebP/AVIF.\n- Serve via `<picture>` with a fallback:\n```html\n<picture>\n  <source type=\"image/avif\" srcset=\"img-800.avif 800w, img-1600.avif 1600w\" sizes=\"(max-width:800px) 100vw, 800px\">\n  <img src=\"img-800.jpg\" srcset=\"img-800.jpg 800w, img-1600.jpg 1600w\" sizes=\"(max-width:800px) 100vw, 800px\" width=\"800\" height=\"533\" alt=\"…\" loading=\"lazy\">\n</picture>\n```\n- The 28 distinct srcset widths are excessive; trim to 4–5 breakpoints per image."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score (currently 92), SERP snippet quality","problem":"HTML inventory reports `Description: not set`, and PSI's `meta-description` audit scores 0.00.","solution":"Add a unique 140–160 character description per page:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaal — kaasaegne vineeritehas ja usaldusväärne tarnija.\">\n```\nAlso give the single JSON-LD block a concrete `@type` (currently reported as `Unknown`) — `Organization` or `LocalBusiness` fits a manufacturer."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth; CSP strictness check","problem":"CSP is present but only sets `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  img-src 'self' data: https:; style-src 'self' 'unsafe-inline'; frame-ancestors 'self'\n```\nNote: this is a brochure site with no auth, payments or real user-generated content (the `upload` signal is a nav link, not a UGC surface), so treat this as hardening rather than an active exposure."},{"priority":2,"category":"Best Practices","title":"Fix the 11 W3C validation errors","impact":"HTML validity, image loading correctness","problem":"W3C reports 11 errors: 5× `script type=\"text/rocketlazyloadscript\"` with `defer`, 1× empty `href` on a `dns-prefetch` link, 1× `async` on the same data-block script, and 4× srcset/sizes mismatches (missing width descriptors, `sizes` starting with `auto` on a non-lazy image).","solution":"- In WP Rocket, disable \"Delay JS execution\" for the affected snippets, or change the injected `type` to `text/javascript` so `defer`/`async` are valid.\n- Remove the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` at line 35.\n- Fix the two `srcset` values at lines 793/813 to include width descriptors, e.g. `srcset=\"…png 251w\"`.\n- Add `loading=\"lazy\"` to the `sizes=\"auto…\"` image at line 309, or drop the `auto` prefix."},{"priority":2,"category":"Performance","title":"Reduce document TTFB and stop serving HTML with max-age=0","impact":"TTFB (CrUX mobile 1093 ms p75), repeat-visit performance","problem":"CrUX mobile TTFB is 1093 ms p75 ('average'), and the document response carries `cache-control: max-age=0`, so every navigation revalidates the full 87 KB HTML.","solution":"- Enable WP Rocket page caching for anonymous visitors and serve cached HTML from the edge/CDN.\n- Raise the document cache lifetime for anonymous traffic:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Investigate origin response time (Apache/ZoneOS) — the 2.65 s document request in the runtime capture is the outlier."},{"priority":2,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP, Speed Index","problem":"The optimized-web checklist fails 'Hero image eagerly loaded': the first raster image (`…/6c041c12…png`) carries `loading=\"lazy\"` and no `fetchpriority`, delaying LCP discovery.","solution":"```html\n<img src=\"…/6c041c12….png\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" alt=\"\">\n```\nKeep `loading=\"lazy\"` on everything below the fold."},{"priority":2,"category":"Performance","title":"Fix srcset candidates missing width descriptors","impact":"Responsive image selection, W3C validity","problem":"W3C reports 2 errors: both `<img>` elements use `sizes` but their `srcset` entries specify no width, so the browser cannot pick a candidate.","solution":"```html\n<img src=\"…/6c041c12….png\"\n     srcset=\"…/6c041c12-251x134.png 251w, …/6c041c12-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\" loading=\"lazy\">\n```\nEvery candidate in a `srcset` used with `sizes` must carry a `w` descriptor."},{"priority":2,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only as `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so it restricts nothing about scripts or resources.","solution":"Add the missing directives (nonce-based, not a flat allowlist):\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self'\n```\nRoll out in report-only mode first (`Content-Security-Policy-Report-Only`) to catch inline WP Rocket and jsdelivr dependencies."},{"priority":2,"category":"Performance","title":"Serve the HTML document from cache","impact":"TTFB, Speed Index","problem":"The document response carries `cache-control: max-age=0` while CrUX field TTFB is 1093 ms mobile (rated 'average') — every visit re-generates the page despite WP Rocket being active.","solution":"- Confirm WP Rocket page caching is enabled for this URL and that the privacy-policy page isn't in the exclusion list.\n- Serve cached HTML with a short TTL plus revalidation, e.g. `Cache-Control: public, max-age=600, s-maxage=3600`.\n- Warm the cache after deploy so the first visitor doesn't pay the cold-start cost."},{"priority":2,"category":"Performance","title":"Cut render-blocking CSS and unused rules","impact":"Speed Index (3.57 s mobile), FCP","problem":"PSI flags `render-blocking-insight` (est. 760 ms savings) and `unused-css-rules` (est. 32 KiB) on mobile; Speed Index is 3.57 s versus 1.03 s desktop.","solution":"- Inline the critical above-the-fold CSS and defer `global.3578d4f0….css` (34.3 KB) with `media=\"print\" onload=\"this.media='all'\"`.\n- Purge unused rules from the theme stylesheet — 32 KiB of the 34 KB file is reported unused.\n- Re-measure Speed Index on mobile after the change."},{"priority":2,"category":"SEO","title":"Disambiguate vague and repeated link text","impact":"WCAG 2.4.4, Lighthouse `link-text`","problem":"Lighthouse `link-text` scores 0.00 (2 links) and the inventory shows 'here' ×2 plus repeated 'about us', 'products', 'resources', 'contact' anchors.","solution":"- Replace 'here' with the destination: `<a href=\"/en/contact/\">contact our data protection officer</a>`.\n- Where the visible text must stay short, add `aria-label` with the full purpose.\n- Add `aria-label` to repeated nav links that appear in both header and footer."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 target size; mobile usability","problem":"Lighthouse `target-size` scores 0.00 (weight 7) — touch targets lack sufficient size or spacing, which hurts mobile users on the cookie banner and footer links.","solution":"- Ensure interactive elements are at least 24×24 CSS px (WCAG 2.5.8 minimum) and ideally 44×44 px.\n- Add padding rather than increasing font size:\n```css\n.footer a, .cookie-consent button { display:inline-flex; align-items:center; min-height:44px; min-width:44px; padding:0 12px; }\n```\n- Verify spacing between adjacent targets so a 24 px circle centred on each does not overlap."},{"priority":2,"category":"Best Practices","title":"Fix W3C validation errors in lazyload script tags and srcset","impact":"HTML validity; lazy-load reliability","problem":"W3C reports 8 errors: 5× `defer` and 1× `async` on `<script type=\"text/rocketlazyloadscript\">` data blocks, plus 2× `srcset` candidates missing width descriptors while `sizes` is present.","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer`/`async` are invalid there — WP Rocket already rewrites these at runtime. Exclude the affected scripts from the lazyload optimisation in WP Rocket settings (\"Excluded JavaScript Files\") or disable \"Delay JavaScript execution\" for the cookie-consent script.\n- Add width descriptors to the two `srcset` values (lines 544 and 564):\n```html\n<img src=\"…6c041c12….png\" srcset=\"…6c041c12….png 251w\" sizes=\"251px\" width=\"251\" height=\"134\" loading=\"lazy\" alt=\"\">\n```"},{"priority":2,"category":"Performance","title":"Eliminate render-blocking resources to cut Speed Index","impact":"Speed Index, FCP, LCP","problem":"`render-blocking-insight` estimates 580 ms of savings and Speed Index is 4.28 s on mobile (1.46 s desktop) — the lowest-scoring performance audit at 0.76.","solution":"- Inline the critical above-the-fold CSS (WP Rocket → File Optimization → Optimize CSS delivery).\n- Defer the two external stylesheets (`34.6 KB` total) until after first paint.\n- Preload the font files (3 requests currently report 0 B transferred but still gate text paint).\n- Re-measure Speed Index after each change; target < 3.4 s on mobile."},{"priority":2,"category":"Performance","title":"Stop sending cache-control: max-age=0 on the document","impact":"TTFB, repeat-visit performance","problem":"The document response is served with `cache-control: max-age=0`, and CrUX mobile TTFB p75 is 1093 ms ('average') versus 751 ms on desktop.","solution":"- Let WP Rocket / the CDN serve a short but non-zero browser TTL for HTML, e.g. `cache-control: public, max-age=600, s-maxage=86400`.\n- Keep `Vary: Accept-Encoding` (already present).\n- Confirm the edge cache is warmed for the canonical URL after each deploy."},{"priority":2,"category":"Security","title":"Harden the WordPress install and login paths","impact":"Attack surface, brute-force exposure","problem":"Security basics warns that `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n# Block the installer once the site is installed\n<Files \"install.php\">\n  Require all denied\n</Files>\n\n# Restrict wp-login.php to known IPs, or front it with a custom path\n<Files \"wp-login.php\">\n  Require ip 203.0.113.0/24\n</Files>\n```\n- Add rate limiting / 2FA on the login endpoint (a plugin such as Limit Login Attempts or Wordfence)."},{"priority":2,"category":"SEO","title":"Add a meta description to the contact page","impact":"Search snippet quality; PSI SEO score","problem":"HTML inventory shows `Description: not set` and PSI fails the `meta-description` audit (score 0.00), holding SEO at 92 on both strategies.","solution":"Add a unique, ~150-character description in the page head (or via the SEO plugin's per-page settings):\n```html\n<meta name=\"description\" content=\"Võta Estplyga ühendust — kontaktandmed, logistika ja laadimise info ning meie meeskond. Vastame tööpäeviti.\">\n```\nAlso add `og:description` to match the existing Open Graph block."},{"priority":2,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS mitigation; header hygiene","problem":"CSP is only `frame-ancestors 'self'` — the audit flags missing `default-src` and `object-src 'none'`, so no script or resource restrictions exist. The page also contains a contact form with a `<textarea>`, so submitted input is reflected/stored somewhere.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{RANDOM}' 'strict-dynamic' https:;\n  style-src 'self' 'unsafe-inline'; img-src 'self' data: https:;\n  frame-ancestors 'self'; form-action 'self'; upgrade-insecure-requests\n```\n- WordPress + WP Rocket + jsdelivr will need nonce injection or `'strict-dynamic'` propagation; test in report-only mode first.\n- Keep `frame-ancestors 'self'` (already present) alongside `X-Frame-Options: SAMEORIGIN`."},{"priority":2,"category":"Performance","title":"Reduce field TTFB and stop the document being uncacheable","impact":"TTFB, LCP, FCP (field)","problem":"CrUX mobile TTFB is 1093 ms p75 ('average') while lab TTFB is 3 ms, and the document response carries `cache-control: max-age=0` with no ETag — every visit revalidates against origin.","solution":"- Confirm WP Rocket page cache is actually serving this URL (the HTML shows `cache-control: max-age=0`, which suggests a cache bypass or a miss).\n- Exclude the contact page from dynamic-cookie bypass rules if it renders statically.\n- Add an ETag or serve `Cache-Control: public, max-age=600, s-maxage=86400` for anonymous visitors.\n- Check origin server response time and consider full-page CDN caching in front of Apache."},{"priority":2,"category":"Best Practices","title":"Fix the 19 W3C HTML validation errors","impact":"Markup correctness, parser robustness","problem":"W3C reports 19 errors: 12× `script type=\"text/rocketlazyloadscript\"` with `defer`, 1× `charset` meta after the first 1024 bytes, 1× empty `href` on a `dns-prefetch` link, 2× `srcset` candidates missing widths, 2× hidden inputs with `autocomplete`.","solution":"- Move `<meta charset=\"utf-8\">` to the very first line of `<head>` (before any script).\n- Remove the empty `href` on the `data-rocket-prefetch` link or drop the tag.\n- Add width descriptors to the two `srcset` values flagged at lines 1625 and 1645, e.g. `srcset=\"…png 1x\"` or use `w` descriptors with `sizes`.\n- Remove `autocomplete` from hidden Gravity Forms inputs.\n- The 12 `rocketlazyloadscript` + `defer` errors come from WP Rocket; update the plugin or exclude those specific scripts from delay."},{"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 (advanced checks: Referrer-Policy fail, Permissions-Policy fail, COOP fail, CORP 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 enable HSTS preload","impact":"Supply-chain integrity, HSTS coverage","problem":"1 of 1 cross-origin scripts (`cdn.jsdelivr.net/.../iframemanager.js`) lacks an `integrity` attribute, and HSTS is set without `preload`.","solution":"- Add `integrity=\"sha384-…\" crossorigin=\"anonymous\"` to the jsDelivr `<script>`, or self-host the file.\n- Append `preload` once you are confident every subdomain is HTTPS-only:\n```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\nThen submit at hstspreload.org."},{"priority":3,"category":"Security","title":"Harden the WordPress install surface","impact":"Brute-force and takeover risk","problem":"Security basics flags `/wp-admin/install.php` as reachable and the login form served on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (custom login slug plugin, or IP allowlist on `/wp-login.php`), and add rate limiting / 2FA.\n- Strip the `Server: Apache / ZoneOS` header (`ServerTokens Prod`, `ServerSignature Off`)."},{"priority":3,"category":"Accessibility","title":"Manually verify the 9 indeterminate color-contrast nodes","impact":"WCAG 1.4.3 Contrast (Minimum)","problem":"axe-core returned 0 violations but flagged 9 nodes as 'incomplete' for color contrast — these are elements with gradients, alpha transparency or background images that axe cannot evaluate automatically.","solution":"- Inspect each flagged node in DevTools with the contrast checker, including hover/focus states.\n- Target ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold).\n- Pay particular attention to text over the hero image and any CTA buttons."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"WCAG 2.4.4 Link Purpose; crawlability","problem":"HTML inventory lists 8 link texts repeated 2–3 times each (\"käitumiskoodeks\" ×3, \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2, etc.), which is ambiguous for screen readers and search engines.","solution":"- Add `aria-label` where context is not obvious, e.g. `<a href=\"/et/tooted/\" aria-label=\"Tooted — vineeritooted\">Tooted</a>`.\n- Where the repeats are nav vs. footer duplicates, differentiate with the surrounding heading or a visually-hidden span."},{"priority":3,"category":"Security","title":"Add the remaining hardening headers","impact":"Referrer leakage, feature abuse, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing; HSTS lacks `preload`; the jsdelivr script has no `integrity` attribute.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\nAdd SRI to the CDN script:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nSubmit the domain to hstspreload.org only after confirming every subdomain is HTTPS-only."},{"priority":3,"category":"Best Practices","title":"Clean up WP Rocket lazyload script attributes","impact":"W3C validity (6 of 8 errors)","problem":"W3C reports 5 errors for `type=\"text/rocketlazyloadscript\"` carrying `defer` and 1 for the same type carrying `async` — a data-block script type must not have those attributes.","solution":"- WP Rocket rewrites `src` to `data-rocket-src` and swaps `type` at runtime; the `defer`/`async` attributes should be dropped from the rewritten tag and re-applied by the loader.\n- If the plugin version can't be changed, exclude the affected scripts from lazyload in WP Rocket → File Optimization → Excluded JavaScript Files.\n- Re-validate at validator.w3.org after the change."},{"priority":3,"category":"SEO","title":"Add structured data and verify contrast manually","impact":"Rich results eligibility, WCAG 1.4.3","problem":"PSI `structuredData` fails and the single JSON-LD block is typed 'Unknown'; axe-core could not determine contrast on 7 nodes.","solution":"- Emit a valid `Organization` (or `WebPage`) JSON-LD block with `@context`, `@type`, `name`, `url`.\n- Manually check the 7 undetermined contrast nodes with DevTools' contrast picker — axe skips elements with alpha transparency or gradients.\n- Confirm the two `alt=\"\"` images are genuinely decorative; if they convey meaning, give them alt text."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so it restricts nothing about scripts or resources. Site signals show no auth, payments, user content or commerce, so this is low-risk today.","solution":"If you later add a login or accept user input, move to a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; script-src 'nonce-{random}' 'strict-dynamic';\n```\nNote the site loads `cdn.jsdelivr.net` (iframemanager) — a nonce + `'strict-dynamic'` approach avoids having to allowlist that host."},{"priority":3,"category":"Security","title":"Add HSTS preload and suppress the Server header","impact":"Transport hardening; technology disclosure","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`, and the response discloses `Server: Apache / ZoneOS`.","solution":"- Append `preload` to HSTS and submit the domain at hstspreload.org:\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Strip the server banner:\n```\nServerSignature Off\nHeader unset Server\n```"},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor-text quality; screen-reader link lists","problem":"HTML inventory flags repeated vague anchors — \"siin\" ×2, \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2 — which are ambiguous out of context.","solution":"- Replace \"siin\" with descriptive text (e.g. \"lugege privaatsuspoliitikat\").\n- Where the visible text must stay short, add `aria-label`:\n```html\n<a href=\"/kontakt/\" aria-label=\"Võtke meiega ühendust\">kontakt</a>\n```"},{"priority":3,"category":"Security","title":"Block the WordPress installer and move the login path","impact":"Brute-force and takeover surface","problem":"Security basics warns that `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Add rate limiting / 2FA on `/wp-login.php`, or front it with a custom login slug via a security plugin.\n- Add `integrity` + `crossorigin` to the jsDelivr `iframemanager.js` script tag (1 of 1 cross-origin scripts lacks SRI)."},{"priority":3,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"The CSP is only `frame-ancestors 'self'` — `default-src` is missing and `object-src` is not `'none'`. Site signals show no auth, payments, user content or e-commerce, so this is a P3 hardening item rather than an urgent one.","solution":"- Add the cheap directives now:\n```\nContent-Security-Policy: frame-ancestors 'self'; object-src 'none'; base-uri 'self'; default-src 'self'\n```\n- If a login or user content is ever added, move to a nonce + `'strict-dynamic'` policy rather than a flat allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload","impact":"Privacy, cross-origin isolation, HSTS coverage","problem":"Advanced checks fail for Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy; HSTS lacks the `preload` directive and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains; preload\"\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\nHeader unset Server\n```\n- Submit the domain at hstspreload.org once the preload directive is live."},{"priority":3,"category":"Best Practices","title":"Remove defer/async from WP Rocket's data-block scripts","impact":"W3C validity (8 errors)","problem":"W3C reports 6 errors from `<script type=\"text/rocketlazyloadscript\">` blocks carrying `defer` (×5) and `async` (×1) — attributes that are invalid on non-JavaScript data blocks.","solution":"- These are emitted by WP Rocket's delay-JS execution feature. Either disable 'Delay JavaScript execution' for this template, or exclude the affected scripts (CookieYes, iframemanager) from delay.\n- Alternatively accept them as a known validator false-positive class and suppress the rule in CI."},{"priority":3,"category":"SEO","title":"Add meaningful structured data","impact":"Rich results eligibility","problem":"The single JSON-LD block is reported with type `Unknown`, and PSI's `structured-data` audit fails.","solution":"- Emit a valid `WebPage` / `Organization` graph with `@context`, `@type`, `name`, `url` and `inLanguage` matching the `et` page.\n- Validate with the Rich Results Test after the change."},{"priority":3,"category":"Accessibility","title":"Verify the 6 unresolved color-contrast nodes","impact":"WCAG 1.4.3 Contrast (Minimum)","problem":"axe-core returned 0 violations but flagged 6 nodes under 'Elements must meet minimum color contrast ratio thresholds' as incomplete — likely text over gradients or with alpha transparency.","solution":"- Inspect each of the 6 nodes in DevTools and confirm text/background contrast is ≥ 4.5:1 (≥ 3:1 for large text).\n- Replace gradient or semi-transparent backgrounds behind body copy with a solid colour, or darken the text token."},{"priority":3,"category":"Performance","title":"Serve the two PNGs as WebP","impact":"Image bytes (16 KiB estimated savings)","problem":"`image-delivery-insight` estimates 16 KiB of savings and both raster images on the page are PNG with no WebP/AVIF variant.","solution":"- Convert both uploads to WebP and reference them via `<picture>` with a PNG fallback.\n- Low absolute impact (30 KB of images total) — do this alongside the srcset fix rather than as a standalone project."},{"priority":3,"category":"Performance","title":"Trim render-blocking CSS and unused CSS","impact":"FCP, LCP, Speed Index","problem":"PSI flags `render-blocking-insight` with an estimated 580 ms of savings and `unused-css-rules` with 32 KiB unused, plus `image-delivery-insight` at 74 KiB.","solution":"- Inline critical above-the-fold CSS and defer `global.3578d4f092e5450b.css` (34.3 KB) via `media=\"print\" onload` or WP Rocket's Optimize CSS Delivery.\n- Purge unused selectors with PurgeCSS or the theme's build step.\n- Re-encode the largest remaining images to AVIF/WebP at the sizes actually rendered (74 KiB estimated savings)."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and suppress the Server header","impact":"Supply-chain integrity, information disclosure","problem":"1 of 1 cross-origin scripts (`iframemanager.js` from cdn.jsdelivr.net) lacks an `integrity` attribute, and the response discloses `Server: Apache / ZoneOS`.","solution":"- Add `integrity` + `crossorigin=\"anonymous\"` to the jsDelivr `<script>` tag (generate the hash from the exact pinned version).\n- Suppress the banner: `ServerTokens Prod` and `ServerSignature Off` in Apache, or strip it at the CDN/proxy layer."},{"priority":3,"category":"Security","title":"Harden WordPress entry points","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 (both warnings).","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login form behind a custom path or a WAF rule, and rate-limit `/wp-login.php`."},{"priority":3,"category":"Performance","title":"Verify the hero image is not lazy-loaded","impact":"LCP","problem":"The optimized-web checklist fails 'Hero image eagerly loaded' — it detected `loading=\"lazy\"` on the first image, but that image is a 100×100 thumbnail and lab LCP is already 1.1 s, so the heuristic likely mis-identified the LCP element.","solution":"- Confirm the real LCP element in DevTools Performance panel.\n- If it is an `<img>`, set `loading=\"eager\"` and `fetchpriority=\"high\"` on it and keep `loading=\"lazy\"` on everything below the fold."},{"priority":3,"category":"Accessibility","title":"Manually verify contrast on the 6 undetermined nodes","impact":"WCAG 1.4.3 Contrast (Minimum)","problem":"axe-core returned 0 violations but left 6 nodes 'incomplete' for color-contrast — typically text over gradients, images, or with alpha transparency.","solution":"- Inspect the 6 flagged nodes in DevTools with the contrast checker.\n- Target ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold)."},{"priority":3,"category":"Performance","title":"Fix the preload credentials-mode mismatch","impact":"Unused preload, wasted request","problem":"Console warning: the preload for `…/theme/img/rings.svg` is not used 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```\nOr remove the preload if the SVG is not on the critical path."}],"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":99,"perfDesktop":94,"lcpMobileMs":1052,"lcpDesktopMs":301,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/en/privacy-policy/","perfMobile":99,"perfDesktop":100,"lcpMobileMs":1052,"lcpDesktopMs":281,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/privaatsuspoliitika/","perfMobile":100,"perfDesktop":100,"lcpMobileMs":1051,"lcpDesktopMs":281,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/kupsiste-poliitika/","perfMobile":98,"perfDesktop":99,"lcpMobileMs":1051,"lcpDesktopMs":281,"clsMobile":0,"clsDesktop":0},{"pageUrl":"https://estply.com/kontakt/","perfMobile":100,"perfDesktop":100,"lcpMobileMs":1051,"lcpDesktopMs":281,"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.24"]},{"id":"compression","title":"Response compressed (gzip / brotli)","status":"pass","detail":"Document response is compressed with gzip.","evidence":["content-encoding: gzip","decoded body: 89485 bytes","ratio: 0.246"]},{"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":84,"reasoning":"Performance is excellent — PSI mobile 99 / desktop 94, LCP 1.1 s, CLS 0.000, TBT 0 ms mobile — and CrUX field data is 'fast' on every metric except mobile TTFB (1093 ms p75, 'average'). The main drags are elsewhere: 2.66 MB of images out of a 2.72 MB page (PSI image-delivery-insight estimates 231 KiB savings, and only the hero is WebP), two failing accessibility audits in PSI (button-name weight 10, target-size weight 7) despite axe reporting 0 violations, and a missing meta description that caps SEO at 92. Security basics PASS, but advanced header checks fail — the CSP is only `frame-ancestors 'self'` with no default-src or object-src, and Referrer-Policy, Permissions-Policy, COOP and CORP are all absent. W3C reports 11 errors (mostly WP Rocket lazyload script `type`/`defer` conflicts and malformed srcset/sizes), which is in the warning band. Desktop is slightly worse than mobile on TBT (169 ms vs 0 ms) and Speed Index, but the divergence is small and does not change the verdict.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; PSI accessibility score","problem":"PSI's `button-name` audit scores 0.00 with weight 10 — buttons on the page have no accessible name, even though axe-core reported 0 violations (axe likely skipped icon-only controls).","solution":"Add visible text or an `aria-label` to each button:\n```html\n<button type=\"button\" aria-label=\"Open search\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\nIf the button only wraps an icon, also add `aria-hidden=\"true\"` to the SVG so the label is not doubled."},{"priority":1,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 Target Size; PSI `target-size` audit (weight 7)","problem":"PSI's `target-size` audit scores 0.00 — touch targets lack sufficient size or spacing, which is a real problem on the mobile-first index.","solution":"- Ensure every link/button is at least 24×24 CSS px (44×44 recommended) or has 24 px of spacing.\n- Common offenders: footer social icons, breadcrumb links, and small inline text links.\n```css\n.icon-link { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }\n```"},{"priority":2,"category":"Performance","title":"Convert remaining JPG/PNG images to WebP/AVIF","impact":"Page weight, LCP, image-delivery-insight","problem":"Browser runtime shows 8 images totalling 2.66 MB of a 2.72 MB page; only the hero is WebP, and PSI's image-delivery-insight estimates 231 KiB of savings.","solution":"- Re-encode the large JPEG/PNG assets (`dsc_5118-648x432.jpg`, `estply-cta-1-1560x420.jpg`, the two 251×134 PNGs) as WebP/AVIF.\n- Serve via `<picture>` with a fallback:\n```html\n<picture>\n  <source type=\"image/avif\" srcset=\"img-800.avif 800w, img-1600.avif 1600w\" sizes=\"(max-width:800px) 100vw, 800px\">\n  <img src=\"img-800.jpg\" srcset=\"img-800.jpg 800w, img-1600.jpg 1600w\" sizes=\"(max-width:800px) 100vw, 800px\" width=\"800\" height=\"533\" alt=\"…\" loading=\"lazy\">\n</picture>\n```\n- The 28 distinct srcset widths are excessive; trim to 4–5 breakpoints per image."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score (currently 92), SERP snippet quality","problem":"HTML inventory reports `Description: not set`, and PSI's `meta-description` audit scores 0.00.","solution":"Add a unique 140–160 character description per page:\n```html\n<meta name=\"description\" content=\"ESTPLY toodab kvaliteetset kasevineeri Jõgevamaal — kaasaegne vineeritehas ja usaldusväärne tarnija.\">\n```\nAlso give the single JSON-LD block a concrete `@type` (currently reported as `Unknown`) — `Organization` or `LocalBusiness` fits a manufacturer."},{"priority":2,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth; CSP strictness check","problem":"CSP is present but only sets `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  img-src 'self' data: https:; style-src 'self' 'unsafe-inline'; frame-ancestors 'self'\n```\nNote: this is a brochure site with no auth, payments or real user-generated content (the `upload` signal is a nav link, not a UGC surface), so treat this as hardening rather than an active exposure."},{"priority":2,"category":"Best Practices","title":"Fix the 11 W3C validation errors","impact":"HTML validity, image loading correctness","problem":"W3C reports 11 errors: 5× `script type=\"text/rocketlazyloadscript\"` with `defer`, 1× empty `href` on a `dns-prefetch` link, 1× `async` on the same data-block script, and 4× srcset/sizes mismatches (missing width descriptors, `sizes` starting with `auto` on a non-lazy image).","solution":"- In WP Rocket, disable \"Delay JS execution\" for the affected snippets, or change the injected `type` to `text/javascript` so `defer`/`async` are valid.\n- Remove the empty `<link data-rocket-prefetch href=\"\" rel=\"dns-prefetch\">` at line 35.\n- Fix the two `srcset` values at lines 793/813 to include width descriptors, e.g. `srcset=\"…png 251w\"`.\n- Add `loading=\"lazy\"` to the `sizes=\"auto…\"` image at line 309, or drop the `auto` prefix."},{"priority":2,"category":"Performance","title":"Reduce document TTFB and stop serving HTML with max-age=0","impact":"TTFB (CrUX mobile 1093 ms p75), repeat-visit performance","problem":"CrUX mobile TTFB is 1093 ms p75 ('average'), and the document response carries `cache-control: max-age=0`, so every navigation revalidates the full 87 KB HTML.","solution":"- Enable WP Rocket page caching for anonymous visitors and serve cached HTML from the edge/CDN.\n- Raise the document cache lifetime for anonymous traffic:\n```\nCache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=60\n```\n- Investigate origin response time (Apache/ZoneOS) — the 2.65 s document request in the runtime capture is the outlier."},{"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 (advanced checks: Referrer-Policy fail, Permissions-Policy fail, COOP fail, CORP 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 enable HSTS preload","impact":"Supply-chain integrity, HSTS coverage","problem":"1 of 1 cross-origin scripts (`cdn.jsdelivr.net/.../iframemanager.js`) lacks an `integrity` attribute, and HSTS is set without `preload`.","solution":"- Add `integrity=\"sha384-…\" crossorigin=\"anonymous\"` to the jsDelivr `<script>`, or self-host the file.\n- Append `preload` once you are confident every subdomain is HTTPS-only:\n```\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\nThen submit at hstspreload.org."},{"priority":3,"category":"Security","title":"Harden the WordPress install surface","impact":"Brute-force and takeover risk","problem":"Security basics flags `/wp-admin/install.php` as reachable and the login form served on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or protect the login path (custom login slug plugin, or IP allowlist on `/wp-login.php`), and add rate limiting / 2FA.\n- Strip the `Server: Apache / ZoneOS` header (`ServerTokens Prod`, `ServerSignature Off`)."},{"priority":3,"category":"Accessibility","title":"Manually verify the 9 indeterminate color-contrast nodes","impact":"WCAG 1.4.3 Contrast (Minimum)","problem":"axe-core returned 0 violations but flagged 9 nodes as 'incomplete' for color contrast — these are elements with gradients, alpha transparency or background images that axe cannot evaluate automatically.","solution":"- Inspect each flagged node in DevTools with the contrast checker, including hover/focus states.\n- Target ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold).\n- Pay particular attention to text over the hero image and any CTA buttons."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"WCAG 2.4.4 Link Purpose; crawlability","problem":"HTML inventory lists 8 link texts repeated 2–3 times each (\"käitumiskoodeks\" ×3, \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2, etc.), which is ambiguous for screen readers and search engines.","solution":"- Add `aria-label` where context is not obvious, e.g. `<a href=\"/et/tooted/\" aria-label=\"Tooted — vineeritooted\">Tooted</a>`.\n- Where the repeats are nav vs. footer duplicates, differentiate with the surrounding heading or a visually-hidden span."}],"perfScore":99,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/en/privacy-policy/","overall":84,"reasoning":"Performance is essentially solved: PSI mobile 99 / desktop 100, lab LCP 1.1 s, TBT 0 ms, CLS 0.000, and CrUX field data confirms it (LCP 1332 ms, INP 79 ms p75). The drag comes from three places. Accessibility sits at 91 mobile because Lighthouse's `button-name` (weight 10) and `target-size` (weight 7) both score 0.00 — even though axe-core reports 0 violations and 7 undetermined contrast nodes, so the two tools disagree on the same page. SEO is 85 with no meta description and 2 non-descriptive links, and W3C logs 8 errors (6 from WP Rocket's `text/rocketlazyloadscript` carrying defer/async, 2 from srcset candidates missing width descriptors). Security basics PASS, but the CSP is only `frame-ancestors 'self'` with no default-src or object-src, and Referrer-Policy, Permissions-Policy, COOP and CORP are all absent; field TTFB of 1093 ms mobile (rated 'average') alongside `cache-control: max-age=0` on the document suggests the HTML is not served from cache. Mobile/desktop divergence is small (99 vs 100 performance, 91 vs 96 accessibility), so no mobile-first penalty beyond the accessibility gap.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name/Role/Value; Lighthouse accessibility score","problem":"Lighthouse `button-name` scores 0.00 with weight 10 on mobile — buttons render with no text or aria-label. axe-core did not flag it, so the affected controls are likely icon-only buttons injected or styled differently at runtime.","solution":"Audit every `<button>` and add a name:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- Prefer visible text; use `aria-label` only when the icon is the sole content.\n- Mark decorative SVGs `aria-hidden=\"true\"` so they don't pollute the name."},{"priority":1,"category":"Accessibility","title":"Enlarge touch targets to 24×24 px minimum (44×44 recommended)","impact":"WCAG 2.5.8 Target Size; Lighthouse `target-size` (weight 7)","problem":"Lighthouse `target-size` scores 0.00 on mobile — interactive elements are too small or too tightly spaced for touch.","solution":"- Add padding rather than growing the icon: `a.icon { padding: 10px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }`\n- Ensure ≥8 px spacing between adjacent targets.\n- Re-run Lighthouse mobile to confirm `target-size` passes."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score (85), SERP snippet quality","problem":"`meta-description` scores 0.00 — the document has no `<meta name=\"description\">`, so Google will synthesise a snippet from page copy.","solution":"Add a unique 120–155 character description per page:\n```html\n<meta name=\"description\" content=\"How estply collects, uses and retains personal data, and how to exercise your GDPR rights.\">\n```\nIn WordPress, populate the Yoast/RankMath description field rather than hard-coding it in the template."},{"priority":2,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP, Speed Index","problem":"The optimized-web checklist fails 'Hero image eagerly loaded': the first raster image (`…/6c041c12…png`) carries `loading=\"lazy\"` and no `fetchpriority`, delaying LCP discovery.","solution":"```html\n<img src=\"…/6c041c12….png\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" alt=\"\">\n```\nKeep `loading=\"lazy\"` on everything below the fold."},{"priority":2,"category":"Performance","title":"Fix srcset candidates missing width descriptors","impact":"Responsive image selection, W3C validity","problem":"W3C reports 2 errors: both `<img>` elements use `sizes` but their `srcset` entries specify no width, so the browser cannot pick a candidate.","solution":"```html\n<img src=\"…/6c041c12….png\"\n     srcset=\"…/6c041c12-251x134.png 251w, …/6c041c12-502x268.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\" loading=\"lazy\">\n```\nEvery candidate in a `srcset` used with `sizes` must carry a `w` descriptor."},{"priority":2,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only as `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so it restricts nothing about scripts or resources.","solution":"Add the missing directives (nonce-based, not a flat allowlist):\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self'\n```\nRoll out in report-only mode first (`Content-Security-Policy-Report-Only`) to catch inline WP Rocket and jsdelivr dependencies."},{"priority":2,"category":"Performance","title":"Serve the HTML document from cache","impact":"TTFB, Speed Index","problem":"The document response carries `cache-control: max-age=0` while CrUX field TTFB is 1093 ms mobile (rated 'average') — every visit re-generates the page despite WP Rocket being active.","solution":"- Confirm WP Rocket page caching is enabled for this URL and that the privacy-policy page isn't in the exclusion list.\n- Serve cached HTML with a short TTL plus revalidation, e.g. `Cache-Control: public, max-age=600, s-maxage=3600`.\n- Warm the cache after deploy so the first visitor doesn't pay the cold-start cost."},{"priority":2,"category":"Performance","title":"Cut render-blocking CSS and unused rules","impact":"Speed Index (3.57 s mobile), FCP","problem":"PSI flags `render-blocking-insight` (est. 760 ms savings) and `unused-css-rules` (est. 32 KiB) on mobile; Speed Index is 3.57 s versus 1.03 s desktop.","solution":"- Inline the critical above-the-fold CSS and defer `global.3578d4f0….css` (34.3 KB) with `media=\"print\" onload=\"this.media='all'\"`.\n- Purge unused rules from the theme stylesheet — 32 KiB of the 34 KB file is reported unused.\n- Re-measure Speed Index on mobile after the change."},{"priority":2,"category":"SEO","title":"Disambiguate vague and repeated link text","impact":"WCAG 2.4.4, Lighthouse `link-text`","problem":"Lighthouse `link-text` scores 0.00 (2 links) and the inventory shows 'here' ×2 plus repeated 'about us', 'products', 'resources', 'contact' anchors.","solution":"- Replace 'here' with the destination: `<a href=\"/en/contact/\">contact our data protection officer</a>`.\n- Where the visible text must stay short, add `aria-label` with the full purpose.\n- Add `aria-label` to repeated nav links that appear in both header and footer."},{"priority":3,"category":"Security","title":"Add the remaining hardening headers","impact":"Referrer leakage, feature abuse, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing; HSTS lacks `preload`; the jsdelivr script has no `integrity` attribute.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\nStrict-Transport-Security: max-age=31536000; includeSubDomains; preload\n```\nAdd SRI to the CDN script:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nSubmit the domain to hstspreload.org only after confirming every subdomain is HTTPS-only."},{"priority":3,"category":"Best Practices","title":"Clean up WP Rocket lazyload script attributes","impact":"W3C validity (6 of 8 errors)","problem":"W3C reports 5 errors for `type=\"text/rocketlazyloadscript\"` carrying `defer` and 1 for the same type carrying `async` — a data-block script type must not have those attributes.","solution":"- WP Rocket rewrites `src` to `data-rocket-src` and swaps `type` at runtime; the `defer`/`async` attributes should be dropped from the rewritten tag and re-applied by the loader.\n- If the plugin version can't be changed, exclude the affected scripts from lazyload in WP Rocket → File Optimization → Excluded JavaScript Files.\n- Re-validate at validator.w3.org after the change."},{"priority":3,"category":"Security","title":"Harden the WordPress install surface","impact":"Attack surface, brute-force exposure","problem":"Security basics flags `/wp-admin/install.php` as reachable and the login form served on the default `/wp-login.php` path (both 'warn').","solution":"```apache\n# block the installer\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move or front the login with a plugin / basic-auth at the edge.\n- Enable rate limiting and 2FA on `/wp-login.php`.\n- Suppress the `Server: Apache / ZoneOS` header (`ServerTokens Prod`, `ServerSignature Off`)."},{"priority":3,"category":"SEO","title":"Add structured data and verify contrast manually","impact":"Rich results eligibility, WCAG 1.4.3","problem":"PSI `structuredData` fails and the single JSON-LD block is typed 'Unknown'; axe-core could not determine contrast on 7 nodes.","solution":"- Emit a valid `Organization` (or `WebPage`) JSON-LD block with `@context`, `@type`, `name`, `url`.\n- Manually check the 7 undetermined contrast nodes with DevTools' contrast picker — axe skips elements with alpha transparency or gradients.\n- Confirm the two `alt=\"\"` images are genuinely decorative; if they convey meaning, give them alt text."}],"perfScore":99,"a11yScore":91,"bestPracticesScore":100,"seoScore":85,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/privaatsuspoliitika/","overall":84,"reasoning":"Performance is essentially flawless: PSI 100/100 on both mobile and desktop, lab LCP 1.1 s, CLS 0.000, TBT 0 ms, and CrUX field data all 'fast' except mobile TTFB at 1093 ms p75 ('average'). Accessibility is the main drag — PSI mobile 91 vs desktop 96, with `button-name` (weight 10) and `target-size` (weight 7) both scoring 0.00, even though axe-core reported 0 violations and left 8 color-contrast nodes as 'incomplete'. SEO sits at 92 because the page has no meta description, and W3C reports 8 errors (5× `defer` on `type=\"text/rocketlazyloadscript\"` data blocks, 1× `async`, 2× srcset candidates missing width descriptors). Security basics PASS with HSTS, nosniff, framing protection and HTTPS redirect all in place, but advanced checks fail on CSP strictness (only `frame-ancestors 'self'`, no `default-src`/`object-src 'none'`), HSTS preload, Referrer-Policy, Permissions-Policy, COOP and CORP — all low-risk here since the site has no auth, payments, user content or commerce. The optimized-web checklist flags the hero image as `loading=\"lazy\"` with no `fetchpriority`, a cheap LCP safeguard despite the already-fast 1.1 s.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; PSI accessibility score","problem":"Lighthouse flags `button-name` at score 0.00 with weight 10 — the single heaviest failing audit and the main reason mobile accessibility is 91 instead of 100.","solution":"- Add visible text or an `aria-label` to each `<button>`:\n```html\n<button type=\"button\" class=\"menu-toggle\" aria-label=\"Ava menüü\" aria-expanded=\"false\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\n- For icon-only controls, prefer `aria-label` over `title`; ensure the inner SVG has `aria-hidden=\"true\"` and `focusable=\"false\"` so it isn't announced twice."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 target size; mobile usability","problem":"Lighthouse `target-size` scores 0.00 (weight 7) — touch targets lack sufficient size or spacing, which hurts mobile users on the cookie banner and footer links.","solution":"- Ensure interactive elements are at least 24×24 CSS px (WCAG 2.5.8 minimum) and ideally 44×44 px.\n- Add padding rather than increasing font size:\n```css\n.footer a, .cookie-consent button { display:inline-flex; align-items:center; min-height:44px; min-width:44px; padding:0 12px; }\n```\n- Verify spacing between adjacent targets so a 24 px circle centred on each does not overlap."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR; PSI SEO score","problem":"HTML inventory shows `Description: not set` and Lighthouse fails `meta-description`, holding SEO at 92 on both strategies.","solution":"Add a unique, ~150–160 character description in Estonian on the privacy page (and the matching English page):\n```html\n<meta name=\"description\" content=\"Estply privaatsuspoliitika: milliseid isikuandmeid kogume, kuidas neid töötleme, kui kaua säilitame ja millised on teie õigused GDPRi alusel.\">\n```\nIf the SEO plugin manages metadata, set it in the page's Yoast/RankMath snippet editor instead of hardcoding."},{"priority":2,"category":"Best Practices","title":"Fix W3C validation errors in lazyload script tags and srcset","impact":"HTML validity; lazy-load reliability","problem":"W3C reports 8 errors: 5× `defer` and 1× `async` on `<script type=\"text/rocketlazyloadscript\">` data blocks, plus 2× `srcset` candidates missing width descriptors while `sizes` is present.","solution":"- WP Rocket's `text/rocketlazyloadscript` is a data block, so `defer`/`async` are invalid there — WP Rocket already rewrites these at runtime. Exclude the affected scripts from the lazyload optimisation in WP Rocket settings (\"Excluded JavaScript Files\") or disable \"Delay JavaScript execution\" for the cookie-consent script.\n- Add width descriptors to the two `srcset` values (lines 544 and 564):\n```html\n<img src=\"…6c041c12….png\" srcset=\"…6c041c12….png 251w\" sizes=\"251px\" width=\"251\" height=\"134\" loading=\"lazy\" alt=\"\">\n```"},{"priority":2,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP","problem":"The optimized-web checklist fails \"Hero image eagerly loaded\": the first image (`…6c041c12….png`) uses `loading=\"lazy\"` and has no `fetchpriority`, delaying LCP discovery.","solution":"```html\n<img src=\"…6c041c12….png\" width=\"251\" height=\"134\" loading=\"eager\" fetchpriority=\"high\" alt=\"\">\n```\nKeep `loading=\"lazy\"` on everything below the fold. Confirm visually which element is the real LCP — the heuristic picks the first/largest `<img>`."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, so it restricts nothing about scripts or resources. Site signals show no auth, payments, user content or commerce, so this is low-risk today.","solution":"If you later add a login or accept user input, move to a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'; script-src 'nonce-{random}' 'strict-dynamic';\n```\nNote the site loads `cdn.jsdelivr.net` (iframemanager) — a nonce + `'strict-dynamic'` approach avoids having to allowlist that host."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Information leakage, feature abuse, origin isolation","problem":"All four headers are missing from the response; the security-basics advanced tier marks each as fail.","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-origin\"\n```"},{"priority":3,"category":"Security","title":"Add HSTS preload and suppress the Server header","impact":"Transport hardening; technology disclosure","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`, and the response discloses `Server: Apache / ZoneOS`.","solution":"- Append `preload` to HSTS and submit the domain at hstspreload.org:\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Strip the server banner:\n```\nServerSignature Off\nHeader unset Server\n```"},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor-text quality; screen-reader link lists","problem":"HTML inventory flags repeated vague anchors — \"siin\" ×2, \"meist\" ×2, \"tooted\" ×2, \"kontakt\" ×2 — which are ambiguous out of context.","solution":"- Replace \"siin\" with descriptive text (e.g. \"lugege privaatsuspoliitikat\").\n- Where the visible text must stay short, add `aria-label`:\n```html\n<a href=\"/kontakt/\" aria-label=\"Võtke meiega ühendust\">kontakt</a>\n```"},{"priority":3,"category":"Security","title":"Block the WordPress installer and move the login path","impact":"Brute-force and takeover surface","problem":"Security basics warns that `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Add rate limiting / 2FA on `/wp-login.php`, or front it with a custom login slug via a security plugin.\n- Add `integrity` + `crossorigin` to the jsDelivr `iframemanager.js` script tag (1 of 1 cross-origin scripts lacks SRI)."}],"perfScore":100,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/kupsiste-poliitika/","overall":84,"reasoning":"Performance is the strongest area: PSI mobile 98 / desktop 99 with clean lab CWV (LCP 1.1 s, CLS 0.000, TBT 0 ms) and CrUX p75 all 'fast' except mobile TTFB at 1093 ms ('average'). Accessibility is the weakest dimension — PSI mobile a11y is 91 (desktop 96) with `button-name` (weight 10) and `target-size` (weight 7) both scoring 0.00, and axe flagged 6 color-contrast nodes it could not resolve. SEO sits at 92 because the page ships no meta description and no usable structured data (JSON-LD type reported as Unknown). Security basics returned PASS — these are high-level hygiene checks on HTTP headers, TLS, cookies and a few well-known exposed paths; PASS means the basics are in place, it does **not** mean the site is secure: application logic, authentication, plugins, server configuration and dependencies are not tested here — but advanced checks fail on CSP strictness, Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload, and W3C reports 8 errors. Remaining drags are the 4.28 s mobile Speed Index (desktop 1.46 s), `cache-control: max-age=0` on the document, and a lazy-loaded hero image.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; PSI accessibility score","problem":"PSI's `button-name` audit scores 0.00 at weight 10 on mobile, and mobile accessibility is 91 vs 96 on desktop — unnamed buttons are the single largest accessibility failure on the page.","solution":"- Add visible text or an `aria-label` to each `<button>`:\n```html\n<button type=\"button\" aria-label=\"Ava küpsiste eelistused\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\n- For icon-only toggles, keep the icon `aria-hidden=\"true\"` so the label is the only accessible name.\n- Re-run Lighthouse `button-name` and axe to confirm the score reaches 1.00."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8 Target Size; PSI `target-size` (weight 7)","problem":"PSI's `target-size` audit scores 0.00 at weight 7 on mobile — touch targets do not have sufficient size or spacing.","solution":"- Ensure every interactive element is at least 44×44 CSS px, or add enough spacing that a 44 px circle centred on it does not overlap a neighbour.\n```css\n.icon-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Pay particular attention to footer/nav icon links and the cookie-banner controls."},{"priority":2,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP, FCP","problem":"The Optimized-Web checklist fails 'Hero image eagerly loaded': the first image (`…6c041c12….png`, 251×134) carries `loading=\"lazy\"` and no `fetchpriority`.","solution":"```html\n<img src=\"…/6c041c12….png\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" alt=\"\">\n```\n- Keep `loading=\"lazy\"` on the second, below-the-fold image only.\n- Verify visually which element is the real LCP element — the heuristic picks the first/largest `<img>`."},{"priority":2,"category":"Performance","title":"Eliminate render-blocking resources to cut Speed Index","impact":"Speed Index, FCP, LCP","problem":"`render-blocking-insight` estimates 580 ms of savings and Speed Index is 4.28 s on mobile (1.46 s desktop) — the lowest-scoring performance audit at 0.76.","solution":"- Inline the critical above-the-fold CSS (WP Rocket → File Optimization → Optimize CSS delivery).\n- Defer the two external stylesheets (`34.6 KB` total) until after first paint.\n- Preload the font files (3 requests currently report 0 B transferred but still gate text paint).\n- Re-measure Speed Index after each change; target < 3.4 s on mobile."},{"priority":2,"category":"Performance","title":"Stop sending cache-control: max-age=0 on the document","impact":"TTFB, repeat-visit performance","problem":"The document response is served with `cache-control: max-age=0`, and CrUX mobile TTFB p75 is 1093 ms ('average') versus 751 ms on desktop.","solution":"- Let WP Rocket / the CDN serve a short but non-zero browser TTL for HTML, e.g. `cache-control: public, max-age=600, s-maxage=86400`.\n- Keep `Vary: Accept-Encoding` (already present).\n- Confirm the edge cache is warmed for the canonical URL after each deploy."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR; PSI SEO score (92)","problem":"The `meta-description` audit scores 0.00 and the HTML inventory shows `Description: not set`, while the page is explicitly `index, follow`.","solution":"- Add a unique description per language (the page has `hreflang` for `et` and `en`):\n```html\n<meta name=\"description\" content=\"Estply küpsiste poliitika: milliseid küpsiseid me kasutame ja kuidas oma eelistusi hallata.\">\n```\n- Keep it 120–155 characters and mirror it in the `en` variant at `/en/cookie-policy/`."},{"priority":2,"category":"Security","title":"Harden the WordPress install and login paths","impact":"Attack surface, brute-force exposure","problem":"Security basics warns that `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"```apache\n# Block the installer once the site is installed\n<Files \"install.php\">\n  Require all denied\n</Files>\n\n# Restrict wp-login.php to known IPs, or front it with a custom path\n<Files \"wp-login.php\">\n  Require ip 203.0.113.0/24\n</Files>\n```\n- Add rate limiting / 2FA on the login endpoint (a plugin such as Limit Login Attempts or Wordfence)."},{"priority":2,"category":"Best Practices","title":"Fix srcset candidates missing width descriptors","impact":"W3C validity, responsive image selection","problem":"W3C reports 2 errors: the `srcset` values on the images at lines 481 and 501 have no width descriptor while a `sizes` attribute is present.","solution":"```html\n<!-- before -->\n<img srcset=\"…/image.png\" sizes=\"(max-width: 600px) 100vw, 251px\" …>\n<!-- after -->\n<img srcset=\"…/image.png 251w\" sizes=\"(max-width: 600px) 100vw, 251px\" …>\n```\n- If only one candidate exists, drop `sizes` entirely."},{"priority":3,"category":"Security","title":"Tighten the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"The CSP is only `frame-ancestors 'self'` — `default-src` is missing and `object-src` is not `'none'`. Site signals show no auth, payments, user content or e-commerce, so this is a P3 hardening item rather than an urgent one.","solution":"- Add the cheap directives now:\n```\nContent-Security-Policy: frame-ancestors 'self'; object-src 'none'; base-uri 'self'; default-src 'self'\n```\n- If a login or user content is ever added, move to a nonce + `'strict-dynamic'` policy rather than a flat allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP/CORP and HSTS preload","impact":"Privacy, cross-origin isolation, HSTS coverage","problem":"Advanced checks fail for Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy; HSTS lacks the `preload` directive and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains; preload\"\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\nHeader unset Server\n```\n- Submit the domain at hstspreload.org once the preload directive is live."},{"priority":3,"category":"Best Practices","title":"Remove defer/async from WP Rocket's data-block scripts","impact":"W3C validity (8 errors)","problem":"W3C reports 6 errors from `<script type=\"text/rocketlazyloadscript\">` blocks carrying `defer` (×5) and `async` (×1) — attributes that are invalid on non-JavaScript data blocks.","solution":"- These are emitted by WP Rocket's delay-JS execution feature. Either disable 'Delay JavaScript execution' for this template, or exclude the affected scripts (CookieYes, iframemanager) from delay.\n- Alternatively accept them as a known validator false-positive class and suppress the rule in CI."},{"priority":3,"category":"SEO","title":"Add meaningful structured data","impact":"Rich results eligibility","problem":"The single JSON-LD block is reported with type `Unknown`, and PSI's `structured-data` audit fails.","solution":"- Emit a valid `WebPage` / `Organization` graph with `@context`, `@type`, `name`, `url` and `inLanguage` matching the `et` page.\n- Validate with the Rich Results Test after the change."},{"priority":3,"category":"Accessibility","title":"Verify the 6 unresolved color-contrast nodes","impact":"WCAG 1.4.3 Contrast (Minimum)","problem":"axe-core returned 0 violations but flagged 6 nodes under 'Elements must meet minimum color contrast ratio thresholds' as incomplete — likely text over gradients or with alpha transparency.","solution":"- Inspect each of the 6 nodes in DevTools and confirm text/background contrast is ≥ 4.5:1 (≥ 3:1 for large text).\n- Replace gradient or semi-transparent backgrounds behind body copy with a solid colour, or darken the text token."},{"priority":3,"category":"Performance","title":"Serve the two PNGs as WebP","impact":"Image bytes (16 KiB estimated savings)","problem":"`image-delivery-insight` estimates 16 KiB of savings and both raster images on the page are PNG with no WebP/AVIF variant.","solution":"- Convert both uploads to WebP and reference them via `<picture>` with a PNG fallback.\n- Low absolute impact (30 KB of images total) — do this alongside the srcset fix rather than as a standalone project."},{"priority":3,"category":"SEO","title":"Disambiguate repeated link text","impact":"Anchor-text quality, screen-reader navigation","problem":"The HTML inventory flags repeated vague anchors — 'meist' ×2, 'tooted' ×2, 'kontakt' ×2, 'liitu meiega' ×2, 'ressursid' ×2, plus 'käitumiskoodeks' ×3.","solution":"- Add `aria-label` or visually-hidden context to each duplicate, e.g. `<a href=\"/tooted/\" aria-label=\"Toated — tootekataloog\">tooted</a>`.\n- Where the duplicates are in different nav sections, wrap each in a labelled `<nav aria-label=\"Footer\">` / `<nav aria-label=\"Main\">`."}],"perfScore":98,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":82,"securityVerdict":"PASS"},{"url":"https://estply.com/kontakt/","overall":87,"reasoning":"Performance is essentially flawless: PSI 100 on both mobile and desktop, lab LCP 1.1 s / CLS 0 / TBT 0 ms, and CrUX field data all in the 'fast' bucket (LCP 1332 ms, INP 79 ms, CLS 0) — the only field soft spot is mobile TTFB at 1093 ms p75 ('average'), consistent with the document's `cache-control: max-age=0`. Accessibility is the weakest scored area (PSI 92 mobile / 97 desktop) driven by two zero-scoring audits — `button-name` (weight 10) and `target-size` (weight 7) — even though axe-core reports 0 violations and 45 passes, with 6 color-contrast nodes left undetermined. Image handling is strong (22/22 with srcset, all with width/height and lazy loading, WebP throughout), though images still account for 674 KB of the 745 KB page weight. SEO sits at 92 because the page has no meta description, and the W3C validator reports 19 errors (12 of them WP Rocket's `text/rocketlazyloadscript` + `defer` combination, plus a charset declared after the first 1024 bytes and two `srcset` candidates missing widths). 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 — enough to keep the site out of the 90s.","confidence":"high","fixes":[{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2 Name, Role, Value; PSI accessibility score","problem":"PSI reports `button-name` failing with score 0.00 and weight 10 — the single largest accessibility drag, pulling mobile accessibility to 92.","solution":"Every `<button>` needs visible text, `aria-label`, or `aria-labelledby`. Icon-only buttons are the usual culprit:\n```html\n<!-- before -->\n<button class=\"menu-toggle\"><svg>…</svg></button>\n\n<!-- after -->\n<button class=\"menu-toggle\" aria-label=\"Ava menüü\" aria-expanded=\"false\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\nAudit all `<button>` elements in the header, cookie banner and form submit areas."},{"priority":1,"category":"Accessibility","title":"Enlarge touch targets to at least 24×24 px (44×44 recommended)","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"PSI `target-size` fails with score 0.00 and weight 7, and the SEO category also flags `tapTargets`.","solution":"- Ensure interactive elements have a minimum 44×44 CSS px hit area (24×24 is the WCAG 2.5.8 floor).\n- Add padding rather than enlarging icons:\n```css\na.icon, button.icon {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  min-width: 44px;\n  min-height: 44px;\n}\n```\n- Add spacing between adjacent links/footer items so targets do not overlap."},{"priority":2,"category":"SEO","title":"Add a meta description to the contact page","impact":"Search snippet quality; PSI SEO score","problem":"HTML inventory shows `Description: not set` and PSI fails the `meta-description` audit (score 0.00), holding SEO at 92 on both strategies.","solution":"Add a unique, ~150-character description in the page head (or via the SEO plugin's per-page settings):\n```html\n<meta name=\"description\" content=\"Võta Estplyga ühendust — kontaktandmed, logistika ja laadimise info ning meie meeskond. Vastame tööpäeviti.\">\n```\nAlso add `og:description` to match the existing Open Graph block."},{"priority":2,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS mitigation; header hygiene","problem":"CSP is only `frame-ancestors 'self'` — the audit flags missing `default-src` and `object-src 'none'`, so no script or resource restrictions exist. The page also contains a contact form with a `<textarea>`, so submitted input is reflected/stored somewhere.","solution":"Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{RANDOM}' 'strict-dynamic' https:;\n  style-src 'self' 'unsafe-inline'; img-src 'self' data: https:;\n  frame-ancestors 'self'; form-action 'self'; upgrade-insecure-requests\n```\n- WordPress + WP Rocket + jsdelivr will need nonce injection or `'strict-dynamic'` propagation; test in report-only mode first.\n- Keep `frame-ancestors 'self'` (already present) alongside `X-Frame-Options: SAMEORIGIN`."},{"priority":2,"category":"Performance","title":"Reduce field TTFB and stop the document being uncacheable","impact":"TTFB, LCP, FCP (field)","problem":"CrUX mobile TTFB is 1093 ms p75 ('average') while lab TTFB is 3 ms, and the document response carries `cache-control: max-age=0` with no ETag — every visit revalidates against origin.","solution":"- Confirm WP Rocket page cache is actually serving this URL (the HTML shows `cache-control: max-age=0`, which suggests a cache bypass or a miss).\n- Exclude the contact page from dynamic-cookie bypass rules if it renders statically.\n- Add an ETag or serve `Cache-Control: public, max-age=600, s-maxage=86400` for anonymous visitors.\n- Check origin server response time and consider full-page CDN caching in front of Apache."},{"priority":2,"category":"Best Practices","title":"Fix the 19 W3C HTML validation errors","impact":"Markup correctness, parser robustness","problem":"W3C reports 19 errors: 12× `script type=\"text/rocketlazyloadscript\"` with `defer`, 1× `charset` meta after the first 1024 bytes, 1× empty `href` on a `dns-prefetch` link, 2× `srcset` candidates missing widths, 2× hidden inputs with `autocomplete`.","solution":"- Move `<meta charset=\"utf-8\">` to the very first line of `<head>` (before any script).\n- Remove the empty `href` on the `data-rocket-prefetch` link or drop the tag.\n- Add width descriptors to the two `srcset` values flagged at lines 1625 and 1645, e.g. `srcset=\"…png 1x\"` or use `w` descriptors with `sizes`.\n- Remove `autocomplete` from hidden Gravity Forms inputs.\n- The 12 `rocketlazyloadscript` + `defer` errors come from WP Rocket; update the plugin or exclude those specific scripts from delay."},{"priority":3,"category":"Performance","title":"Trim render-blocking CSS and unused CSS","impact":"FCP, LCP, Speed Index","problem":"PSI flags `render-blocking-insight` with an estimated 580 ms of savings and `unused-css-rules` with 32 KiB unused, plus `image-delivery-insight` at 74 KiB.","solution":"- Inline critical above-the-fold CSS and defer `global.3578d4f092e5450b.css` (34.3 KB) via `media=\"print\" onload` or WP Rocket's Optimize CSS Delivery.\n- Purge unused selectors with PurgeCSS or the theme's build step.\n- Re-encode the largest remaining images to AVIF/WebP at the sizes actually rendered (74 KiB estimated savings)."},{"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 from the response; the audit rates each as low severity but they are one-line additions.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=(), payment=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\nX-Permitted-Cross-Domain-Policies: none\n```"},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and suppress the Server header","impact":"Supply-chain integrity, information disclosure","problem":"1 of 1 cross-origin scripts (`iframemanager.js` from cdn.jsdelivr.net) lacks an `integrity` attribute, and the response discloses `Server: Apache / ZoneOS`.","solution":"- Add `integrity` + `crossorigin=\"anonymous\"` to the jsDelivr `<script>` tag (generate the hash from the exact pinned version).\n- Suppress the banner: `ServerTokens Prod` and `ServerSignature Off` in Apache, or strip it at the CDN/proxy layer."},{"priority":3,"category":"Security","title":"Harden WordPress entry points","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 (both warnings).","solution":"```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login form behind a custom path or a WAF rule, and rate-limit `/wp-login.php`."},{"priority":3,"category":"Performance","title":"Verify the hero image is not lazy-loaded","impact":"LCP","problem":"The optimized-web checklist fails 'Hero image eagerly loaded' — it detected `loading=\"lazy\"` on the first image, but that image is a 100×100 thumbnail and lab LCP is already 1.1 s, so the heuristic likely mis-identified the LCP element.","solution":"- Confirm the real LCP element in DevTools Performance panel.\n- If it is an `<img>`, set `loading=\"eager\"` and `fetchpriority=\"high\"` on it and keep `loading=\"lazy\"` on everything below the fold."},{"priority":3,"category":"Accessibility","title":"Manually verify contrast on the 6 undetermined nodes","impact":"WCAG 1.4.3 Contrast (Minimum)","problem":"axe-core returned 0 violations but left 6 nodes 'incomplete' for color-contrast — typically text over gradients, images, or with alpha transparency.","solution":"- Inspect the 6 flagged nodes in DevTools with the contrast checker.\n- Target ≥4.5:1 for body text and ≥3:1 for large text (≥24 px or ≥18.66 px bold)."},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor text quality, screen-reader navigation","problem":"The page repeats generic anchors — 'kontakt' ×3, 'meist' ×2, 'tooted' ×2, 'ressursid' ×2, 'liitu meiega' ×2 — which are ambiguous out of context.","solution":"- Add `aria-label` with the destination, e.g. `<a href=\"/meist/\" aria-label=\"Meist — Estply ettevõttest\">meist</a>`.\n- Or extend the visible link text so it is self-describing."},{"priority":3,"category":"Performance","title":"Fix the preload credentials-mode mismatch","impact":"Unused preload, wasted request","problem":"Console warning: the preload for `…/theme/img/rings.svg` is not used 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```\nOr remove the preload if the SVG is not on the critical path."}],"perfScore":100,"a11yScore":92,"bestPracticesScore":100,"seoScore":92,"securityScore":83,"securityVerdict":"PASS"}]}