{"url":"https://estply.com/en/2026/07/06/vineeri-kvaliteediklassid-selgeks/","date":"2026-10-29","siteName":"Vineeri kvaliteediklassid selgeks - estply","overall":70,"reasoning":"Mobile performance is 73 against desktop 94 — a 21-point gap — driven almost entirely by CLS 0.481 (heavy-penalty band, culprit: the footer element) and a 4.49 s Speed Index, while TBT 0 ms, TTFB 3 ms and FCP 1.20 s are all clean. LCP 2.6 s sits in the warning band and is partly self-inflicted: the hero image is served with loading=\"lazy\" and no fetchpriority, per the optimized-web checklist. Accessibility is the second drag: PSI mobile 91 with two zero-scoring audits (button-name, weight 10; target-size, weight 7), axe's page-has-heading-one, and an HTML inventory showing zero h1–h6 elements on the page. 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. Treat FAILED as a must-fix and PASS as a starting point, not a certificate.\" — but the 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 stay P3. W3C reports 8 errors (5 script type+defer, 1 async, 2 srcset candidates missing width) and the document is served with cache-control max-age=0, both minor but real. All tools returned data and signals are consistent, so confidence is high.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift causing CLS 0.481","impact":"CLS, Speed Index, mobile Performance score","problem":"Lighthouse mobile reports CLS 0.481 (score 0.17, weight 25) with the shift attributed to div#page > div.main > div.main__footer > footer.footer; desktop is also in the warning band at 0.131.","solution":"- Reserve space for anything injected into the footer (cookie banner, iframe manager, late-loading badges) with explicit `min-height` on `footer.footer` and its children.\n- If the shift comes from a lazily-injected element, render a placeholder of the final size server-side:\n```css\n.footer { min-height: 320px; contain: layout; }\n```\n- Avoid inserting DOM above the footer after load; if a consent banner must appear, use `position: fixed` so it does not reflow the document.\n- Re-run Lighthouse mobile and confirm CLS < 0.1."},{"priority":1,"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 (…/6c041c12…png) has loading=\"lazy\" and no fetchpriority, which delays LCP (2.6 s mobile) and contributes to the 4.49 s Speed Index.","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```\n- Keep `loading=\"lazy\"` only on below-the-fold images.\n- If the real LCP element is a different node, apply the same treatment to it (Lighthouse LCP element was unavailable in this run)."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2, PSI Accessibility score","problem":"Lighthouse mobile fails `button-name` with score 0.00 at weight 10 — buttons on the page have no discernible text for assistive technology.","solution":"- Add visible text, or an `aria-label` when the button is icon-only:\n```html\n<button type=\"button\" aria-label=\"Open search\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Never rely on a background-image or icon font alone for the name.\n- Re-run axe/Lighthouse and confirm `button-name` passes."},{"priority":1,"category":"Accessibility","title":"Add a real heading structure (currently zero headings)","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, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0 — the article has no semantic headings at all.","solution":"- Wrap the article title in a single `<h1>` and section titles in `<h2>`/`<h3>` in document order.\n- Do not use styled `<div>`/`<p>` for visual headings.\n```html\n<h1>Vineeri kvaliteediklassid selgeks</h1>\n<h2>S, BB, WG ja WGE klassid</h2>\n```\n- Verify with the accessibility tree that the outline reads top-down without skipped levels."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"Lighthouse mobile fails `target-size` with score 0.00 at weight 7 — interactive elements are too small or too tightly spaced for touch.","solution":"- Ensure every link/button has at least a 44×44 CSS-px hit area, using padding rather than larger icons:\n```css\na.icon-link, button.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Add at least 8 px spacing between adjacent targets in nav and footer link lists."},{"priority":2,"category":"Performance","title":"Stop serving the HTML document with cache-control max-age=0","impact":"Repeat-view TTFB, caching efficiency","problem":"The document response returns `cache-control: max-age=0` with an `expires` timestamp equal to the request time, so every navigation revalidates the full 66.9 KB HTML despite WP Rocket being active.","solution":"- In WP Rocket (or the origin), enable browser caching for HTML with a short but non-zero TTL, e.g. `Cache-Control: public, max-age=600, s-maxage=3600`.\n- Keep `max-age=0` only for logged-in or personalized responses.\n- Confirm `vary: Accept-Encoding` is preserved."},{"priority":2,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"Markup validity, script execution order","problem":"W3C reports 8 errors: 5× `script` with a non-JS `type` carrying `defer`, 1× the same pattern with `async`, and 2× `srcset` candidates missing a width descriptor while `sizes` is present.","solution":"- The `type=\"text/rocketlazyloadscript\"` data blocks must not carry `defer`/`async`; move those attributes to the real script tag WP Rocket injects, or exclude those snippets from delay-JS.\n- Add width descriptors to the two `srcset` values:\n```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12….png 251w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```\n- Re-validate at validator.w3.org and target 0 errors."},{"priority":2,"category":"SEO","title":"Fix structured data (modeled audit failing, JSON-LD type Unknown)","impact":"Rich results eligibility, SEO","problem":"Lighthouse flags `structuredData` as a failing modeled audit and the inventory reports 1 JSON-LD block whose type resolves to \"Unknown\" — no recognized schema.org type is declared.","solution":"- Add an explicit `@type` (e.g. `Article` or `BlogPosting`) with required properties:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Vineeri kvaliteediklassid selgeks\",\"datePublished\":\"2026-07-06\",\"author\":{\"@type\":\"Organization\",\"name\":\"estply\"},\"image\":\"https://estply.com/…\"}\n```\n- Validate with the Rich Results Test before shipping."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only `frame-ancestors 'self'` — `default-src` is missing and `object-src` is not `'none'`, so no script or resource restrictions apply. Site signals show no auth, payments, UGC or commerce, so this is P3 rather than P1.","solution":"- Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```\n- Roll out in report-only mode first, then enforce.\n- Revisit priority if a login or user-generated content is ever added."},{"priority":3,"category":"Security","title":"Complete the remaining header hygiene set","impact":"Transport hardening, referrer leakage, feature exposure","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Referrer-Policy, Permissions-Policy, COOP and CORP are all missing; the `Server: Apache / ZoneOS` header discloses the stack; and the jsdelivr script has no `integrity` attribute.","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 \"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- Add SRI to the CDN script: `<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\" integrity=\"sha384-…\" crossorigin=\"anonymous\" defer>`.\n- Submit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Security","title":"Block the WordPress installer and move the login path","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<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Put `/wp-login.php` behind a WAF rule or a plugin-based custom login slug, and rate-limit authentication attempts."},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor-text relevance, screen-reader link lists","problem":"The inventory finds repeated generic anchors — \"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"contact\" ×2, \"code of conduct\" ×3, \"factory visitor reminder\" ×2 — which read ambiguously out of context.","solution":"- Make anchor text self-describing (\"Timber purchasing process\" instead of \"resources\").\n- Where the visual design requires short labels, add `aria-label` with the full context:\n```html\n<a href=\"/en/resources/\" aria-label=\"Timber resources and documentation\">Resources</a>\n```"}],"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":73,"perfDesktop":94,"lcpMobileMs":2552,"lcpDesktopMs":741,"clsMobile":0.4812048502278804,"clsDesktop":0.1312455175711212}]},"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":"Mobile performance is 73 against desktop 94 — a 21-point gap — driven almost entirely by CLS 0.481 (heavy-penalty band, culprit: the footer element) and a 4.49 s Speed Index, while TBT 0 ms, TTFB 3 ms and FCP 1.20 s are all clean. LCP 2.6 s sits in the warning band and is partly self-inflicted: the hero image is served with loading=\"lazy\" and no fetchpriority, per the optimized-web checklist. Accessibility is the second drag: PSI mobile 91 with two zero-scoring audits (button-name, weight 10; target-size, weight 7), axe's page-has-heading-one, and an HTML inventory showing zero h1–h6 elements on the page. 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. Treat FAILED as a must-fix and PASS as a starting point, not a certificate.\" — but the 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 stay P3. W3C reports 8 errors (5 script type+defer, 1 async, 2 srcset candidates missing width) and the document is served with cache-control max-age=0, both minor but real. All tools returned data and signals are consistent, so confidence is high.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Eliminate the footer layout shift causing CLS 0.481","impact":"CLS, Speed Index, mobile Performance score","problem":"Lighthouse mobile reports CLS 0.481 (score 0.17, weight 25) with the shift attributed to div#page > div.main > div.main__footer > footer.footer; desktop is also in the warning band at 0.131.","solution":"- Reserve space for anything injected into the footer (cookie banner, iframe manager, late-loading badges) with explicit `min-height` on `footer.footer` and its children.\n- If the shift comes from a lazily-injected element, render a placeholder of the final size server-side:\n```css\n.footer { min-height: 320px; contain: layout; }\n```\n- Avoid inserting DOM above the footer after load; if a consent banner must appear, use `position: fixed` so it does not reflow the document.\n- Re-run Lighthouse mobile and confirm CLS < 0.1."},{"priority":1,"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 (…/6c041c12…png) has loading=\"lazy\" and no fetchpriority, which delays LCP (2.6 s mobile) and contributes to the 4.49 s Speed Index.","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```\n- Keep `loading=\"lazy\"` only on below-the-fold images.\n- If the real LCP element is a different node, apply the same treatment to it (Lighthouse LCP element was unavailable in this run)."},{"priority":1,"category":"Accessibility","title":"Give every button an accessible name","impact":"WCAG 4.1.2, PSI Accessibility score","problem":"Lighthouse mobile fails `button-name` with score 0.00 at weight 10 — buttons on the page have no discernible text for assistive technology.","solution":"- Add visible text, or an `aria-label` when the button is icon-only:\n```html\n<button type=\"button\" aria-label=\"Open search\"><svg aria-hidden=\"true\">…</svg></button>\n```\n- Never rely on a background-image or icon font alone for the name.\n- Re-run axe/Lighthouse and confirm `button-name` passes."},{"priority":1,"category":"Accessibility","title":"Add a real heading structure (currently zero headings)","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, h2 ×0, h3 ×0, h4 ×0, h5 ×0, h6 ×0 — the article has no semantic headings at all.","solution":"- Wrap the article title in a single `<h1>` and section titles in `<h2>`/`<h3>` in document order.\n- Do not use styled `<div>`/`<p>` for visual headings.\n```html\n<h1>Vineeri kvaliteediklassid selgeks</h1>\n<h2>S, BB, WG ja WGE klassid</h2>\n```\n- Verify with the accessibility tree that the outline reads top-down without skipped levels."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets to 44×44 px","impact":"WCAG 2.5.8, mobile usability","problem":"Lighthouse mobile fails `target-size` with score 0.00 at weight 7 — interactive elements are too small or too tightly spaced for touch.","solution":"- Ensure every link/button has at least a 44×44 CSS-px hit area, using padding rather than larger icons:\n```css\na.icon-link, button.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }\n```\n- Add at least 8 px spacing between adjacent targets in nav and footer link lists."},{"priority":2,"category":"Performance","title":"Stop serving the HTML document with cache-control max-age=0","impact":"Repeat-view TTFB, caching efficiency","problem":"The document response returns `cache-control: max-age=0` with an `expires` timestamp equal to the request time, so every navigation revalidates the full 66.9 KB HTML despite WP Rocket being active.","solution":"- In WP Rocket (or the origin), enable browser caching for HTML with a short but non-zero TTL, e.g. `Cache-Control: public, max-age=600, s-maxage=3600`.\n- Keep `max-age=0` only for logged-in or personalized responses.\n- Confirm `vary: Accept-Encoding` is preserved."},{"priority":2,"category":"Best Practices","title":"Fix the 8 W3C validation errors","impact":"Markup validity, script execution order","problem":"W3C reports 8 errors: 5× `script` with a non-JS `type` carrying `defer`, 1× the same pattern with `async`, and 2× `srcset` candidates missing a width descriptor while `sizes` is present.","solution":"- The `type=\"text/rocketlazyloadscript\"` data blocks must not carry `defer`/`async`; move those attributes to the real script tag WP Rocket injects, or exclude those snippets from delay-JS.\n- Add width descriptors to the two `srcset` values:\n```html\n<img src=\"…6c041c12….png\"\n     srcset=\"…6c041c12….png 251w\"\n     sizes=\"(max-width: 600px) 100vw, 251px\"\n     width=\"251\" height=\"134\" alt=\"\">\n```\n- Re-validate at validator.w3.org and target 0 errors."},{"priority":2,"category":"SEO","title":"Fix structured data (modeled audit failing, JSON-LD type Unknown)","impact":"Rich results eligibility, SEO","problem":"Lighthouse flags `structuredData` as a failing modeled audit and the inventory reports 1 JSON-LD block whose type resolves to \"Unknown\" — no recognized schema.org type is declared.","solution":"- Add an explicit `@type` (e.g. `Article` or `BlogPosting`) with required properties:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Vineeri kvaliteediklassid selgeks\",\"datePublished\":\"2026-07-06\",\"author\":{\"@type\":\"Organization\",\"name\":\"estply\"},\"image\":\"https://estply.com/…\"}\n```\n- Validate with the Rich Results Test before shipping."},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is present but only `frame-ancestors 'self'` — `default-src` is missing and `object-src` is not `'none'`, so no script or resource restrictions apply. Site signals show no auth, payments, UGC or commerce, so this is P3 rather than P1.","solution":"- Add a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```\n- Roll out in report-only mode first, then enforce.\n- Revisit priority if a login or user-generated content is ever added."},{"priority":3,"category":"Security","title":"Complete the remaining header hygiene set","impact":"Transport hardening, referrer leakage, feature exposure","problem":"HSTS is `max-age=31536000; includeSubDomains` but lacks `preload`; Referrer-Policy, Permissions-Policy, COOP and CORP are all missing; the `Server: Apache / ZoneOS` header discloses the stack; and the jsdelivr script has no `integrity` attribute.","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 \"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- Add SRI to the CDN script: `<script src=\"https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js\" integrity=\"sha384-…\" crossorigin=\"anonymous\" defer>`.\n- Submit the domain at hstspreload.org once the header is live."},{"priority":3,"category":"Security","title":"Block the WordPress installer and move the login path","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<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Put `/wp-login.php` behind a WAF rule or a plugin-based custom login slug, and rate-limit authentication attempts."},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor-text relevance, screen-reader link lists","problem":"The inventory finds repeated generic anchors — \"about us\" ×2, \"products\" ×2, \"resources\" ×2, \"contact\" ×2, \"code of conduct\" ×3, \"factory visitor reminder\" ×2 — which read ambiguously out of context.","solution":"- Make anchor text self-describing (\"Timber purchasing process\" instead of \"resources\").\n- Where the visual design requires short labels, add `aria-label` with the full context:\n```html\n<a href=\"/en/resources/\" aria-label=\"Timber resources and documentation\">Resources</a>\n```"}],"perfScore":73,"a11yScore":91,"bestPracticesScore":100,"seoScore":100,"securityScore":82,"securityVerdict":"PASS"}]}