{"url":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","date":"2026-10-29","siteName":"Vineeri kvaliteediklassid selgeks - estply","overall":70,"reasoning":"PSI mobile 70 vs desktop 88 — an 18-point gap driven almost entirely by CLS 0.491 on mobile (desktop 0.138), with the footer element accounting for a 0.481 shift, plus a Speed Index of 6.51 s. TBT is 0 ms and LCP 2.5 s sits right at the 'good' threshold, so the layout instability and paint timing are the real performance drags, not scripting. Accessibility scores 91/96 with only one moderate axe violation (page-has-heading-one), but the HTML inventory confirms the page has zero h1–h6 elements at all, and PSI additionally fails button-name and target-size. Security basics PASS, though the CSP is only `frame-ancestors 'self'` with no default-src or object-src, and Referrer-Policy, Permissions-Policy, COOP and CORP are all missing — low risk here since the site has no auth, payments, or user content. W3C reports 8 errors (5 script type/defer conflicts, 2 srcset candidates without width) and the document is served with `cache-control: max-age=0` despite WP Rocket being present. Image handling is otherwise clean — 2 raster images, both with dimensions and lazy loading — but the hero is lazy-loaded, delaying LCP.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift causing CLS 0.491","impact":"CLS, Speed Index, mobile Performance score","problem":"Lighthouse mobile reports CLS 0.491 (desktop 0.138), with `div.main__footer > footer.footer` responsible for a 0.481 shift — the single largest scoring drag on the page.","solution":"The footer is being injected/resized after first paint (typical of cookie-consent banners and late-loading footer widgets).\n- Reserve the footer's final height up front: give the footer container a `min-height` matching its rendered size, or render the consent banner in a fixed-position overlay that does not reflow the document.\n- Add explicit `width`/`height` (or `aspect-ratio`) to any footer images and embeds.\n- If the shift comes from a web font swap, add `font-display: optional` or preload the woff2 files.\n- Re-run Lighthouse after each change and confirm the `cls-culprits-insight` audit no longer lists the footer."},{"priority":1,"category":"Accessibility","title":"Add a single H1 and a real heading hierarchy","impact":"Screen-reader navigation, SEO outline, axe page-has-heading-one","problem":"The heading outline shows h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0 — the page has no headings at all, and axe flags `page-has-heading-one` (moderate).","solution":"- Wrap the article title in `<h1>` (currently likely a styled `<div>` or `<p>`).\n- Promote section titles to `<h2>` and sub-sections to `<h3>`.\n- Do not skip levels; keep exactly one `<h1>` per page.\n```html\n<h1>Vineeri kvaliteediklassid selgeks</h1>\n<h2>Pinnakvaliteedi klassid</h2>\n```"},{"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 hero (`…6c041c12fb0c531933532c08c2749a1a836d595a.png`) uses `loading=\"lazy\"` with no `fetchpriority`, delaying LCP on mobile (2.5 s).","solution":"```html\n<img src=\"…/6c041c12fb0c531933532c08c2749a1a836d595a.png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` on everything below the fold."},{"priority":2,"category":"Performance","title":"Fix document caching (cache-control: max-age=0)","impact":"TTFB, repeat-visit LCP, document-latency-insight","problem":"The document response is served with `cache-control: max-age=0` and an `expires` value equal to the request time, so every navigation re-fetches the HTML; PSI's `document-latency-insight` estimates 3,810 ms of savings.","solution":"- In WP Rocket, enable page caching for this post type and confirm the `Cache-Control` header is rewritten to something like `max-age=600, public` (or a CDN edge TTL).\n- Verify the cache is warmed for the canonical URL after deploy.\n- Exclude only genuinely dynamic routes (cart, checkout, logged-in) from the cache."},{"priority":2,"category":"Accessibility","title":"Name buttons and enlarge touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"PSI accessibility fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) on mobile; axe did not surface these because it ran unthrottled.","solution":"- Give every `<button>` visible text or an `aria-label`, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 24×24 px (44×44 recommended) with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```"},{"priority":3,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"Markup validity, script execution reliability","problem":"W3C reports 8 errors: 5 `<script type=\"text/rocketlazyloadscript\">` elements carrying `defer`, 1 carrying `async`, and 2 `srcset` values missing a width descriptor.","solution":"- WP Rocket's lazyload rewrite emits `type=\"text/rocketlazyloadscript\"` on scripts that also have `defer`/`async`; exclude those specific scripts from delay-JS execution in WP Rocket settings, or move them to `data-rocket-src` without the conflicting attributes.\n- Add width descriptors to the two `srcset` candidates:\n```html\n<img srcset=\"…6c041c12….png 251w\" sizes=\"(max-width: 600px) 100vw, 251px\" …>\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 `object-src` is not `'none'`, so no script or resource restrictions exist.","solution":"The site has no auth, payments, or user content, so this is low-risk, but the header is cheap to complete:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```\nIf you later add a login or user content, move to a nonce + `'strict-dynamic'` policy rather than a flat allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Information leakage, feature abuse, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing from the response headers.","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-site\"\n```"},{"priority":3,"category":"Security","title":"HSTS preload, SRI, and WordPress hardening","impact":"Transport security, supply-chain integrity, takeover surface","problem":"HSTS lacks the `preload` directive, the single cross-origin script from cdn.jsdelivr.net has no `integrity` attribute, `/wp-admin/install.php` is reachable, and login is served on the default `/wp-login.php` path.","solution":"- HSTS: `Strict-Transport-Security: max-age=31536000; includeSubDomains; preload`, then submit at hstspreload.org.\n- Add SRI to the jsDelivr script: `<script src=\"…iframemanager.js\" integrity=\"sha384-…\" crossorigin=\"anonymous\" defer>`.\n- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login form off `/wp-login.php` (a security plugin rename) and rate-limit it."},{"priority":3,"category":"SEO","title":"Fix structured data and vague link text","impact":"Rich results eligibility, link purpose (WCAG 2.4.4)","problem":"PSI fails the `structuredData` audit and the single JSON-LD block is typed 'Unknown'; the page also repeats vague anchor text ('code of conduct' ×3, 'about us' ×2, 'products' ×2).","solution":"- Validate the JSON-LD block and give it an explicit `@type` (e.g. `Article` or `BlogPosting`) with `headline`, `datePublished`, `author`, and `image`.\n- Disambiguate repeated links with `aria-label`, e.g. `<a href=\"/en/about\" aria-label=\"About estply\">about us</a>`."}],"coverage":{"pct":100,"missing":[]},"siteSummary":{"pagesAudited":1,"pagesAttempted":1,"urls":["https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks"]},"psiSnapshot":{"rows":[{"pageUrl":null,"perfMobile":70,"perfDesktop":88,"lcpMobileMs":2456.7616799999996,"lcpDesktopMs":841.1690100000002,"clsMobile":0.4910331611373498,"clsDesktop":0.13845804446569449}]},"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: 68538 bytes","ratio: 0.267"]},{"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/en/2026/07/06/vineeri-kvaliteediklassid-selgeks","overall":70,"reasoning":"PSI mobile 70 vs desktop 88 — an 18-point gap driven almost entirely by CLS 0.491 on mobile (desktop 0.138), with the footer element accounting for a 0.481 shift, plus a Speed Index of 6.51 s. TBT is 0 ms and LCP 2.5 s sits right at the 'good' threshold, so the layout instability and paint timing are the real performance drags, not scripting. Accessibility scores 91/96 with only one moderate axe violation (page-has-heading-one), but the HTML inventory confirms the page has zero h1–h6 elements at all, and PSI additionally fails button-name and target-size. Security basics PASS, though the CSP is only `frame-ancestors 'self'` with no default-src or object-src, and Referrer-Policy, Permissions-Policy, COOP and CORP are all missing — low risk here since the site has no auth, payments, or user content. W3C reports 8 errors (5 script type/defer conflicts, 2 srcset candidates without width) and the document is served with `cache-control: max-age=0` despite WP Rocket being present. Image handling is otherwise clean — 2 raster images, both with dimensions and lazy loading — but the hero is lazy-loaded, delaying LCP.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift causing CLS 0.491","impact":"CLS, Speed Index, mobile Performance score","problem":"Lighthouse mobile reports CLS 0.491 (desktop 0.138), with `div.main__footer > footer.footer` responsible for a 0.481 shift — the single largest scoring drag on the page.","solution":"The footer is being injected/resized after first paint (typical of cookie-consent banners and late-loading footer widgets).\n- Reserve the footer's final height up front: give the footer container a `min-height` matching its rendered size, or render the consent banner in a fixed-position overlay that does not reflow the document.\n- Add explicit `width`/`height` (or `aspect-ratio`) to any footer images and embeds.\n- If the shift comes from a web font swap, add `font-display: optional` or preload the woff2 files.\n- Re-run Lighthouse after each change and confirm the `cls-culprits-insight` audit no longer lists the footer."},{"priority":1,"category":"Accessibility","title":"Add a single H1 and a real heading hierarchy","impact":"Screen-reader navigation, SEO outline, axe page-has-heading-one","problem":"The heading outline shows h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0 — the page has no headings at all, and axe flags `page-has-heading-one` (moderate).","solution":"- Wrap the article title in `<h1>` (currently likely a styled `<div>` or `<p>`).\n- Promote section titles to `<h2>` and sub-sections to `<h3>`.\n- Do not skip levels; keep exactly one `<h1>` per page.\n```html\n<h1>Vineeri kvaliteediklassid selgeks</h1>\n<h2>Pinnakvaliteedi klassid</h2>\n```"},{"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 hero (`…6c041c12fb0c531933532c08c2749a1a836d595a.png`) uses `loading=\"lazy\"` with no `fetchpriority`, delaying LCP on mobile (2.5 s).","solution":"```html\n<img src=\"…/6c041c12fb0c531933532c08c2749a1a836d595a.png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` on everything below the fold."},{"priority":2,"category":"Performance","title":"Fix document caching (cache-control: max-age=0)","impact":"TTFB, repeat-visit LCP, document-latency-insight","problem":"The document response is served with `cache-control: max-age=0` and an `expires` value equal to the request time, so every navigation re-fetches the HTML; PSI's `document-latency-insight` estimates 3,810 ms of savings.","solution":"- In WP Rocket, enable page caching for this post type and confirm the `Cache-Control` header is rewritten to something like `max-age=600, public` (or a CDN edge TTL).\n- Verify the cache is warmed for the canonical URL after deploy.\n- Exclude only genuinely dynamic routes (cart, checkout, logged-in) from the cache."},{"priority":2,"category":"Accessibility","title":"Name buttons and enlarge touch targets","impact":"WCAG 4.1.2 name/role/value, 2.5.8 target size","problem":"PSI accessibility fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7) on mobile; axe did not surface these because it ran unthrottled.","solution":"- Give every `<button>` visible text or an `aria-label`, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 24×24 px (44×44 recommended) with adequate spacing:\n```css\n.icon-btn { min-width: 44px; min-height: 44px; }\n```"},{"priority":3,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"Markup validity, script execution reliability","problem":"W3C reports 8 errors: 5 `<script type=\"text/rocketlazyloadscript\">` elements carrying `defer`, 1 carrying `async`, and 2 `srcset` values missing a width descriptor.","solution":"- WP Rocket's lazyload rewrite emits `type=\"text/rocketlazyloadscript\"` on scripts that also have `defer`/`async`; exclude those specific scripts from delay-JS execution in WP Rocket settings, or move them to `data-rocket-src` without the conflicting attributes.\n- Add width descriptors to the two `srcset` candidates:\n```html\n<img srcset=\"…6c041c12….png 251w\" sizes=\"(max-width: 600px) 100vw, 251px\" …>\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 `object-src` is not `'none'`, so no script or resource restrictions exist.","solution":"The site has no auth, payments, or user content, so this is low-risk, but the header is cheap to complete:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none'; frame-ancestors 'self';\n```\nIf you later add a login or user content, move to a nonce + `'strict-dynamic'` policy rather than a flat allowlist."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Information leakage, feature abuse, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing from the response headers.","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-site\"\n```"},{"priority":3,"category":"Security","title":"HSTS preload, SRI, and WordPress hardening","impact":"Transport security, supply-chain integrity, takeover surface","problem":"HSTS lacks the `preload` directive, the single cross-origin script from cdn.jsdelivr.net has no `integrity` attribute, `/wp-admin/install.php` is reachable, and login is served on the default `/wp-login.php` path.","solution":"- HSTS: `Strict-Transport-Security: max-age=31536000; includeSubDomains; preload`, then submit at hstspreload.org.\n- Add SRI to the jsDelivr script: `<script src=\"…iframemanager.js\" integrity=\"sha384-…\" crossorigin=\"anonymous\" defer>`.\n- Block the installer in `.htaccess`:\n```apache\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login form off `/wp-login.php` (a security plugin rename) and rate-limit it."},{"priority":3,"category":"SEO","title":"Fix structured data and vague link text","impact":"Rich results eligibility, link purpose (WCAG 2.4.4)","problem":"PSI fails the `structuredData` audit and the single JSON-LD block is typed 'Unknown'; the page also repeats vague anchor text ('code of conduct' ×3, 'about us' ×2, 'products' ×2).","solution":"- Validate the JSON-LD block and give it an explicit `@type` (e.g. `Article` or `BlogPosting`) with `headline`, `datePublished`, `author`, and `image`.\n- Disambiguate repeated links with `aria-label`, e.g. `<a href=\"/en/about\" aria-label=\"About estply\">about us</a>`."}],"perfScore":70,"a11yScore":91,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"}]}