{"url":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks/","date":"2026-10-29","siteName":"Vineeri kvaliteediklassid selgeks - estply","overall":73,"reasoning":"Performance is split: mobile PSI 78 vs desktop 93, with excellent LCP (2.0 s), TBT (0 ms) and TTFB (3 ms), but a heavy CLS of 0.482 on mobile (desktop 0.143) traced almost entirely to the footer element shifting 0.481 — that single metric is the largest score drag. Accessibility sits at 91 mobile / 96 desktop: axe reports only one moderate violation (missing h1), but Lighthouse independently fails `button-name` (weight 10) and `target-size` (weight 7), and the HTML inventory confirms 0 h1 elements. Image assets are light (2 raster images, both with dimensions and alt attributes) but the hero is lazy-loaded, delaying LCP, and the document is served with `cache-control: max-age=0` despite WP Rocket being present. Security basics PASS (HSTS, nosniff, framing, TLS, SPF/DMARC all good), though CSP is only `frame-ancestors 'self'`, HSTS lacks preload, and Referrer-Policy/Permissions-Policy/COOP/CORP are absent — with no auth, payments, UGC or commerce signals these are P3 per the rubric. W3C reports 8 errors, mostly WP Rocket `text/rocketlazyloadscript` attributes plus two `srcset` candidates missing width descriptors. Confidence is medium because the CrUX field block returns 0 ms p75 for every metric while labelling them 'slow', which is internally inconsistent and unusable.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift driving CLS 0.482","impact":"CLS, mobile Performance score","problem":"Mobile CLS is 0.482 (desktop 0.143), with `div.main__footer > footer.footer` responsible for a 0.481 shift — far above the 0.25 heavy-penalty threshold.","solution":"- Reserve space for the footer before it renders: give `footer.footer` a `min-height` matching its rendered height, or render it server-side instead of injecting it after load.\n- If the shift comes from a late-loading cookie banner or lazyloaded block above the footer, load it with `position: fixed` or reserve a placeholder of identical height.\n- Add `contain: layout` on the footer wrapper and preload the footer's font/logo so its box does not resize.\n- Re-test with Lighthouse mobile until CLS < 0.1."},{"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': `6c041c12…836d595a.png` has `loading=\"lazy\"` and no `fetchpriority`, delaying the LCP candidate.","solution":"```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` only on below-the-fold images."},{"priority":2,"category":"Performance","title":"Stop serving the HTML document with max-age=0","impact":"Repeat-visit TTFB, caching","problem":"The document response returns `cache-control: max-age=0` with an `expires` timestamp equal to the request time, so browsers revalidate the HTML on every navigation despite WP Rocket being active.","solution":"- In WP Rocket (or the origin), enable HTML/browser caching so the document is served with a short but non-zero TTL, e.g. `Cache-Control: public, max-age=600, s-maxage=3600`.\n- Keep `Vary: Accept-Encoding` and purge the cache on publish.\n- Verify with `curl -I` that the canonical URL returns the new header."},{"priority":2,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2, 2.5.8; Lighthouse Accessibility","problem":"Lighthouse mobile fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7), pulling mobile Accessibility to 91.","solution":"- Add visible text or `aria-label` to every `<button>`, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 24×24 CSS px (44×44 recommended) with adequate spacing:\n```css\n.icon-button { min-width: 44px; min-height: 44px; }\n```\n- Re-run axe and Lighthouse to confirm both audits pass."},{"priority":2,"category":"Accessibility","title":"Add a single level-one heading","impact":"WCAG 1.3.1 / 2.4.6, document outline, SEO","problem":"axe reports `page-has-heading-one` (moderate) and the HTML inventory counts h1 ×0 through h6 ×0 — the page has no heading structure at all.","solution":"- Wrap the article title in exactly one `<h1>`: `<h1>Vineeri kvaliteediklassid selgeks</h1>`.\n- Promote section titles to `<h2>`/`<h3>` in document order so the outline is meaningful.\n- Do not use styled `<div>`s in place of headings."},{"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`, no `object-src 'none'`, and no script/resource restrictions. Site signals show no auth, payments, user content or commerce, so this is a P3 hardening item rather than an active exposure.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self'; upgrade-insecure-requests\n```\nRoll out in report-only mode first, then enforce."},{"priority":3,"category":"Security","title":"Add missing low-cost security headers and HSTS preload","impact":"Referrer leakage, feature abuse, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and HSTS (`max-age=31536000; includeSubDomains`) lacks the `preload` directive.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\n```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Best Practices","title":"Fix W3C srcset errors and WP Rocket script type attributes","impact":"HTML validity, responsive image selection","problem":"W3C reports 8 errors: two `srcset` candidates lack width descriptors (lines 399 and 419), and six `text/rocketlazyloadscript` data blocks carry `defer`/`async` attributes that are invalid for non-JavaScript types.","solution":"- Add width descriptors to the srcset candidates:\n```html\n<img srcset=\"/…/6c041c12….png 251w\" sizes=\"(max-width: 600px) 100vw, 251px\" …>\n```\n- For the WP Rocket lazyload artifacts, either let the plugin rewrite them to real `<script type=\"text/javascript\">` tags before output, or exclude those specific scripts from lazyload so the emitted markup is valid."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and harden WordPress entry points","impact":"Supply-chain integrity, admin attack surface","problem":"The single cross-origin script (`cdn.jsdelivr.net/…/iframemanager.js`) has no `integrity` attribute, `/wp-admin/install.php` is reachable, and the login form is served on the default `/wp-login.php` path.","solution":"- Add SRI plus CORS to the CDN tag:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\n- Block the installer in `.htaccess`: `RewriteRule ^wp-admin/install\\.php$ - [F,L]`.\n- Restrict or rename the login path and add rate limiting / 2FA."}],"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":78,"perfDesktop":93,"lcpMobileMs":1954.5,"lcpDesktopMs":745,"clsMobile":0.4820139141055299,"clsDesktop":0.1425412383456849}]},"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":73,"reasoning":"Performance is split: mobile PSI 78 vs desktop 93, with excellent LCP (2.0 s), TBT (0 ms) and TTFB (3 ms), but a heavy CLS of 0.482 on mobile (desktop 0.143) traced almost entirely to the footer element shifting 0.481 — that single metric is the largest score drag. Accessibility sits at 91 mobile / 96 desktop: axe reports only one moderate violation (missing h1), but Lighthouse independently fails `button-name` (weight 10) and `target-size` (weight 7), and the HTML inventory confirms 0 h1 elements. Image assets are light (2 raster images, both with dimensions and alt attributes) but the hero is lazy-loaded, delaying LCP, and the document is served with `cache-control: max-age=0` despite WP Rocket being present. Security basics PASS (HSTS, nosniff, framing, TLS, SPF/DMARC all good), though CSP is only `frame-ancestors 'self'`, HSTS lacks preload, and Referrer-Policy/Permissions-Policy/COOP/CORP are absent — with no auth, payments, UGC or commerce signals these are P3 per the rubric. W3C reports 8 errors, mostly WP Rocket `text/rocketlazyloadscript` attributes plus two `srcset` candidates missing width descriptors. Confidence is medium because the CrUX field block returns 0 ms p75 for every metric while labelling them 'slow', which is internally inconsistent and unusable.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift driving CLS 0.482","impact":"CLS, mobile Performance score","problem":"Mobile CLS is 0.482 (desktop 0.143), with `div.main__footer > footer.footer` responsible for a 0.481 shift — far above the 0.25 heavy-penalty threshold.","solution":"- Reserve space for the footer before it renders: give `footer.footer` a `min-height` matching its rendered height, or render it server-side instead of injecting it after load.\n- If the shift comes from a late-loading cookie banner or lazyloaded block above the footer, load it with `position: fixed` or reserve a placeholder of identical height.\n- Add `contain: layout` on the footer wrapper and preload the footer's font/logo so its box does not resize.\n- Re-test with Lighthouse mobile until CLS < 0.1."},{"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': `6c041c12…836d595a.png` has `loading=\"lazy\"` and no `fetchpriority`, delaying the LCP candidate.","solution":"```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12fb0c531933532c08c2749a1a836d595a.png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` only on below-the-fold images."},{"priority":2,"category":"Performance","title":"Stop serving the HTML document with max-age=0","impact":"Repeat-visit TTFB, caching","problem":"The document response returns `cache-control: max-age=0` with an `expires` timestamp equal to the request time, so browsers revalidate the HTML on every navigation despite WP Rocket being active.","solution":"- In WP Rocket (or the origin), enable HTML/browser caching so the document is served with a short but non-zero TTL, e.g. `Cache-Control: public, max-age=600, s-maxage=3600`.\n- Keep `Vary: Accept-Encoding` and purge the cache on publish.\n- Verify with `curl -I` that the canonical URL returns the new header."},{"priority":2,"category":"Accessibility","title":"Give buttons accessible names and enlarge touch targets","impact":"WCAG 4.1.2, 2.5.8; Lighthouse Accessibility","problem":"Lighthouse mobile fails `button-name` (score 0.00, weight 10) and `target-size` (score 0.00, weight 7), pulling mobile Accessibility to 91.","solution":"- Add visible text or `aria-label` to every `<button>`, e.g. `<button aria-label=\"Close cookie banner\">`.\n- Ensure interactive targets are at least 24×24 CSS px (44×44 recommended) with adequate spacing:\n```css\n.icon-button { min-width: 44px; min-height: 44px; }\n```\n- Re-run axe and Lighthouse to confirm both audits pass."},{"priority":2,"category":"Accessibility","title":"Add a single level-one heading","impact":"WCAG 1.3.1 / 2.4.6, document outline, SEO","problem":"axe reports `page-has-heading-one` (moderate) and the HTML inventory counts h1 ×0 through h6 ×0 — the page has no heading structure at all.","solution":"- Wrap the article title in exactly one `<h1>`: `<h1>Vineeri kvaliteediklassid selgeks</h1>`.\n- Promote section titles to `<h2>`/`<h3>` in document order so the outline is meaningful.\n- Do not use styled `<div>`s in place of headings."},{"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`, no `object-src 'none'`, and no script/resource restrictions. Site signals show no auth, payments, user content or commerce, so this is a P3 hardening item rather than an active exposure.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';\n  script-src 'nonce-{random}' 'strict-dynamic' https:;\n  frame-ancestors 'self'; upgrade-insecure-requests\n```\nRoll out in report-only mode first, then enforce."},{"priority":3,"category":"Security","title":"Add missing low-cost security headers and HSTS preload","impact":"Referrer leakage, feature abuse, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and HSTS (`max-age=31536000; includeSubDomains`) lacks the `preload` directive.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set Referrer-Policy \"strict-origin-when-cross-origin\"\nHeader always set Permissions-Policy \"camera=(), microphone=(), geolocation=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-site\"\n```\nSubmit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Best Practices","title":"Fix W3C srcset errors and WP Rocket script type attributes","impact":"HTML validity, responsive image selection","problem":"W3C reports 8 errors: two `srcset` candidates lack width descriptors (lines 399 and 419), and six `text/rocketlazyloadscript` data blocks carry `defer`/`async` attributes that are invalid for non-JavaScript types.","solution":"- Add width descriptors to the srcset candidates:\n```html\n<img srcset=\"/…/6c041c12….png 251w\" sizes=\"(max-width: 600px) 100vw, 251px\" …>\n```\n- For the WP Rocket lazyload artifacts, either let the plugin rewrite them to real `<script type=\"text/javascript\">` tags before output, or exclude those specific scripts from lazyload so the emitted markup is valid."},{"priority":3,"category":"Security","title":"Add SRI to the jsDelivr script and harden WordPress entry points","impact":"Supply-chain integrity, admin attack surface","problem":"The single cross-origin script (`cdn.jsdelivr.net/…/iframemanager.js`) has no `integrity` attribute, `/wp-admin/install.php` is reachable, and the login form is served on the default `/wp-login.php` path.","solution":"- Add SRI plus CORS to the CDN tag:\n```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\n- Block the installer in `.htaccess`: `RewriteRule ^wp-admin/install\\.php$ - [F,L]`.\n- Restrict or rename the login path and add rate limiting / 2FA."}],"perfScore":78,"a11yScore":91,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"}]}