{"url":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks/","date":"2026-10-29","siteName":"Vineeri kvaliteediklassid selgeks - estply","overall":79,"reasoning":"Performance is the strongest area — PSI mobile 92 / desktop 93, TBT 0 ms, FCP 1.2 s — but mobile LCP is 3.3 s against 0.8 s on desktop (a 4× divergence), and the Optimized-Web checklist pins the cause: the hero PNG is served with loading=\"lazy\" and no fetchpriority. Accessibility is the weakest dimension: Lighthouse mobile 91, axe flags page-has-heading-one, and the HTML inventory confirms the article page has literally zero headings (h1–h6 all ×0), while Lighthouse's own `button-name` (weight 10) and `target-size` (weight 7) audits both score 0.00. Security basics returns PASS, but the CSP is frame-ancestors-only with no default-src or object-src 'none', HSTS lacks preload, and Referrer-Policy, Permissions-Policy, COOP and CORP are all absent; W3C adds 8 errors (5 from WP Rocket's `text/rocketlazyloadscript` + defer, 2 from srcset candidates missing width descriptors). Image assets are a light load (2 raster images, both with dimensions and srcset), so the image budget barely moves the score. The document is served with `cache-control: max-age=0`, forcing revalidation of the 66.9 KB HTML on every navigation.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eager-load the hero image with high fetch priority","impact":"LCP (mobile 3.3 s), FCP","problem":"The Optimized-Web checklist fails \"Hero image eagerly loaded\": the hero PNG (…6c041c12….png) carries loading=\"lazy\" and no fetchpriority, and mobile LCP is 3.3 s versus 0.8 s on desktop.","solution":"- Remove `loading=\"lazy\"` from the hero (or set `loading=\"eager\"`).\n- Add `fetchpriority=\"high\"` and a `preload` hint.\n```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12….png\" fetchpriority=\"high\">\n```"},{"priority":1,"category":"Accessibility","title":"Add a single H1 and a real heading hierarchy","impact":"Screen-reader navigation, document outline, SEO","problem":"HTML inventory reports h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0, and axe flags `page-has-heading-one` (moderate) on an article page that should have a clear outline.","solution":"- Wrap the article title in exactly one `<h1>`.\n- Promote section titles to `<h2>` and sub-sections to `<h3>`; do not skip levels.\n- Keep the site logo/wordmark out of the heading hierarchy (use a `<span>` or `aria-label` on the home link)."},{"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 — \"Buttons do not have an accessible name\" — so icon-only controls are announced as just \"button\".","solution":"- Add visible text, or an `aria-label` / visually hidden span:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- Mark decorative SVGs `aria-hidden=\"true\"` so they don't pollute the name."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 44×44 px","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"Lighthouse `target-size` scores 0.00 (weight 7) and PSI's modeled SEO audit `tapTargets` also fails, meaning interactive controls are too small or too tightly spaced on mobile.","solution":"- Ensure every link/button hit area is ≥44×44 CSS px.\n- Add padding rather than enlarging the icon:\n```css\n.icon-link { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }\n```\n- Add at least 8 px spacing between adjacent targets."},{"priority":2,"category":"Performance","title":"Enable browser caching for the HTML document","impact":"Repeat-visit TTFB, navigation latency","problem":"The document response is `cache-control: max-age=0` with `expires` equal to the request timestamp, so the 66.9 KB HTML is revalidated on every navigation despite WP Rocket being active.","solution":"- In WP Rocket → Cache, enable browser caching and set an HTML TTL (e.g. 10 minutes) with `s-maxage` for the CDN.\n- Target header:\n```\nCache-Control: public, max-age=600, s-maxage=3600\n```\n- Keep `max-age=0` only for logged-in / cart / preview contexts."},{"priority":2,"category":"Performance","title":"Cut render-blocking CSS and unused rules","impact":"FCP, LCP, Speed Index","problem":"PSI flags `render-blocking-insight` (est. 560 ms savings) and `unused-css-rules` (est. 33 KiB) across 2 external stylesheets plus 3 inline blocks (9.6 KB).","solution":"- Inline the above-the-fold critical CSS and load the rest asynchronously:\n```html\n<link rel=\"preload\" as=\"style\" href=\"/theme.css\" onload=\"this.rel='stylesheet'\">\n```\n- Enable WP Rocket \"Remove Unused CSS\" and verify the generated used-CSS file covers the article template.\n- Defer non-critical inline `<style>` blocks behind the fold."},{"priority":2,"category":"Best Practices","title":"Fix srcset candidates missing width descriptors","impact":"W3C validity, responsive image selection","problem":"W3C reports 2 errors (lines 399 and 419): `srcset` values have no width specified while a `sizes` attribute is present, so browsers cannot pick a candidate correctly.","solution":"- Add a width descriptor to every candidate:\n```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12-251w.png 251w, …6c041c12-502w.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"…\">\n```\n- Or drop `sizes` if only a single candidate is offered."},{"priority":2,"category":"Security","title":"Harden the WordPress install path and login","impact":"Brute-force exposure, takeover path","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- Move the login to a custom slug (WP Rocket/WPS Hide Login) or put `/wp-login.php` behind a WAF rate limit + 2FA.\n- Keep xmlrpc.php blocked (already passing)."},{"priority":3,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is `frame-ancestors 'self'` only — no `default-src`, no `object-src 'none'`, so no script or resource restrictions exist. Site signals show no auth, payments, user content or ecommerce, so XSS impact is limited and this is P3 rather than P1.","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  frame-ancestors 'self'; upgrade-insecure-requests\n```\n- Roll out in `Content-Security-Policy-Report-Only` first and watch the reports before enforcing."},{"priority":3,"category":"Security","title":"Complete the missing low-cost security headers","impact":"Referrer leakage, feature abuse, origin isolation, info disclosure","problem":"HSTS lacks `preload`; Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"```apache\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 \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\nServerSignature Off\nServerTokens Prod\n```\n- Submit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Security","title":"Add Subresource Integrity to the jsDelivr script","impact":"Supply-chain tampering risk","problem":"Security basics reports 1 of 1 cross-origin scripts lacks an `integrity` attribute — the iframemanager.js loaded from cdn.jsdelivr.net.","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\n- Generate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`.\n- Better: self-host the 2.7 KB file and drop the third-party origin entirely."},{"priority":3,"category":"Best Practices","title":"Fix the invalid script type / defer combinations","impact":"W3C validity (5 of 8 errors)","problem":"W3C reports 5 errors for `type=\"text/rocketlazyloadscript\"` combined with `defer` and 1 for the same type with `async` — a data-block script type must not carry those attributes.","solution":"- WP Rocket rewrites `src` to `data-rocket-src`; drop `defer`/`async` from those tags and let the lazyloader handle ordering:\n```html\n<script type=\"text/rocketlazyloadscript\" data-rocket-src=\"…\"></script>\n```\n- Alternatively exclude the affected scripts from delay/lazyload in WP Rocket's file optimization settings."},{"priority":3,"category":"SEO","title":"Add Article structured data and disambiguate repeated link text","impact":"Rich results eligibility, anchor-text clarity","problem":"PSI's modeled `structuredData` audit fails and the single JSON-LD block is typed \"Unknown\"; 7 link texts repeat verbatim (\"contact\" ×2, \"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"code of conduct\" ×3).","solution":"- Emit a valid `Article`/`BlogPosting` graph with `headline`, `datePublished`, `author`, `image` and `inLanguage`.\n- Validate at search.google.com/test/rich-results.\n- Disambiguate repeated anchors with `aria-label` or visually hidden context, e.g. `<a href=\"/en/contact/\">Contact<span class=\"sr-only\"> our sales team</span></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":92,"perfDesktop":93,"lcpMobileMs":3301,"lcpDesktopMs":762,"clsMobile":0,"clsDesktop":0.14421748155470257}]},"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":79,"reasoning":"Performance is the strongest area — PSI mobile 92 / desktop 93, TBT 0 ms, FCP 1.2 s — but mobile LCP is 3.3 s against 0.8 s on desktop (a 4× divergence), and the Optimized-Web checklist pins the cause: the hero PNG is served with loading=\"lazy\" and no fetchpriority. Accessibility is the weakest dimension: Lighthouse mobile 91, axe flags page-has-heading-one, and the HTML inventory confirms the article page has literally zero headings (h1–h6 all ×0), while Lighthouse's own `button-name` (weight 10) and `target-size` (weight 7) audits both score 0.00. Security basics returns PASS, but the CSP is frame-ancestors-only with no default-src or object-src 'none', HSTS lacks preload, and Referrer-Policy, Permissions-Policy, COOP and CORP are all absent; W3C adds 8 errors (5 from WP Rocket's `text/rocketlazyloadscript` + defer, 2 from srcset candidates missing width descriptors). Image assets are a light load (2 raster images, both with dimensions and srcset), so the image budget barely moves the score. The document is served with `cache-control: max-age=0`, forcing revalidation of the 66.9 KB HTML on every navigation.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Eager-load the hero image with high fetch priority","impact":"LCP (mobile 3.3 s), FCP","problem":"The Optimized-Web checklist fails \"Hero image eagerly loaded\": the hero PNG (…6c041c12….png) carries loading=\"lazy\" and no fetchpriority, and mobile LCP is 3.3 s versus 0.8 s on desktop.","solution":"- Remove `loading=\"lazy\"` from the hero (or set `loading=\"eager\"`).\n- Add `fetchpriority=\"high\"` and a `preload` hint.\n```html\n<img src=\"/wp-content/uploads/2026/08/6c041c12….png\"\n     alt=\"…\" width=\"251\" height=\"134\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n<link rel=\"preload\" as=\"image\" href=\"/wp-content/uploads/2026/08/6c041c12….png\" fetchpriority=\"high\">\n```"},{"priority":1,"category":"Accessibility","title":"Add a single H1 and a real heading hierarchy","impact":"Screen-reader navigation, document outline, SEO","problem":"HTML inventory reports h1 ×0, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0, and axe flags `page-has-heading-one` (moderate) on an article page that should have a clear outline.","solution":"- Wrap the article title in exactly one `<h1>`.\n- Promote section titles to `<h2>` and sub-sections to `<h3>`; do not skip levels.\n- Keep the site logo/wordmark out of the heading hierarchy (use a `<span>` or `aria-label` on the home link)."},{"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 — \"Buttons do not have an accessible name\" — so icon-only controls are announced as just \"button\".","solution":"- Add visible text, or an `aria-label` / visually hidden span:\n```html\n<button type=\"button\" aria-label=\"Close cookie banner\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- Mark decorative SVGs `aria-hidden=\"true\"` so they don't pollute the name."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to at least 44×44 px","impact":"WCAG 2.5.8 Target Size; mobile usability","problem":"Lighthouse `target-size` scores 0.00 (weight 7) and PSI's modeled SEO audit `tapTargets` also fails, meaning interactive controls are too small or too tightly spaced on mobile.","solution":"- Ensure every link/button hit area is ≥44×44 CSS px.\n- Add padding rather than enlarging the icon:\n```css\n.icon-link { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }\n```\n- Add at least 8 px spacing between adjacent targets."},{"priority":2,"category":"Performance","title":"Enable browser caching for the HTML document","impact":"Repeat-visit TTFB, navigation latency","problem":"The document response is `cache-control: max-age=0` with `expires` equal to the request timestamp, so the 66.9 KB HTML is revalidated on every navigation despite WP Rocket being active.","solution":"- In WP Rocket → Cache, enable browser caching and set an HTML TTL (e.g. 10 minutes) with `s-maxage` for the CDN.\n- Target header:\n```\nCache-Control: public, max-age=600, s-maxage=3600\n```\n- Keep `max-age=0` only for logged-in / cart / preview contexts."},{"priority":2,"category":"Performance","title":"Cut render-blocking CSS and unused rules","impact":"FCP, LCP, Speed Index","problem":"PSI flags `render-blocking-insight` (est. 560 ms savings) and `unused-css-rules` (est. 33 KiB) across 2 external stylesheets plus 3 inline blocks (9.6 KB).","solution":"- Inline the above-the-fold critical CSS and load the rest asynchronously:\n```html\n<link rel=\"preload\" as=\"style\" href=\"/theme.css\" onload=\"this.rel='stylesheet'\">\n```\n- Enable WP Rocket \"Remove Unused CSS\" and verify the generated used-CSS file covers the article template.\n- Defer non-critical inline `<style>` blocks behind the fold."},{"priority":2,"category":"Best Practices","title":"Fix srcset candidates missing width descriptors","impact":"W3C validity, responsive image selection","problem":"W3C reports 2 errors (lines 399 and 419): `srcset` values have no width specified while a `sizes` attribute is present, so browsers cannot pick a candidate correctly.","solution":"- Add a width descriptor to every candidate:\n```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12-251w.png 251w, …6c041c12-502w.png 502w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"…\">\n```\n- Or drop `sizes` if only a single candidate is offered."},{"priority":2,"category":"Security","title":"Harden the WordPress install path and login","impact":"Brute-force exposure, takeover path","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- Move the login to a custom slug (WP Rocket/WPS Hide Login) or put `/wp-login.php` behind a WAF rate limit + 2FA.\n- Keep xmlrpc.php blocked (already passing)."},{"priority":3,"category":"Security","title":"Strengthen the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is `frame-ancestors 'self'` only — no `default-src`, no `object-src 'none'`, so no script or resource restrictions exist. Site signals show no auth, payments, user content or ecommerce, so XSS impact is limited and this is P3 rather than P1.","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  frame-ancestors 'self'; upgrade-insecure-requests\n```\n- Roll out in `Content-Security-Policy-Report-Only` first and watch the reports before enforcing."},{"priority":3,"category":"Security","title":"Complete the missing low-cost security headers","impact":"Referrer leakage, feature abuse, origin isolation, info disclosure","problem":"HSTS lacks `preload`; Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and the `Server: Apache / ZoneOS` header discloses the stack.","solution":"```apache\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 \"geolocation=(), microphone=(), camera=()\"\nHeader always set Cross-Origin-Opener-Policy \"same-origin\"\nHeader always set Cross-Origin-Resource-Policy \"same-origin\"\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\nServerSignature Off\nServerTokens Prod\n```\n- Submit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Security","title":"Add Subresource Integrity to the jsDelivr script","impact":"Supply-chain tampering risk","problem":"Security basics reports 1 of 1 cross-origin scripts lacks an `integrity` attribute — the iframemanager.js loaded from cdn.jsdelivr.net.","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\n- Generate the hash with `openssl dgst -sha384 -binary file.js | openssl base64 -A`.\n- Better: self-host the 2.7 KB file and drop the third-party origin entirely."},{"priority":3,"category":"Best Practices","title":"Fix the invalid script type / defer combinations","impact":"W3C validity (5 of 8 errors)","problem":"W3C reports 5 errors for `type=\"text/rocketlazyloadscript\"` combined with `defer` and 1 for the same type with `async` — a data-block script type must not carry those attributes.","solution":"- WP Rocket rewrites `src` to `data-rocket-src`; drop `defer`/`async` from those tags and let the lazyloader handle ordering:\n```html\n<script type=\"text/rocketlazyloadscript\" data-rocket-src=\"…\"></script>\n```\n- Alternatively exclude the affected scripts from delay/lazyload in WP Rocket's file optimization settings."},{"priority":3,"category":"SEO","title":"Add Article structured data and disambiguate repeated link text","impact":"Rich results eligibility, anchor-text clarity","problem":"PSI's modeled `structuredData` audit fails and the single JSON-LD block is typed \"Unknown\"; 7 link texts repeat verbatim (\"contact\" ×2, \"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"code of conduct\" ×3).","solution":"- Emit a valid `Article`/`BlogPosting` graph with `headline`, `datePublished`, `author`, `image` and `inLanguage`.\n- Validate at search.google.com/test/rich-results.\n- Disambiguate repeated anchors with `aria-label` or visually hidden context, e.g. `<a href=\"/en/contact/\">Contact<span class=\"sr-only\"> our sales team</span></a>`."}],"perfScore":92,"a11yScore":91,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"}]}