{"url":"https://restate.ee/","date":"2026-11-13","siteName":"Avaleht - Restate","overall":83,"base":95.7,"baseLosses":[{"category":"Performance","score":96,"weight":40,"loss":1.6},{"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, Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy, Cross-Origin-Resource-Policy"},{"id":"security","signal":"Security basics","points":10,"band":"FAILED","evidence":"FAILED: Strict-Transport-Security, Clickjacking protection, X-Content-Type-Options"}],"reasoning":"Security basics FAILED (−10: HSTS, clickjacking protection and X-Content-Type-Options all missing) is by far the largest deduction; 7 W3C errors (−2) and 495 KiB of estimated image-delivery savings (−1) follow, while mobile Performance 96 and field LCP 887 ms are already strong.","confidence":"high","fixes":[{"priority":1,"category":"Security","title":"Add baseline security headers (HSTS, X-Frame-Options, X-Content-Type-Options)","impact":"Security basics row (−10), Transport security, clickjacking, MIME sniffing","problem":"The Security basics verdict is FAILED because Strict-Transport-Security, clickjacking protection and X-Content-Type-Options are all missing from the response.","solution":"Send these from the origin (Apache example):\n```\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```\nIf you later add a CSP, prefer `frame-ancestors 'self'` over X-Frame-Options.","rows":["security"]},{"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>` with a non-JavaScript `type` (WP Rocket's `text/rocketlazyloadscript`) also carrying `defer`, first at line 957.","solution":"- Let WP Rocket rewrite the tag without `defer`, or exclude that script from delay/combination so the emitted markup is valid.\n- Remove the redundant `type=\"text/javascript\"` flagged as a warning at line 747.\n- Re-run the validator after the plugin setting change to confirm 0 errors.","rows":["html"]},{"priority":2,"category":"Performance","title":"Serve images in WebP/AVIF at the right size","impact":"Image delivery row (−1), Image bytes, LCP","problem":"PSI estimates 495 KiB of image-delivery savings on mobile, and the runtime capture shows 590.6 KB of images across only 6 requests — the footer PNGs (hammer, lego, lollipop, chicken-dollar, croc, duck) are large raster files.","solution":"- Re-encode the PNGs as WebP/AVIF and serve via `<picture>` with a PNG fallback.\n- Keep the existing `srcset` widths but cap the largest variant to the rendered size.\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":2,"category":"Performance","title":"Load the hero image eagerly","impact":"LCP","problem":"The optimization checklist fails on hero loading: the first/largest image (`hammer.png`) is served with `loading=\"lazy\"` and no `fetchpriority`, which delays LCP (2.6 s lab on mobile).","solution":"```html\n<img src=\".../hammer.png\" alt=\"\" width=\"233\" height=\"382\" loading=\"eager\" fetchpriority=\"high\">\n```\nVerify visually which element is the real LCP candidate before applying — the heuristic picks the first large `<img>`.","rows":[]},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO, SERP snippet quality","problem":"The document has no meta description (`meta-description` audit scores 0) and the HTML inventory confirms `Description: not set`.","solution":"Add a unique 120–155 character description in the page head:\n```html\n<meta name=\"description\" content=\"Restate — kinnisvara arendus ja varahaldus Eestis. Tutvu meie kodude, äripindade ja aktiivsete pakkumistega.\">\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) on mobile — interactive elements are smaller or closer than the 24×24 px minimum.","solution":"- Give icon links and footer navigation items at least 44×44 px hit area via padding or `min-height`/`min-width`.\n- Add spacing between adjacent links so targets do not overlap.","rows":[]},{"priority":3,"category":"Accessibility","title":"Give repeated landmarks unique accessible names","impact":"Screen-reader navigation","problem":"axe-core reports one moderate `landmark-unique` violation on `.footer__social`: multiple landmarks share the same role without distinguishing labels.","solution":"```html\n<nav class=\"footer__social\" aria-label=\"Sotsiaalmeedia\">…</nav>\n```\nEnsure every repeated `nav`/`aside`/`form` landmark has a distinct `aria-label` or `aria-labelledby`.","rows":[]},{"priority":3,"category":"Accessibility","title":"Make link text descriptive","impact":"Link purpose (WCAG 2.4.4)","problem":"The inventory lists repeated vague anchors — \"ülevaade\" ×4, \"tiim\" ×3, \"äri\" ×2, \"kodud\" ×2, \"võta ühendust\" ×2 — which are ambiguous out of context.","solution":"- Rewrite anchors to describe the destination (e.g. \"Kodude ülevaade\", \"Tiimi tutvustus\").\n- Where visual design forbids longer text, add `aria-label` to disambiguate.","rows":[]},{"priority":3,"category":"SEO","title":"Add structured data","impact":"Rich results eligibility","problem":"The `structuredData` audit fails and the single JSON-LD block is typed \"Unknown\", so search engines get no usable entity markup.","solution":"Emit valid schema.org JSON-LD, e.g. `Organization` plus `WebSite`:\n```html\n<script type=\"application/ld+json\">\n{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"Restate\",\"url\":\"https://restate.ee/\"}\n</script>\n```","rows":[]},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Information leakage, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing; the advanced-headers row is currently scored as not warranted for this site type, so this is hardening rather than a must-fix.","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-origin\"\n```","rows":[]},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"No Content-Security-Policy is sent. The site has no auth, payments or user-generated content, so XSS impact is limited and this stays a best practice rather than a must-fix.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```\nNote the two jsDelivr scripts and Google Fonts will need nonces or self-hosting.","rows":[]},{"priority":3,"category":"Security","title":"Add Subresource Integrity to third-party scripts","impact":"Supply-chain tampering","problem":"Both cross-origin scripts (jsDelivr iframemanager and cookieconsent) lack 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 fetched file.","rows":[]},{"priority":3,"category":"Security","title":"Hide server version headers","impact":"Fingerprinting","problem":"The response discloses `Server: Apache / ZoneOS`, and the Security basics technology-disclosure check is a warning.","solution":"```\nServerTokens Prod\nServerSignature Off\nHeader unset X-Powered-By\n```","rows":[]},{"priority":3,"category":"Security","title":"Protect the WordPress login and installer","impact":"Brute force, takeover path","problem":"`/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Add login rate limiting / 2FA and consider moving the login path behind a plugin or basic auth.","rows":[]}],"coverage":{"pct":100,"missing":[]},"siteSummary":{"pagesAudited":1,"pagesAttempted":1,"urls":["https://restate.ee/"]},"psiSnapshot":{"rows":[{"pageUrl":null,"perfMobile":96,"perfDesktop":100,"lcpMobileMs":2573.5,"lcpDesktopMs":609.5,"clsMobile":0,"clsDesktop":0}]},"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":83,"reasoning":"Security basics FAILED (−10: HSTS, clickjacking protection and X-Content-Type-Options all missing) is by far the largest deduction; 7 W3C errors (−2) and 495 KiB of estimated image-delivery savings (−1) follow, while mobile Performance 96 and field LCP 887 ms are already strong.","confidence":"high","fixes":[{"priority":1,"category":"Security","title":"Add baseline security headers (HSTS, X-Frame-Options, X-Content-Type-Options)","impact":"Security basics row (−10), Transport security, clickjacking, MIME sniffing","problem":"The Security basics verdict is FAILED because Strict-Transport-Security, clickjacking protection and X-Content-Type-Options are all missing from the response.","solution":"Send these from the origin (Apache example):\n```\nHeader always set Strict-Transport-Security \"max-age=31536000; includeSubDomains\"\nHeader always set X-Content-Type-Options \"nosniff\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```\nIf you later add a CSP, prefer `frame-ancestors 'self'` over X-Frame-Options.","rows":["security"]},{"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>` with a non-JavaScript `type` (WP Rocket's `text/rocketlazyloadscript`) also carrying `defer`, first at line 957.","solution":"- Let WP Rocket rewrite the tag without `defer`, or exclude that script from delay/combination so the emitted markup is valid.\n- Remove the redundant `type=\"text/javascript\"` flagged as a warning at line 747.\n- Re-run the validator after the plugin setting change to confirm 0 errors.","rows":["html"]},{"priority":2,"category":"Performance","title":"Serve images in WebP/AVIF at the right size","impact":"Image delivery row (−1), Image bytes, LCP","problem":"PSI estimates 495 KiB of image-delivery savings on mobile, and the runtime capture shows 590.6 KB of images across only 6 requests — the footer PNGs (hammer, lego, lollipop, chicken-dollar, croc, duck) are large raster files.","solution":"- Re-encode the PNGs as WebP/AVIF and serve via `<picture>` with a PNG fallback.\n- Keep the existing `srcset` widths but cap the largest variant to the rendered size.\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":2,"category":"Performance","title":"Load the hero image eagerly","impact":"LCP","problem":"The optimization checklist fails on hero loading: the first/largest image (`hammer.png`) is served with `loading=\"lazy\"` and no `fetchpriority`, which delays LCP (2.6 s lab on mobile).","solution":"```html\n<img src=\".../hammer.png\" alt=\"\" width=\"233\" height=\"382\" loading=\"eager\" fetchpriority=\"high\">\n```\nVerify visually which element is the real LCP candidate before applying — the heuristic picks the first large `<img>`.","rows":[]},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO, SERP snippet quality","problem":"The document has no meta description (`meta-description` audit scores 0) and the HTML inventory confirms `Description: not set`.","solution":"Add a unique 120–155 character description in the page head:\n```html\n<meta name=\"description\" content=\"Restate — kinnisvara arendus ja varahaldus Eestis. Tutvu meie kodude, äripindade ja aktiivsete pakkumistega.\">\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) on mobile — interactive elements are smaller or closer than the 24×24 px minimum.","solution":"- Give icon links and footer navigation items at least 44×44 px hit area via padding or `min-height`/`min-width`.\n- Add spacing between adjacent links so targets do not overlap.","rows":[]},{"priority":3,"category":"Accessibility","title":"Give repeated landmarks unique accessible names","impact":"Screen-reader navigation","problem":"axe-core reports one moderate `landmark-unique` violation on `.footer__social`: multiple landmarks share the same role without distinguishing labels.","solution":"```html\n<nav class=\"footer__social\" aria-label=\"Sotsiaalmeedia\">…</nav>\n```\nEnsure every repeated `nav`/`aside`/`form` landmark has a distinct `aria-label` or `aria-labelledby`.","rows":[]},{"priority":3,"category":"Accessibility","title":"Make link text descriptive","impact":"Link purpose (WCAG 2.4.4)","problem":"The inventory lists repeated vague anchors — \"ülevaade\" ×4, \"tiim\" ×3, \"äri\" ×2, \"kodud\" ×2, \"võta ühendust\" ×2 — which are ambiguous out of context.","solution":"- Rewrite anchors to describe the destination (e.g. \"Kodude ülevaade\", \"Tiimi tutvustus\").\n- Where visual design forbids longer text, add `aria-label` to disambiguate.","rows":[]},{"priority":3,"category":"SEO","title":"Add structured data","impact":"Rich results eligibility","problem":"The `structuredData` audit fails and the single JSON-LD block is typed \"Unknown\", so search engines get no usable entity markup.","solution":"Emit valid schema.org JSON-LD, e.g. `Organization` plus `WebSite`:\n```html\n<script type=\"application/ld+json\">\n{\"@context\":\"https://schema.org\",\"@type\":\"Organization\",\"name\":\"Restate\",\"url\":\"https://restate.ee/\"}\n</script>\n```","rows":[]},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Information leakage, cross-origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing; the advanced-headers row is currently scored as not warranted for this site type, so this is hardening rather than a must-fix.","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-origin\"\n```","rows":[]},{"priority":3,"category":"Security","title":"Harden the Content-Security-Policy","impact":"XSS defense-in-depth","problem":"No Content-Security-Policy is sent. The site has no auth, payments or user-generated content, so XSS impact is limited and this stays a best practice rather than a must-fix.","solution":"Deploy a nonce-based policy rather than a flat allowlist:\n```\nContent-Security-Policy: script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```\nNote the two jsDelivr scripts and Google Fonts will need nonces or self-hosting.","rows":[]},{"priority":3,"category":"Security","title":"Add Subresource Integrity to third-party scripts","impact":"Supply-chain tampering","problem":"Both cross-origin scripts (jsDelivr iframemanager and cookieconsent) lack 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 fetched file.","rows":[]},{"priority":3,"category":"Security","title":"Hide server version headers","impact":"Fingerprinting","problem":"The response discloses `Server: Apache / ZoneOS`, and the Security basics technology-disclosure check is a warning.","solution":"```\nServerTokens Prod\nServerSignature Off\nHeader unset X-Powered-By\n```","rows":[]},{"priority":3,"category":"Security","title":"Protect the WordPress login and installer","impact":"Brute force, takeover path","problem":"`/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.","solution":"- Block the installer in `.htaccess`:\n```\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Add login rate limiting / 2FA and consider moving the login path behind a plugin or basic auth.","rows":[]}],"perfScore":96,"a11yScore":95,"bestPracticesScore":100,"seoScore":92,"securityScore":65,"securityVerdict":"FAILED","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, Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy, Cross-Origin-Resource-Policy"},{"id":"security","signal":"Security basics","points":10,"band":"FAILED","evidence":"FAILED: Strict-Transport-Security, Clickjacking protection, X-Content-Type-Options"}],"base":95.7,"baseLosses":[{"category":"Performance","score":96,"weight":40,"loss":1.6},{"category":"Accessibility","score":95,"weight":30,"loss":1.5},{"category":"SEO","score":92,"weight":15,"loss":1.2}]}]}