{"url":"https://restate.ee/","date":"2026-11-13","siteName":"Avaleht - Restate","overall":92,"base":94.9,"baseLosses":[{"category":"Performance","score":94,"weight":40,"loss":2.4},{"category":"Accessibility","score":95,"weight":30,"loss":1.5},{"category":"SEO","score":92,"weight":15,"loss":1.2}],"deductions":[{"id":"html","signal":"HTML validation","points":2,"band":"6–20 errors","evidence":"7 W3C errors"},{"id":"images","signal":"Image delivery","points":1,"band":"100–499 KiB","evidence":"PSI estimates 495 KiB image-delivery savings (mobile)"},{"id":"headers","signal":"Advanced security headers","points":0,"band":"not warranted for this site type","evidence":"Failing: Content-Security-Policy present, CSP is strict, Cross-Origin-Opener-Policy, Cross-Origin-Resource-Policy"}],"reasoning":"HTML validation (7 W3C errors, −2) is the largest single deduction, followed by mobile Performance 94 (−2.4) where lab LCP is 2.7 s versus 0.6 s on desktop and PSI estimates 495 KiB of image savings; SEO 92 (−1.2) is driven by the missing meta description. Field data is healthy (CrUX p75 LCP 887 ms, TTFB 400 ms), so the remaining work is polish rather than breakage.","confidence":"high","fixes":[{"priority":1,"category":"Best Practices","title":"Fix W3C validation errors","impact":"HTML validation row (−2), HTML validity, parser robustness","problem":"The W3C validator reports 7 errors, all of the same kind: a `<script type=\"text/rocketlazyloadscript\" … defer>` data block carrying a `defer` attribute (first at line 957).","solution":"WP Rocket's lazyload rewrite emits a non-JS `type` together with `defer`, which HTML forbids.\n- Exclude the affected scripts from Delay JS execution in WP Rocket, or\n- Update WP Rocket to a version that emits `type=\"rocketlazyloadscript\"` without `defer`.\n- Re-run the validator until the 7 errors drop to 0.","rows":["html"]},{"priority":1,"category":"Performance","title":"Serve images in WebP/AVIF at the right size","impact":"Image delivery row (−1), LCP, Speed Index, total page weight","problem":"PSI estimates 495 KiB of image-delivery savings on mobile; the runtime capture shows 6 images totalling 590.6 KB, and the footer PNGs (e.g. chicken-dollar.png at 358×720) are served as PNG.","solution":"- Convert the footer PNGs to WebP/AVIF and keep the existing `srcset` widths.\n- Serve via `<picture>` with a raster fallback:\n```html\n<picture>\n  <source type=\"image/webp\" srcset=\"hammer-233.webp 233w, hammer-466.webp 466w\" sizes=\"233px\">\n  <img src=\"hammer.png\" alt=\"\" width=\"233\" height=\"382\" loading=\"lazy\">\n</picture>\n```","rows":["images"]},{"priority":1,"category":"Performance","title":"Load the hero image eagerly","impact":"LCP, Speed Index","problem":"The checklist flags the hero image (`…/img/footer/hammer.png`) as `loading=\"lazy\"` with no `fetchpriority`, delaying the mobile LCP of 2.7 s.","solution":"```html\n<img src=\"…/hammer.png\" alt=\"\" width=\"233\" height=\"382\" loading=\"eager\" fetchpriority=\"high\">\n```\nKeep `loading=\"lazy\"` on everything below the fold.","rows":[]},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score, SERP snippet quality","problem":"The document has no meta description (`meta-description` audit scores 0) and SEO sits at 92.","solution":"Add a unique 120–155 character description in Estonian, e.g.:\n```html\n<meta name=\"description\" content=\"Restate — kinnisvara arendus ja varahaldus Eestis. Tutvu aktiivsete pakkumiste, uusarenduste ja teenustega.\">\n```","rows":[]},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets","impact":"Mobile usability, WCAG 2.5.8","problem":"Lighthouse `target-size` scores 0.00 (weight 7) — touch targets lack sufficient size or spacing on mobile.","solution":"- Ensure every link/button is at least 24×24 px (44×44 px recommended) with ≥8 px spacing.\n- Add padding to the footer social icons and nav links rather than relying on the glyph box.","rows":[]},{"priority":2,"category":"Performance","title":"Self-host and preload web fonts","impact":"FCP, Speed Index, render delay","problem":"PSI's `font-display-insight` estimates 230 ms of savings; the runtime shows two blocking requests to fonts.googleapis.com (128 ms and 126 ms) for Open Sans.","solution":"- Host the Open Sans woff2 files on restate.ee and drop the `fonts.googleapis.com` CSS request.\n- Preload the primary weight:\n```html\n<link rel=\"preload\" href=\"/fonts/open-sans-400.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n- Keep `font-display: swap` in the `@font-face` rules.","rows":[]},{"priority":2,"category":"Accessibility","title":"Give duplicate landmarks unique accessible names","impact":"Screen-reader navigation","problem":"axe reports `landmark-unique` (moderate) on `.footer__social` — two landmarks share the same role without distinguishing labels.","solution":"Add a unique `aria-label` to each landmark:\n```html\n<nav class=\"footer__social\" aria-label=\"Sotsiaalmeedia\">…</nav>\n```","rows":[]},{"priority":3,"category":"SEO","title":"Make link text descriptive","impact":"Anchor-text relevance, screen-reader link lists","problem":"Repeated vague anchors appear across the page: \"ülevaade\" ×4, \"tiim\" ×3, \"äri\" ×2, \"teenused\" ×2, \"võta ühendust\" ×2.","solution":"- Extend anchor text to describe the destination (e.g. \"Vaata kinnisvara ülevaadet\").\n- Where the visual design requires short text, add `aria-label` with the full context.","rows":[]},{"priority":3,"category":"SEO","title":"Add structured data","impact":"Rich-result eligibility","problem":"The single JSON-LD block parses as type \"Unknown\", and PSI's `structuredData` audit fails — no Organization/LocalBusiness/WebSite markup is recognised.","solution":"Add a valid `Organization` + `WebSite` graph:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"Restate\",\"url\":\"https://restate.ee/\",\"logo\":\"https://restate.ee/logo.png\"}\n```","rows":[]},{"priority":3,"category":"Security","title":"Enable HSTS preload","impact":"First-visit downgrade protection","problem":"HSTS is set (`max-age=31536000; includeSubDomains`) but lacks the `preload` directive, so the domain is not eligible for browser preload lists.","solution":"- Add `preload` to the header: `Strict-Transport-Security: max-age=31536000; includeSubDomains; preload`\n- Submit the domain at hstspreload.org once all subdomains are HTTPS-only.","rows":[]},{"priority":3,"category":"Security","title":"Add Subresource Integrity to third-party scripts","impact":"Supply-chain tampering risk","problem":"Both cross-origin scripts (iframemanager and cookieconsent from cdn.jsdelivr.net) load without an `integrity` attribute.","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nPin exact versions and generate the hash from the served file.","rows":[]},{"priority":3,"category":"Security","title":"Protect the WordPress login and installer","impact":"Brute-force and takeover surface","problem":"`/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- Restrict `/wp-login.php` by IP or add a login rate-limit / 2FA plugin.\n- Consider moving the login to a custom path.","rows":[]},{"priority":3,"category":"Security","title":"Hide server version headers","impact":"Fingerprinting surface","problem":"The response discloses `Server: Apache / ZoneOS`, flagged as a technology-disclosure warning.","solution":"```apache\nServerTokens Prod\nServerSignature Off\nHeader unset X-Powered-By\n```","rows":[]},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing entirely (both `CSP present` and `CSP is strict` fail); with no auth, payments or user content on this site the exposure is limited, so this is best-practice work.","solution":"Deploy 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```\nAdd COOP/CORP alongside: `Cross-Origin-Opener-Policy: same-origin`, `Cross-Origin-Resource-Policy: same-origin`.","rows":[]}],"coverage":{"pct":100,"missing":[]},"siteSummary":{"pagesAudited":1,"pagesAttempted":1,"urls":["https://restate.ee/"]},"psiSnapshot":{"rows":[{"pageUrl":null,"perfMobile":94,"perfDesktop":100,"lcpMobileMs":2718,"lcpDesktopMs":632.5,"clsMobile":0,"clsDesktop":0.0003112991455516845}]},"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: 101364 bytes","ratio: 0.233"]},{"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: https://restate.ee/wp-content/themes/restate/inc/theme/img/footer/hammer.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":"pass","detail":"6/6 raster images use srcset or <picture> (100%).","evidence":[]},{"id":"imageSizes","title":"Reasonable number of image sizes","status":"pass","detail":"6 distinct srcset widths.","evidence":["widths: 143, 233, 260, 290, 358, 401"]},{"id":"scriptsFooter","title":"JS scripts not blocking in <head>","status":"pass","detail":"No render-blocking scripts in <head>.","evidence":[]}],"summary":{"passed":6,"warned":0,"failed":1,"notApplicable":1},"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://restate.ee/","overall":92,"reasoning":"HTML validation (7 W3C errors, −2) is the largest single deduction, followed by mobile Performance 94 (−2.4) where lab LCP is 2.7 s versus 0.6 s on desktop and PSI estimates 495 KiB of image savings; SEO 92 (−1.2) is driven by the missing meta description. Field data is healthy (CrUX p75 LCP 887 ms, TTFB 400 ms), so the remaining work is polish rather than breakage.","confidence":"high","fixes":[{"priority":1,"category":"Best Practices","title":"Fix W3C validation errors","impact":"HTML validation row (−2), HTML validity, parser robustness","problem":"The W3C validator reports 7 errors, all of the same kind: a `<script type=\"text/rocketlazyloadscript\" … defer>` data block carrying a `defer` attribute (first at line 957).","solution":"WP Rocket's lazyload rewrite emits a non-JS `type` together with `defer`, which HTML forbids.\n- Exclude the affected scripts from Delay JS execution in WP Rocket, or\n- Update WP Rocket to a version that emits `type=\"rocketlazyloadscript\"` without `defer`.\n- Re-run the validator until the 7 errors drop to 0.","rows":["html"]},{"priority":1,"category":"Performance","title":"Serve images in WebP/AVIF at the right size","impact":"Image delivery row (−1), LCP, Speed Index, total page weight","problem":"PSI estimates 495 KiB of image-delivery savings on mobile; the runtime capture shows 6 images totalling 590.6 KB, and the footer PNGs (e.g. chicken-dollar.png at 358×720) are served as PNG.","solution":"- Convert the footer PNGs to WebP/AVIF and keep the existing `srcset` widths.\n- Serve via `<picture>` with a raster fallback:\n```html\n<picture>\n  <source type=\"image/webp\" srcset=\"hammer-233.webp 233w, hammer-466.webp 466w\" sizes=\"233px\">\n  <img src=\"hammer.png\" alt=\"\" width=\"233\" height=\"382\" loading=\"lazy\">\n</picture>\n```","rows":["images"]},{"priority":1,"category":"Performance","title":"Load the hero image eagerly","impact":"LCP, Speed Index","problem":"The checklist flags the hero image (`…/img/footer/hammer.png`) as `loading=\"lazy\"` with no `fetchpriority`, delaying the mobile LCP of 2.7 s.","solution":"```html\n<img src=\"…/hammer.png\" alt=\"\" width=\"233\" height=\"382\" loading=\"eager\" fetchpriority=\"high\">\n```\nKeep `loading=\"lazy\"` on everything below the fold.","rows":[]},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO score, SERP snippet quality","problem":"The document has no meta description (`meta-description` audit scores 0) and SEO sits at 92.","solution":"Add a unique 120–155 character description in Estonian, e.g.:\n```html\n<meta name=\"description\" content=\"Restate — kinnisvara arendus ja varahaldus Eestis. Tutvu aktiivsete pakkumiste, uusarenduste ja teenustega.\">\n```","rows":[]},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets","impact":"Mobile usability, WCAG 2.5.8","problem":"Lighthouse `target-size` scores 0.00 (weight 7) — touch targets lack sufficient size or spacing on mobile.","solution":"- Ensure every link/button is at least 24×24 px (44×44 px recommended) with ≥8 px spacing.\n- Add padding to the footer social icons and nav links rather than relying on the glyph box.","rows":[]},{"priority":2,"category":"Performance","title":"Self-host and preload web fonts","impact":"FCP, Speed Index, render delay","problem":"PSI's `font-display-insight` estimates 230 ms of savings; the runtime shows two blocking requests to fonts.googleapis.com (128 ms and 126 ms) for Open Sans.","solution":"- Host the Open Sans woff2 files on restate.ee and drop the `fonts.googleapis.com` CSS request.\n- Preload the primary weight:\n```html\n<link rel=\"preload\" href=\"/fonts/open-sans-400.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n- Keep `font-display: swap` in the `@font-face` rules.","rows":[]},{"priority":2,"category":"Accessibility","title":"Give duplicate landmarks unique accessible names","impact":"Screen-reader navigation","problem":"axe reports `landmark-unique` (moderate) on `.footer__social` — two landmarks share the same role without distinguishing labels.","solution":"Add a unique `aria-label` to each landmark:\n```html\n<nav class=\"footer__social\" aria-label=\"Sotsiaalmeedia\">…</nav>\n```","rows":[]},{"priority":3,"category":"SEO","title":"Make link text descriptive","impact":"Anchor-text relevance, screen-reader link lists","problem":"Repeated vague anchors appear across the page: \"ülevaade\" ×4, \"tiim\" ×3, \"äri\" ×2, \"teenused\" ×2, \"võta ühendust\" ×2.","solution":"- Extend anchor text to describe the destination (e.g. \"Vaata kinnisvara ülevaadet\").\n- Where the visual design requires short text, add `aria-label` with the full context.","rows":[]},{"priority":3,"category":"SEO","title":"Add structured data","impact":"Rich-result eligibility","problem":"The single JSON-LD block parses as type \"Unknown\", and PSI's `structuredData` audit fails — no Organization/LocalBusiness/WebSite markup is recognised.","solution":"Add a valid `Organization` + `WebSite` graph:\n```json\n{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"Restate\",\"url\":\"https://restate.ee/\",\"logo\":\"https://restate.ee/logo.png\"}\n```","rows":[]},{"priority":3,"category":"Security","title":"Enable HSTS preload","impact":"First-visit downgrade protection","problem":"HSTS is set (`max-age=31536000; includeSubDomains`) but lacks the `preload` directive, so the domain is not eligible for browser preload lists.","solution":"- Add `preload` to the header: `Strict-Transport-Security: max-age=31536000; includeSubDomains; preload`\n- Submit the domain at hstspreload.org once all subdomains are HTTPS-only.","rows":[]},{"priority":3,"category":"Security","title":"Add Subresource Integrity to third-party scripts","impact":"Supply-chain tampering risk","problem":"Both cross-origin scripts (iframemanager and cookieconsent from cdn.jsdelivr.net) load without an `integrity` attribute.","solution":"```html\n<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js\"\n        integrity=\"sha384-…\" crossorigin=\"anonymous\" defer></script>\n```\nPin exact versions and generate the hash from the served file.","rows":[]},{"priority":3,"category":"Security","title":"Protect the WordPress login and installer","impact":"Brute-force and takeover surface","problem":"`/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- Restrict `/wp-login.php` by IP or add a login rate-limit / 2FA plugin.\n- Consider moving the login to a custom path.","rows":[]},{"priority":3,"category":"Security","title":"Hide server version headers","impact":"Fingerprinting surface","problem":"The response discloses `Server: Apache / ZoneOS`, flagged as a technology-disclosure warning.","solution":"```apache\nServerTokens Prod\nServerSignature Off\nHeader unset X-Powered-By\n```","rows":[]},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing entirely (both `CSP present` and `CSP is strict` fail); with no auth, payments or user content on this site the exposure is limited, so this is best-practice work.","solution":"Deploy 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```\nAdd COOP/CORP alongside: `Cross-Origin-Opener-Policy: same-origin`, `Cross-Origin-Resource-Policy: same-origin`.","rows":[]}],"perfScore":94,"a11yScore":95,"bestPracticesScore":100,"seoScore":92,"securityScore":82,"securityVerdict":"PASS","deductions":[{"id":"html","signal":"HTML validation","points":2,"band":"6–20 errors","evidence":"7 W3C errors"},{"id":"images","signal":"Image delivery","points":1,"band":"100–499 KiB","evidence":"PSI estimates 495 KiB image-delivery savings (mobile)"},{"id":"headers","signal":"Advanced security headers","points":0,"band":"not warranted for this site type","evidence":"Failing: Content-Security-Policy present, CSP is strict, Cross-Origin-Opener-Policy, Cross-Origin-Resource-Policy"}],"base":94.9,"baseLosses":[{"category":"Performance","score":94,"weight":40,"loss":2.4},{"category":"Accessibility","score":95,"weight":30,"loss":1.5},{"category":"SEO","score":92,"weight":15,"loss":1.2}]}]}