{"url":"https://larsen.ee/","date":"2026-10-13","siteName":"Tallinn accommodation made easy - Larsen","overall":68,"reasoning":"Site overall 68 is the mean of 3 pages. Scores range 64 (https://larsen.ee/about) → 70 (https://larsen.ee/faq). Weakest page: PSI mobile 70 vs desktop 89 with a large lab/field gap — lab LCP 5.5 s and FCP 4.06 s on mobile, but CrUX field LCP 1062 ms p75 (fast) and INP 96 ms, so the throttled simulation is likely pessimistic for real users. The dominant drag is image weight: 2.34 MB of the 2.65 MB total page weight is images, 11/17 raster images lack srcset, 11 lack width/height, and the hero (menu-image-11.jpg) is lazy-loaded with no fetchpriority, costing an estimated 363 KiB. Accessibility is close to passing (mobile 87, desktop 91) but axe flags one critical (button-name on .header__search-submit) and one serious (color-contrast on the current nav link). Security basics FAILED — no HTTP→HTTPS redirect, no HSTS, no CSP, no X-Frame-Options, plus readme.html public, installer reachable, and login on the default /wp-login.php path — which caps the score below 90. W3C reports 55 errors, mostly WordPress plugin inline styles outside @scope and invalid <source src> attributes, adding a further drag.","confidence":"low","fixes":[{"priority":1,"category":"Performance","title":"Stop autoloading 98.74 MB of video from storage.googleapis.com","impact":"Page weight, data cost, LCP, FCP on real devices","problem":"Browser runtime shows 6 media requests totalling 98.74 MB from storage.googleapis.com, with three net::ERR_ABORTED video requests (Larsen - Kokkuvõte eng bars.mp4, uus-logota-larsen-video-2.mp4). This dwarfs the 3.11 MB of images and 206 KB of scripts.","solution":"- Add `preload=\"none\"` and a poster image to every `<video>`; do not set `autoplay` on below-the-fold players.\n- Gate playback behind a click-to-play button that swaps in the `<source>` on demand.\n- Serve the MP4s from a CDN with range requests and consider HLS/DASH for adaptive bitrate.\n```html\n<video preload=\"none\" poster=\"/img/poster.webp\" controls playsinline>\n  <source src=\"…mp4\" type=\"video/mp4\">\n</video>\n```"},{"priority":1,"category":"Performance","title":"Make the hero a real <img> with eager loading and fetchpriority","impact":"LCP, FCP","problem":"The optimized-web checklist fails 'Hero image eagerly loaded' — the hero `<img>` (menu-image-11.jpg) has `loading=\"lazy\"` and no `fetchpriority` — and warns the hero is a CSS background-image on `div.buildings-map__map-overlay` (1200×800 px), so no srcset equivalent exists.","solution":"- Replace the CSS background-image hero with a real `<img>` (or `<picture>`) carrying `srcset`/`sizes`.\n- Set `loading=\"eager\"` (or omit) and `fetchpriority=\"high\"` on the LCP image.\n```html\n<img src=\"/img/hero-1200.webp\"\n     srcset=\"/img/hero-800.webp 800w, /img/hero-1200.webp 1200w, /img/hero-1600.webp 1600w\"\n     sizes=\"100vw\"\n     fetchpriority=\"high\" decoding=\"async\"\n     width=\"1200\" height=\"800\" alt=\"…\">\n```"},{"priority":1,"category":"Accessibility","title":"Give the header search submit button an accessible name","impact":"WCAG 4.1.2 (Name, Role, Value); screen reader users cannot identify the control","problem":"axe-core reports a critical `button-name` violation on `.header__search-submit` — the button has no discernible text. PSI's `button-name` audit also scores 0.00 (weight 10).","solution":"Add a visible or visually-hidden label:\n```html\n<button class=\"header__search-submit\" type=\"submit\" aria-label=\"Search\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```"},{"priority":1,"category":"Security","title":"Add Strict-Transport-Security (HSTS)","impact":"TLS downgrade / SSL-strip protection","problem":"Security basics marks Strict-Transport-Security as FAILED — the header is missing, so browsers will happily follow an http:// link to this origin.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nStart with a short max-age to verify, then raise it and submit to hstspreload.org."},{"priority":1,"category":"Security","title":"Add clickjacking protection","impact":"Framing / UI-redress attacks","problem":"Security basics marks Clickjacking protection as FAILED — neither X-Frame-Options nor CSP frame-ancestors is set, so the page can be framed.","solution":"Prefer CSP frame-ancestors, with X-Frame-Options as a fallback for older browsers:\n```\nHeader always set Content-Security-Policy \"frame-ancestors 'self'\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```"},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP, FCP","problem":"The hero image (menu-image-11.jpg) has loading=\"lazy\" and no fetchpriority, and mobile lab LCP is 5.5 s / FCP 4.06 s.","solution":"Mark the hero as eager and give it priority:\n```html\n<img src=\".../menu-image-11.jpg\" loading=\"eager\" fetchpriority=\"high\" width=\"1600\" height=\"900\" alt=\"…\">\n```\nKeep loading=\"lazy\" on everything below the fold."},{"priority":1,"category":"Performance","title":"Optimize and serve responsive images","impact":"LCP, page weight","problem":"Images account for 2.34 MB of the 2.65 MB total page weight; PSI estimates 363 KiB savings and 11/17 raster images lack srcset.","solution":"- Convert JPEG/PNG to WebP/AVIF and add `<picture>` fallbacks.\n- Add `srcset`/`sizes` to the 11 images missing them (menu-image-11/22, the two 150×150 PNGs, the GreenKey logo).\n- Re-encode the 342.6 KB menu-image-22.jpg, which is the largest single image request."},{"priority":1,"category":"Security","title":"Redirect HTTP to HTTPS and enable HSTS","impact":"Transport security, downgrade attacks","problem":"http://larsen.ee/about does not redirect to HTTPS and the Strict-Transport-Security header is missing.","solution":"Force HTTPS at the edge/origin and send HSTS:\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nThen submit the domain to hstspreload.org."},{"priority":1,"category":"Accessibility","title":"Give the search submit button an accessible name","impact":"WCAG 4.1.2 (button-name)","problem":"axe reports a critical button-name violation on `.header__search-submit` — the button has no discernible text.","solution":"Add visible text or an aria-label:\n```html\n<button class=\"header__search-submit\" aria-label=\"Search\">…</button>\n```"},{"priority":1,"category":"Security","title":"Enforce HTTPS redirect and add HSTS","impact":"Transport security, session hijacking, downgrade attacks","problem":"Security basics FAILED: http://larsen.ee/faq does not redirect to HTTPS and Strict-Transport-Security is missing — both basic-tier checks.","solution":"Redirect all plain HTTP to HTTPS at the edge/origin, then send HSTS:\n```\n# nginx\nserver { listen 80; server_name larsen.ee; return 301 https://$host$request_uri; }\nadd_header Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\" always;\n```\nVerify with `curl -I http://larsen.ee/faq` (expect 301) and submit to hstspreload.org once stable."},{"priority":1,"category":"Accessibility","title":"Give the header search button an accessible name","impact":"WCAG 4.1.2, screen reader users","problem":"axe critical button-name violation on .header__search-submit; PSI button-name scores 0.00 (weight 10).","solution":"Add an accessible name to the submit button:\n```html\n<button class=\"header__search-submit\" aria-label=\"Search\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\nOr include a visually-hidden `<span class=\"sr-only\">Search</span>` inside the button."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on the current-page nav link","impact":"WCAG 1.4.3 (AA); readability","problem":"axe-core reports a serious `color-contrast` violation on `.is-current[aria-current=\"page\"][href$=\"larsen.ee/\"]`; PSI's color-contrast audit also scores 0.00 (weight 7).","solution":"- Darken the active nav link color to reach ≥4.5:1 against its background (or ≥3:1 if it qualifies as large text).\n- Verify with the DevTools contrast checker, including hover/focus states."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets and label the unlabeled form inputs","impact":"WCAG 2.5.8 target size; WCAG 1.3.1/4.1.2 form labels","problem":"PSI's `target-size` audit scores 0.00 (weight 7) and `tapTargets` is a failing SEO-modeled audit; HTML inventory also shows Form 2 with two text inputs that have no label.","solution":"- Ensure every interactive control is at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Associate a `<label for>` (or `aria-label`) with each text input in Form 2.\n```html\n<label for=\"newsletter-email\">Email</label>\n<input id=\"newsletter-email\" type=\"email\" name=\"email\" autocomplete=\"email\">\n```"},{"priority":2,"category":"Performance","title":"Ship responsive, dimensioned images","impact":"LCP, CLS, image bytes (est. 251 KiB savings)","problem":"PSI's `image-delivery-insight` estimates 251 KiB of savings; HTML inventory shows 11 of 40 images without explicit width/height and only 29/40 using srcset, and the checklist flags menu-image-11.jpg and menu-image-22.jpg as non-responsive.","solution":"- Add `width`/`height` (or `aspect-ratio` in CSS) to all 11 images missing dimensions to reserve layout space.\n- Extend `srcset`/`sizes` to the remaining 11 raster images; the site already generates 18 widths, so reuse them.\n- Convert the remaining JPEG/PNG assets to WebP/AVIF.\n```html\n<img src=\"/img/menu-800.webp\"\n     srcset=\"/img/menu-400.webp 400w, /img/menu-800.webp 800w, /img/menu-1200.webp 1200w\"\n     sizes=\"(max-width: 800px) 100vw, 800px\"\n     width=\"800\" height=\"600\" loading=\"lazy\" alt=\"…\">\n```"},{"priority":2,"category":"Performance","title":"Defer or move the render-blocking scripts","impact":"FCP (2.71 s mobile), Speed Index (2.92 s), TBT","problem":"HTML inventory shows 22 scripts with only 1 defer and 2 async, and 6 render-blocking scripts; the checklist flags 2 render-blocking scripts in `<head>` (iframemanager.js and cookieconsent.umd.js from cdn.jsdelivr.net). PSI's `render-blocking-insight` is a medium priority fix.","solution":"- Add `defer` to `iframemanager.js` and `cookieconsent.umd.js` (both are safe to defer — they only run on user interaction).\n- Audit the remaining 4 render-blocking scripts and defer or move to the footer where execution order allows.\n- Inline the critical CSS and load the rest with `media=\"print\" onload=\"this.media='all'\"`."},{"priority":2,"category":"Security","title":"Add a Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing (Security basics: advanced FAILED). Site signals show no auth, payments, or user-generated content, but the page does expose a booking flow and a search form, so a baseline CSP is worth deploying.","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```\nRoll it out in Report-Only mode first and watch for violations from GTM, Chatbase and the jsDelivr-hosted consent scripts."},{"priority":2,"category":"Security","title":"Close WordPress hygiene gaps","impact":"Attack surface, information disclosure","problem":"Security basics reports readme.html is public and reveals WordPress, /wp-admin/install.php is reachable, and the login form is served on the default /wp-login.php path.","solution":"- Delete or block `readme.html`:\n```apache\n<Files readme.html>\n  Require all denied\n</Files>\n```\n- Block the installer: `Redirect 403 /wp-admin/install.php`.\n- Move the login form off `/wp-login.php` (e.g. a custom slug) and rate-limit it.\n- Keep the WordPress core, theme and plugins patched — the audit does not test plugin vulnerabilities."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR","problem":"HTML inventory shows `Description: not set`, and PSI's `meta-description` audit scores 0.00.","solution":"Add a unique 120–155 character description to the homepage:\n```html\n<meta name=\"description\" content=\"Furnished apartments and co-living rooms across Tallinn — instant booking, flexible stays, all-inclusive rent.\">\n```"},{"priority":2,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor relevance, accessibility of link purpose","problem":"HTML inventory finds \"learn more\" repeated 6 times plus \"home\", \"locations\", \"features\", \"testimonials\" and others repeated 3 times each; PSI's `link-text` audit scores 0.00 with 6 links flagged.","solution":"- Rewrite anchors to describe the destination, e.g. \"Learn more about Sume\" instead of \"learn more\".\n- Where the visual design requires short text, add `aria-label` with the full purpose."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on the current nav link","impact":"WCAG 1.4.3 (color-contrast)","problem":"axe reports a serious color-contrast violation on `.is-current[aria-current=\"page\"][href$=\"about/\"]`, and 6 further nodes could not be evaluated.","solution":"Raise the foreground/background contrast ratio to at least 4.5:1 for the active nav state, and manually verify the 6 incomplete nodes (likely alpha/gradient backgrounds axe skips)."},{"priority":2,"category":"Security","title":"Add clickjacking protection","impact":"Clickjacking","problem":"Neither X-Frame-Options nor CSP frame-ancestors is set, so the page can be framed.","solution":"Prefer CSP frame-ancestors; keep X-Frame-Options as a fallback:\n```\nHeader always set X-Frame-Options \"SAMEORIGIN\"\nHeader always set Content-Security-Policy \"frame-ancestors 'self'\"\n```"},{"priority":2,"category":"Security","title":"Deploy a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing. The site is WordPress with a reachable /wp-login.php, so an XSS foothold could compromise admin sessions.","solution":"Use a nonce + strict-dynamic 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';\n```\nNote the two cross-origin scripts (jsdelivr) will need nonces or SRI hashes."},{"priority":2,"category":"Performance","title":"Add explicit width/height to images","impact":"CLS","problem":"11 of 17 images lack explicit width/height attributes, which can cause layout shifts.","solution":"Add intrinsic dimensions to every `<img>` (and `<source>`), or set `aspect-ratio` in CSS so the browser reserves space before load."},{"priority":2,"category":"Best Practices","title":"Fix the 55 W3C HTML validation errors","impact":"Markup correctness, maintainability","problem":"W3C reports 55 errors, led by invalid `src` on `<source>` (×6), `defer` on non-JS script types (×4), and dozens of style rules outside `@scope` in a body `<style>` block.","solution":"- Replace `<source src=\"…\">` with `srcset` (or use `<img src>` for the fallback).\n- Remove `defer`/`async` from `type=\"text/rocketlazyloadscript\"` data blocks.\n- Move the inline `<style id=\"larsen-book-a-tour-styles\">` block into `<head>` or wrap its rules in `@scope`.\n- Fix `area-hidden` → `aria-hidden` on the header search form."},{"priority":2,"category":"Security","title":"Harden the WordPress install","impact":"Attack surface, information disclosure","problem":"readme.html is public, /wp-admin/install.php is reachable, and the login form is served on the default /wp-login.php path.","solution":"- Delete or block `readme.html`.\n- Block `/wp-admin/install.php` in .htaccess or via the WAF.\n- Move or protect the login path (custom login URL plugin, or IP allowlist on /wp-login.php)."},{"priority":2,"category":"Performance","title":"Serve responsive images with srcset and modern formats","impact":"Page weight, LCP, Speed Index","problem":"11/11 raster images lack srcset and are not inside <picture>; menu-image-22.jpg alone is 342.6 KB and total image bytes are 919 KB.","solution":"Emit multiple widths and let the browser choose:\n```html\n<img src=\"hero-800.jpg\"\n     srcset=\"hero-400.jpg 400w, hero-800.jpg 800w, hero-1600.jpg 1600w\"\n     sizes=\"(max-width: 600px) 100vw, 800px\"\n     width=\"800\" height=\"800\" alt=\"…\">\n```\nAlso convert JPEG/PNG to WebP/AVIF with a `<picture>` fallback."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on current-page links","impact":"WCAG 1.4.3, readability","problem":"axe serious color-contrast violation on .is-current[aria-current=\"page\"][href$=\"faq/\"] and the matching footer link; PSI color-contrast scores 0.00 (weight 7).","solution":"Darken the current-page link color to reach ≥4.5:1 against its background (≥3:1 for large text). Verify with the DevTools contrast checker or axe DevTools."},{"priority":2,"category":"Accessibility","title":"Fix invalid aria-expanded values on accordion buttons","impact":"WCAG 4.1.2, ARIA state, screen readers","problem":"W3C reports 53 errors 'Bad value \"\" for attribute \"aria-expanded\" on element \"button\"' (first at line 544); axe flags 53 incomplete aria-valid-attr-value nodes.","solution":"Set a real boolean string on every accordion toggle:\n```html\n<button aria-expanded=\"false\" aria-controls=\"…\">…</button>\n```\nUpdate the attribute in JS when the panel opens/closes; never leave it empty."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets","impact":"WCAG 2.5.8, mobile usability","problem":"PSI target-size scores 0.00 (weight 7) and SEO tapTargets is failing.","solution":"Ensure every interactive element is at least 44×44 px with adequate spacing:\n```css\n.header__search-submit, .footer__navigation-link { min-width: 44px; min-height: 44px; }\n```"},{"priority":3,"category":"Best Practices","title":"Fix the W3C validation errors","impact":"Markup correctness, maintainability","problem":"W3C reports 57 errors and 4 warnings, dominated by 12 `srcset`-without-`sizes` errors and a large cluster of style rules in a `<body>` `<style>` element that the validator says must be inside `@scope`.","solution":"- Add a `sizes` attribute to every `<img>` that uses width descriptors in `srcset` (12 occurrences).\n- Move the `#larsen-book-a-tour-styles` block out of `<body>` into `<head>`, or wrap its rules in `@scope`.\n- Fix the remaining structural errors: `area-hidden` typo on `#header-search` (should be `aria-hidden`), empty `action=\"\"` on two forms, and `src` on `<source>` at line 1370."},{"priority":3,"category":"Best Practices","title":"Remove deprecated APIs and add SRI to cross-origin scripts","impact":"Lighthouse Best Practices (81 mobile / 77 desktop)","problem":"PSI's `deprecations` audit scores 0.00 (weight 5) with 1 warning, and Security basics flags 4 of 4 cross-origin scripts lacking an `integrity` attribute.","solution":"- Identify the deprecated API via the Lighthouse `deprecations` details and replace it.\n- Add `integrity` + `crossorigin=\"anonymous\"` to the jsDelivr-hosted scripts:\n```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```"},{"priority":3,"category":"SEO","title":"Fix the heading outline and structured data","impact":"Document outline, rich results eligibility","problem":"HTML inventory shows 2 `<h1>` elements (\"Tallinn accommodation made easy\" and \"Choose your stay\") and PSI's `structuredData` audit is failing; the single JSON-LD block is typed \"Unknown\".","solution":"- Keep exactly one `<h1>` per page; demote \"Choose your stay\" to `<h2>`.\n- Replace the unrecognized JSON-LD with a valid schema.org type (e.g. `LodgingBusiness` / `Organization`) and validate it in the Rich Results Test."},{"priority":3,"category":"Security","title":"Add the remaining low-cost security headers","impact":"Referrer leakage, feature abuse, cross-origin isolation","problem":"Security basics reports Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy all missing, and the `server: cloudflare` header discloses the stack.","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\"\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\n```\nNote: these are hygiene improvements, not a security guarantee — application logic, plugins and dependencies are not tested here."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing.","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```"},{"priority":3,"category":"Security","title":"Add SRI to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (jsdelivr iframemanager and cookieconsent) lack an `integrity` attribute.","solution":"Add `integrity=\"sha384-…\"` and `crossorigin=\"anonymous\"` to each CDN `<script>` tag, or self-host the libraries."},{"priority":3,"category":"Accessibility","title":"Increase touch target sizes","impact":"WCAG 2.5.8 (target-size)","problem":"PSI's `target-size` audit fails on mobile and axe flags touch targets as a manual check.","solution":"Ensure every interactive element is at least 44×44 px with adequate spacing, especially nav links and icon buttons."},{"priority":3,"category":"SEO","title":"Add structured data and disambiguate link text","impact":"Rich results, link purpose","problem":"PSI's `structuredData` audit fails (JSON-LD type is Unknown) and repeated vague link text appears (\"home\" ×3, \"locations\" ×3, \"faq\" ×3).","solution":"- Emit valid `LocalBusiness`/`Organization` JSON-LD with name, address and contact details.\n- Disambiguate repeated nav links with `aria-label` or visually hidden context."},{"priority":3,"category":"Performance","title":"Optimize web fonts","impact":"FCP, page weight","problem":"Fonts total 292.9 KB, including a 225.1 KB variable font (inter-tight-variable.woff2); mobile FCP is 2.87 s.","solution":"- Subset the variable font to the glyphs actually used (Latin + Estonian).\n- Preload the primary font file:\n```html\n<link rel=\"preload\" href=\"/…/inter-tight-variable.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n- Keep `font-display: swap` and drop the redundant Google Fonts request if the self-hosted file covers it."},{"priority":3,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts lack an integrity attribute (jsdelivr CDN: iframemanager.js, cookieconsent.umd.js).","solution":"Pin versions and add SRI hashes:\n```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```\nBetter still, self-host these two libraries to remove the third-party dependency."},{"priority":3,"category":"SEO","title":"Add structured data","impact":"Rich results eligibility","problem":"PSI structuredData is failing and the single JSON-LD block has type 'Unknown'.","solution":"Add a valid schema.org block matching the page, e.g.:\n```html\n<script type=\"application/ld+json\">\n{\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[…]}\n</script>\n```\nValidate with the Rich Results Test."}],"coverage":{"pct":70,"missing":["PageSpeed Insights: mobile: PSI HTTP 400; desktop: PSI HTTP 400","W3C Validator: W3C validator could not fetch the page: Non-XML Content-Type: “application/pdf”.","axe-core: page.goto: Download is starting\nCall log:\n  - navigating to \"https://larsen.ee/terms-of-service\", waiting until \"networkidle\"\n","Browser Runtime: page.goto: Download is starting\nCall log:\n  - navigating to \"https://larsen.ee/terms-of-service\", waiting until \"networkidle\"\n","HTML Inventory: page.goto: Download is starting\nCall log:\n  - navigating to \"https://larsen.ee/terms-of-service\", waiting until \"networkidle\"\n","Optimized-Web Checklist: Requires html and securityHeaders to succeed","axe-core: page.goto: Download is starting\nCall log:\n  - navigating to \"https://larsen.ee/privacy-policy\", waiting until \"networkidle\"\n","Browser Runtime: page.goto: Download is starting\nCall log:\n  - navigating to \"https://larsen.ee/privacy-policy\", waiting until \"networkidle\"\n","HTML Inventory: page.goto: Download is starting\nCall log:\n  - navigating to \"https://larsen.ee/privacy-policy\", waiting until \"networkidle\"\n"]},"siteSummary":{"pagesAudited":5,"pagesAttempted":5,"urls":["https://larsen.ee/","https://larsen.ee/about","https://larsen.ee/faq","https://larsen.ee/terms-of-service","https://larsen.ee/privacy-policy"]},"psiSnapshot":{"rows":[{"pageUrl":"https://larsen.ee/","perfMobile":91,"perfDesktop":95,"lcpMobileMs":2929.3778092720595,"lcpDesktopMs":1283.1836408507345,"clsMobile":0.00109895294641558,"clsDesktop":0.011659738254879823},{"pageUrl":"https://larsen.ee/about","perfMobile":70,"perfDesktop":89,"lcpMobileMs":5548.827992212404,"lcpDesktopMs":2147.400417428146,"clsMobile":0.003919163518461659,"clsDesktop":0.001278552904076694},{"pageUrl":"https://larsen.ee/faq","perfMobile":89,"perfDesktop":99,"lcpMobileMs":3016.930897614158,"lcpDesktopMs":808.5714132973665,"clsMobile":0.02935240187517254,"clsDesktop":0.00008096552711871336}]},"optimizationChecklist":{"items":[{"id":"caching","title":"Page caching plugin / CDN active","status":"pass","detail":"Caching plugin detected (WP Rocket) + CDN Cloudflare/Kinsta","evidence":["HTML markers: WP Rocket","CDN: Cloudflare, Kinsta (HIT)"]},{"id":"compression","title":"Response compressed (gzip / brotli)","status":"pass","detail":"Document response is compressed with br.","evidence":["content-encoding: br","decoded body: 155360 bytes"]},{"id":"lazyload","title":"Images lazy-loaded","status":"pass","detail":"All non-hero raster images use loading=\"lazy\" except one.","evidence":["…e/wp-content/uploads/2026/05/uus-logota-larsen-video-2-thumbnail-320x180.webp"]},{"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://larsen.ee/wp-content/uploads/2026/05/menu-image-11.jpg","loading: lazy","fetchpriority: (not set)"]},{"id":"heroBackground","title":"Hero is a real <img> (not a CSS background-image)","status":"warn","detail":"Hero element uses a CSS background-image (no image-set() variants), so the browser always loads the original asset regardless of viewport — there is no srcset equivalent. Move the hero to a real <img> with srcset/sizes (or <picture>) so smaller viewports can fetch a smaller file.","evidence":["selector: div.buildings-map__map-overlay.js-buildings-map-overlay","url: …sen.ee/wp-content/themes/larsen-web/inc/theme//img/buildings-map-overview.png","box: 1200×800px"]},{"id":"responsive","title":"Responsive images (srcset / <picture>)","status":"fail","detail":"11/17 raster images lack srcset and are not inside <picture>.","evidence":["https://larsen.ee/wp-content/uploads/2026/05/menu-image-11.jpg","https://larsen.ee/wp-content/uploads/2026/05/menu-image-22.jpg","https://larsen.ee/wp-content/uploads/2026/05/ehrl-blue-eng-150x150.png","https://larsen.ee/wp-content/uploads/2026/05/co-liv-e0807b70-150x150.png","https://greenkey.fi/wp-content/uploads/2021/07/greenkey_logo_2012_1.jpg"]},{"id":"imageSizes","title":"Reasonable number of image sizes","status":"fail","detail":"No raster images use srcset; browsers cannot pick an optimally sized variant.","evidence":[]},{"id":"scriptsFooter","title":"JS scripts not blocking in <head>","status":"warn","detail":"2 render-blocking scripts in <head>. Move to footer or add defer/async.","evidence":["https://cdn.jsdelivr.net/gh/orestbida/iframemanager@1.3.0/dist/iframemanager.js","…//cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js"]}],"summary":{"passed":3,"warned":2,"failed":3,"notApplicable":0},"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\"."},{"title":"Hero is a real <img> (not a CSS background-image)","severity":"medium","detail":"Hero element uses a CSS background-image (no image-set() variants), so the browser always loads the original asset regardless of viewport — there is no srcset equivalent. Move the hero to a real <img> with srcset/sizes (or <picture>) so smaller viewports can fetch a smaller file."},{"title":"Responsive images (srcset / <picture>)","severity":"medium","detail":"Only 29/40 raster images use srcset or <picture> (73%)."},{"title":"JS scripts not blocking in <head>","severity":"medium","detail":"2 render-blocking scripts in <head>. Move to footer or add defer/async."},{"title":"Reasonable number of image sizes","severity":"high","detail":"No raster images use srcset; browsers cannot pick an optimally sized variant."}]},"perPageOverall":[{"url":"https://larsen.ee/","overall":70,"reasoning":"PSI mobile performance is 91 (desktop 95) with clean field CWV — LCP 735 ms p75, INP 95 ms, CLS 0 — so the lab FCP 2.71 s and LCP 2.9 s on mobile are the only real performance drags. Accessibility is the weakest Lighthouse category (87 mobile / 92 desktop): axe reports a critical button-name violation on .header__search-submit and a serious color-contrast failure on the current-page nav link, plus PSI flags target-size and tap targets. Security basics verdict is FAILED — HSTS and clickjacking protection are missing, CSP is absent, readme.html is public and /wp-admin/install.php is reachable — which caps the score below 90. The browser runtime capture shows 98.74 MB of media from storage.googleapis.com with three aborted video requests, a real-world weight problem the throttled lab run did not surface. W3C reports 57 errors, dominated by 12 srcset-without-sizes cases and a large style-in-body @scope cluster. Mobile and desktop are close (91 vs 95), so there is no meaningful divergence to reconcile.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Stop autoloading 98.74 MB of video from storage.googleapis.com","impact":"Page weight, data cost, LCP, FCP on real devices","problem":"Browser runtime shows 6 media requests totalling 98.74 MB from storage.googleapis.com, with three net::ERR_ABORTED video requests (Larsen - Kokkuvõte eng bars.mp4, uus-logota-larsen-video-2.mp4). This dwarfs the 3.11 MB of images and 206 KB of scripts.","solution":"- Add `preload=\"none\"` and a poster image to every `<video>`; do not set `autoplay` on below-the-fold players.\n- Gate playback behind a click-to-play button that swaps in the `<source>` on demand.\n- Serve the MP4s from a CDN with range requests and consider HLS/DASH for adaptive bitrate.\n```html\n<video preload=\"none\" poster=\"/img/poster.webp\" controls playsinline>\n  <source src=\"…mp4\" type=\"video/mp4\">\n</video>\n```"},{"priority":1,"category":"Performance","title":"Make the hero a real <img> with eager loading and fetchpriority","impact":"LCP, FCP","problem":"The optimized-web checklist fails 'Hero image eagerly loaded' — the hero `<img>` (menu-image-11.jpg) has `loading=\"lazy\"` and no `fetchpriority` — and warns the hero is a CSS background-image on `div.buildings-map__map-overlay` (1200×800 px), so no srcset equivalent exists.","solution":"- Replace the CSS background-image hero with a real `<img>` (or `<picture>`) carrying `srcset`/`sizes`.\n- Set `loading=\"eager\"` (or omit) and `fetchpriority=\"high\"` on the LCP image.\n```html\n<img src=\"/img/hero-1200.webp\"\n     srcset=\"/img/hero-800.webp 800w, /img/hero-1200.webp 1200w, /img/hero-1600.webp 1600w\"\n     sizes=\"100vw\"\n     fetchpriority=\"high\" decoding=\"async\"\n     width=\"1200\" height=\"800\" alt=\"…\">\n```"},{"priority":1,"category":"Accessibility","title":"Give the header search submit button an accessible name","impact":"WCAG 4.1.2 (Name, Role, Value); screen reader users cannot identify the control","problem":"axe-core reports a critical `button-name` violation on `.header__search-submit` — the button has no discernible text. PSI's `button-name` audit also scores 0.00 (weight 10).","solution":"Add a visible or visually-hidden label:\n```html\n<button class=\"header__search-submit\" type=\"submit\" aria-label=\"Search\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```"},{"priority":1,"category":"Security","title":"Add Strict-Transport-Security (HSTS)","impact":"TLS downgrade / SSL-strip protection","problem":"Security basics marks Strict-Transport-Security as FAILED — the header is missing, so browsers will happily follow an http:// link to this origin.","solution":"```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nStart with a short max-age to verify, then raise it and submit to hstspreload.org."},{"priority":1,"category":"Security","title":"Add clickjacking protection","impact":"Framing / UI-redress attacks","problem":"Security basics marks Clickjacking protection as FAILED — neither X-Frame-Options nor CSP frame-ancestors is set, so the page can be framed.","solution":"Prefer CSP frame-ancestors, with X-Frame-Options as a fallback for older browsers:\n```\nHeader always set Content-Security-Policy \"frame-ancestors 'self'\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```"},{"priority":2,"category":"Accessibility","title":"Fix color contrast on the current-page nav link","impact":"WCAG 1.4.3 (AA); readability","problem":"axe-core reports a serious `color-contrast` violation on `.is-current[aria-current=\"page\"][href$=\"larsen.ee/\"]`; PSI's color-contrast audit also scores 0.00 (weight 7).","solution":"- Darken the active nav link color to reach ≥4.5:1 against its background (or ≥3:1 if it qualifies as large text).\n- Verify with the DevTools contrast checker, including hover/focus states."},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets and label the unlabeled form inputs","impact":"WCAG 2.5.8 target size; WCAG 1.3.1/4.1.2 form labels","problem":"PSI's `target-size` audit scores 0.00 (weight 7) and `tapTargets` is a failing SEO-modeled audit; HTML inventory also shows Form 2 with two text inputs that have no label.","solution":"- Ensure every interactive control is at least 44×44 px with adequate spacing (WCAG 2.5.8).\n- Associate a `<label for>` (or `aria-label`) with each text input in Form 2.\n```html\n<label for=\"newsletter-email\">Email</label>\n<input id=\"newsletter-email\" type=\"email\" name=\"email\" autocomplete=\"email\">\n```"},{"priority":2,"category":"Performance","title":"Ship responsive, dimensioned images","impact":"LCP, CLS, image bytes (est. 251 KiB savings)","problem":"PSI's `image-delivery-insight` estimates 251 KiB of savings; HTML inventory shows 11 of 40 images without explicit width/height and only 29/40 using srcset, and the checklist flags menu-image-11.jpg and menu-image-22.jpg as non-responsive.","solution":"- Add `width`/`height` (or `aspect-ratio` in CSS) to all 11 images missing dimensions to reserve layout space.\n- Extend `srcset`/`sizes` to the remaining 11 raster images; the site already generates 18 widths, so reuse them.\n- Convert the remaining JPEG/PNG assets to WebP/AVIF.\n```html\n<img src=\"/img/menu-800.webp\"\n     srcset=\"/img/menu-400.webp 400w, /img/menu-800.webp 800w, /img/menu-1200.webp 1200w\"\n     sizes=\"(max-width: 800px) 100vw, 800px\"\n     width=\"800\" height=\"600\" loading=\"lazy\" alt=\"…\">\n```"},{"priority":2,"category":"Performance","title":"Defer or move the render-blocking scripts","impact":"FCP (2.71 s mobile), Speed Index (2.92 s), TBT","problem":"HTML inventory shows 22 scripts with only 1 defer and 2 async, and 6 render-blocking scripts; the checklist flags 2 render-blocking scripts in `<head>` (iframemanager.js and cookieconsent.umd.js from cdn.jsdelivr.net). PSI's `render-blocking-insight` is a medium priority fix.","solution":"- Add `defer` to `iframemanager.js` and `cookieconsent.umd.js` (both are safe to defer — they only run on user interaction).\n- Audit the remaining 4 render-blocking scripts and defer or move to the footer where execution order allows.\n- Inline the critical CSS and load the rest with `media=\"print\" onload=\"this.media='all'\"`."},{"priority":2,"category":"Security","title":"Add a Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing (Security basics: advanced FAILED). Site signals show no auth, payments, or user-generated content, but the page does expose a booking flow and a search form, so a baseline CSP is worth deploying.","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```\nRoll it out in Report-Only mode first and watch for violations from GTM, Chatbase and the jsDelivr-hosted consent scripts."},{"priority":2,"category":"Security","title":"Close WordPress hygiene gaps","impact":"Attack surface, information disclosure","problem":"Security basics reports readme.html is public and reveals WordPress, /wp-admin/install.php is reachable, and the login form is served on the default /wp-login.php path.","solution":"- Delete or block `readme.html`:\n```apache\n<Files readme.html>\n  Require all denied\n</Files>\n```\n- Block the installer: `Redirect 403 /wp-admin/install.php`.\n- Move the login form off `/wp-login.php` (e.g. a custom slug) and rate-limit it.\n- Keep the WordPress core, theme and plugins patched — the audit does not test plugin vulnerabilities."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR","problem":"HTML inventory shows `Description: not set`, and PSI's `meta-description` audit scores 0.00.","solution":"Add a unique 120–155 character description to the homepage:\n```html\n<meta name=\"description\" content=\"Furnished apartments and co-living rooms across Tallinn — instant booking, flexible stays, all-inclusive rent.\">\n```"},{"priority":2,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Anchor relevance, accessibility of link purpose","problem":"HTML inventory finds \"learn more\" repeated 6 times plus \"home\", \"locations\", \"features\", \"testimonials\" and others repeated 3 times each; PSI's `link-text` audit scores 0.00 with 6 links flagged.","solution":"- Rewrite anchors to describe the destination, e.g. \"Learn more about Sume\" instead of \"learn more\".\n- Where the visual design requires short text, add `aria-label` with the full purpose."},{"priority":3,"category":"Best Practices","title":"Fix the W3C validation errors","impact":"Markup correctness, maintainability","problem":"W3C reports 57 errors and 4 warnings, dominated by 12 `srcset`-without-`sizes` errors and a large cluster of style rules in a `<body>` `<style>` element that the validator says must be inside `@scope`.","solution":"- Add a `sizes` attribute to every `<img>` that uses width descriptors in `srcset` (12 occurrences).\n- Move the `#larsen-book-a-tour-styles` block out of `<body>` into `<head>`, or wrap its rules in `@scope`.\n- Fix the remaining structural errors: `area-hidden` typo on `#header-search` (should be `aria-hidden`), empty `action=\"\"` on two forms, and `src` on `<source>` at line 1370."},{"priority":3,"category":"Best Practices","title":"Remove deprecated APIs and add SRI to cross-origin scripts","impact":"Lighthouse Best Practices (81 mobile / 77 desktop)","problem":"PSI's `deprecations` audit scores 0.00 (weight 5) with 1 warning, and Security basics flags 4 of 4 cross-origin scripts lacking an `integrity` attribute.","solution":"- Identify the deprecated API via the Lighthouse `deprecations` details and replace it.\n- Add `integrity` + `crossorigin=\"anonymous\"` to the jsDelivr-hosted scripts:\n```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```"},{"priority":3,"category":"SEO","title":"Fix the heading outline and structured data","impact":"Document outline, rich results eligibility","problem":"HTML inventory shows 2 `<h1>` elements (\"Tallinn accommodation made easy\" and \"Choose your stay\") and PSI's `structuredData` audit is failing; the single JSON-LD block is typed \"Unknown\".","solution":"- Keep exactly one `<h1>` per page; demote \"Choose your stay\" to `<h2>`.\n- Replace the unrecognized JSON-LD with a valid schema.org type (e.g. `LodgingBusiness` / `Organization`) and validate it in the Rich Results Test."},{"priority":3,"category":"Security","title":"Add the remaining low-cost security headers","impact":"Referrer leakage, feature abuse, cross-origin isolation","problem":"Security basics reports Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy all missing, and the `server: cloudflare` header discloses the stack.","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\"\nHeader always set X-Permitted-Cross-Domain-Policies \"none\"\n```\nNote: these are hygiene improvements, not a security guarantee — application logic, plugins and dependencies are not tested here."}],"perfScore":91,"a11yScore":87,"bestPracticesScore":81,"seoScore":85,"securityScore":68,"securityVerdict":"FAILED"},{"url":"https://larsen.ee/about","overall":64,"reasoning":"PSI mobile 70 vs desktop 89 with a large lab/field gap — lab LCP 5.5 s and FCP 4.06 s on mobile, but CrUX field LCP 1062 ms p75 (fast) and INP 96 ms, so the throttled simulation is likely pessimistic for real users. The dominant drag is image weight: 2.34 MB of the 2.65 MB total page weight is images, 11/17 raster images lack srcset, 11 lack width/height, and the hero (menu-image-11.jpg) is lazy-loaded with no fetchpriority, costing an estimated 363 KiB. Accessibility is close to passing (mobile 87, desktop 91) but axe flags one critical (button-name on .header__search-submit) and one serious (color-contrast on the current nav link). Security basics FAILED — no HTTP→HTTPS redirect, no HSTS, no CSP, no X-Frame-Options, plus readme.html public, installer reachable, and login on the default /wp-login.php path — which caps the score below 90. W3C reports 55 errors, mostly WordPress plugin inline styles outside @scope and invalid <source src> attributes, adding a further drag.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP, FCP","problem":"The hero image (menu-image-11.jpg) has loading=\"lazy\" and no fetchpriority, and mobile lab LCP is 5.5 s / FCP 4.06 s.","solution":"Mark the hero as eager and give it priority:\n```html\n<img src=\".../menu-image-11.jpg\" loading=\"eager\" fetchpriority=\"high\" width=\"1600\" height=\"900\" alt=\"…\">\n```\nKeep loading=\"lazy\" on everything below the fold."},{"priority":1,"category":"Performance","title":"Optimize and serve responsive images","impact":"LCP, page weight","problem":"Images account for 2.34 MB of the 2.65 MB total page weight; PSI estimates 363 KiB savings and 11/17 raster images lack srcset.","solution":"- Convert JPEG/PNG to WebP/AVIF and add `<picture>` fallbacks.\n- Add `srcset`/`sizes` to the 11 images missing them (menu-image-11/22, the two 150×150 PNGs, the GreenKey logo).\n- Re-encode the 342.6 KB menu-image-22.jpg, which is the largest single image request."},{"priority":1,"category":"Security","title":"Redirect HTTP to HTTPS and enable HSTS","impact":"Transport security, downgrade attacks","problem":"http://larsen.ee/about does not redirect to HTTPS and the Strict-Transport-Security header is missing.","solution":"Force HTTPS at the edge/origin and send HSTS:\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\nThen submit the domain to hstspreload.org."},{"priority":1,"category":"Accessibility","title":"Give the search submit button an accessible name","impact":"WCAG 4.1.2 (button-name)","problem":"axe reports a critical button-name violation on `.header__search-submit` — the button has no discernible text.","solution":"Add visible text or an aria-label:\n```html\n<button class=\"header__search-submit\" aria-label=\"Search\">…</button>\n```"},{"priority":2,"category":"Accessibility","title":"Fix color contrast on the current nav link","impact":"WCAG 1.4.3 (color-contrast)","problem":"axe reports a serious color-contrast violation on `.is-current[aria-current=\"page\"][href$=\"about/\"]`, and 6 further nodes could not be evaluated.","solution":"Raise the foreground/background contrast ratio to at least 4.5:1 for the active nav state, and manually verify the 6 incomplete nodes (likely alpha/gradient backgrounds axe skips)."},{"priority":2,"category":"Security","title":"Add clickjacking protection","impact":"Clickjacking","problem":"Neither X-Frame-Options nor CSP frame-ancestors is set, so the page can be framed.","solution":"Prefer CSP frame-ancestors; keep X-Frame-Options as a fallback:\n```\nHeader always set X-Frame-Options \"SAMEORIGIN\"\nHeader always set Content-Security-Policy \"frame-ancestors 'self'\"\n```"},{"priority":2,"category":"Security","title":"Deploy a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing. The site is WordPress with a reachable /wp-login.php, so an XSS foothold could compromise admin sessions.","solution":"Use a nonce + strict-dynamic 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';\n```\nNote the two cross-origin scripts (jsdelivr) will need nonces or SRI hashes."},{"priority":2,"category":"Performance","title":"Add explicit width/height to images","impact":"CLS","problem":"11 of 17 images lack explicit width/height attributes, which can cause layout shifts.","solution":"Add intrinsic dimensions to every `<img>` (and `<source>`), or set `aspect-ratio` in CSS so the browser reserves space before load."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR","problem":"The document has no meta description and PSI's `meta-description` audit fails.","solution":"Add a unique 120–160 character description:\n```html\n<meta name=\"description\" content=\"Fully furnished rooms in Tartu — book a viewing or get in touch with Larsen.\">\n```"},{"priority":2,"category":"Best Practices","title":"Fix the 55 W3C HTML validation errors","impact":"Markup correctness, maintainability","problem":"W3C reports 55 errors, led by invalid `src` on `<source>` (×6), `defer` on non-JS script types (×4), and dozens of style rules outside `@scope` in a body `<style>` block.","solution":"- Replace `<source src=\"…\">` with `srcset` (or use `<img src>` for the fallback).\n- Remove `defer`/`async` from `type=\"text/rocketlazyloadscript\"` data blocks.\n- Move the inline `<style id=\"larsen-book-a-tour-styles\">` block into `<head>` or wrap its rules in `@scope`.\n- Fix `area-hidden` → `aria-hidden` on the header search form."},{"priority":2,"category":"Security","title":"Harden the WordPress install","impact":"Attack surface, information disclosure","problem":"readme.html is public, /wp-admin/install.php is reachable, and the login form is served on the default /wp-login.php path.","solution":"- Delete or block `readme.html`.\n- Block `/wp-admin/install.php` in .htaccess or via the WAF.\n- Move or protect the login path (custom login URL plugin, or IP allowlist on /wp-login.php)."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy, origin isolation","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing.","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```"},{"priority":3,"category":"Security","title":"Add SRI to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (jsdelivr iframemanager and cookieconsent) lack an `integrity` attribute.","solution":"Add `integrity=\"sha384-…\"` and `crossorigin=\"anonymous\"` to each CDN `<script>` tag, or self-host the libraries."},{"priority":3,"category":"Accessibility","title":"Increase touch target sizes","impact":"WCAG 2.5.8 (target-size)","problem":"PSI's `target-size` audit fails on mobile and axe flags touch targets as a manual check.","solution":"Ensure every interactive element is at least 44×44 px with adequate spacing, especially nav links and icon buttons."},{"priority":3,"category":"SEO","title":"Add structured data and disambiguate link text","impact":"Rich results, link purpose","problem":"PSI's `structuredData` audit fails (JSON-LD type is Unknown) and repeated vague link text appears (\"home\" ×3, \"locations\" ×3, \"faq\" ×3).","solution":"- Emit valid `LocalBusiness`/`Organization` JSON-LD with name, address and contact details.\n- Disambiguate repeated nav links with `aria-label` or visually hidden context."}],"perfScore":70,"a11yScore":87,"bestPracticesScore":81,"seoScore":92,"securityScore":63,"securityVerdict":"FAILED"},{"url":"https://larsen.ee/faq","overall":70,"reasoning":"PSI mobile 89 / desktop 99 with clean lab CWV (LCP 3.0 s, CLS 0.029, TBT 0 ms) and fast field data (LCP 1062 ms p75, INP 96 ms) — performance is the strongest area, though mobile LCP/FCP sit just over the 2.5 s / 1.8 s good thresholds. Accessibility is the weakest: axe reports 1 critical (button-name on .header__search-submit) and 1 serious (color-contrast) violation, PSI accessibility is 87/91, and W3C flags 53 invalid aria-expanded values. Image assets are poor — 11/11 raster images lack srcset, none carry width/height, the hero is lazy-loaded, and 919 KB of images plus 293 KB of fonts drive the 1.21 MB page weight. Security basics verdict is FAILED (no HTTP→HTTPS redirect, no HSTS, no clickjacking protection, no CSP, public readme.html, reachable installer, default login path), which caps the overall below 90. W3C reports 98 errors, dominated by the repeated aria-expanded pattern and style rules outside @scope. Mobile trails desktop by 10 points on performance and 4 on accessibility, but no metric diverges by more than 1.5 s.","confidence":"high","fixes":[{"priority":1,"category":"Security","title":"Enforce HTTPS redirect and add HSTS","impact":"Transport security, session hijacking, downgrade attacks","problem":"Security basics FAILED: http://larsen.ee/faq does not redirect to HTTPS and Strict-Transport-Security is missing — both basic-tier checks.","solution":"Redirect all plain HTTP to HTTPS at the edge/origin, then send HSTS:\n```\n# nginx\nserver { listen 80; server_name larsen.ee; return 301 https://$host$request_uri; }\nadd_header Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\" always;\n```\nVerify with `curl -I http://larsen.ee/faq` (expect 301) and submit to hstspreload.org once stable."},{"priority":1,"category":"Security","title":"Add clickjacking protection","impact":"Clickjacking / UI redressing","problem":"Neither X-Frame-Options nor CSP frame-ancestors is set — the page can be framed (basic-tier fail).","solution":"Prefer CSP frame-ancestors, keep X-Frame-Options as a fallback for legacy browsers:\n```\nContent-Security-Policy: frame-ancestors 'self';\nX-Frame-Options: SAMEORIGIN\n```"},{"priority":1,"category":"Accessibility","title":"Give the header search button an accessible name","impact":"WCAG 4.1.2, screen reader users","problem":"axe critical button-name violation on .header__search-submit; PSI button-name scores 0.00 (weight 10).","solution":"Add an accessible name to the submit button:\n```html\n<button class=\"header__search-submit\" aria-label=\"Search\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```\nOr include a visually-hidden `<span class=\"sr-only\">Search</span>` inside the button."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP, FCP","problem":"Hero image menu-image-11.jpg uses loading=\"lazy\" with no fetchpriority; mobile LCP is 3.0 s and FCP 2.87 s.","solution":"```html\n<img src=\"…/menu-image-11.jpg\" loading=\"eager\" fetchpriority=\"high\" width=\"…\" height=\"…\" alt=\"…\">\n```\nKeep lazy loading for below-the-fold images only."},{"priority":2,"category":"Performance","title":"Serve responsive images with srcset and modern formats","impact":"Page weight, LCP, Speed Index","problem":"11/11 raster images lack srcset and are not inside <picture>; menu-image-22.jpg alone is 342.6 KB and total image bytes are 919 KB.","solution":"Emit multiple widths and let the browser choose:\n```html\n<img src=\"hero-800.jpg\"\n     srcset=\"hero-400.jpg 400w, hero-800.jpg 800w, hero-1600.jpg 1600w\"\n     sizes=\"(max-width: 600px) 100vw, 800px\"\n     width=\"800\" height=\"800\" alt=\"…\">\n```\nAlso convert JPEG/PNG to WebP/AVIF with a `<picture>` fallback."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on current-page links","impact":"WCAG 1.4.3, readability","problem":"axe serious color-contrast violation on .is-current[aria-current=\"page\"][href$=\"faq/\"] and the matching footer link; PSI color-contrast scores 0.00 (weight 7).","solution":"Darken the current-page link color to reach ≥4.5:1 against its background (≥3:1 for large text). Verify with the DevTools contrast checker or axe DevTools."},{"priority":2,"category":"Accessibility","title":"Fix invalid aria-expanded values on accordion buttons","impact":"WCAG 4.1.2, ARIA state, screen readers","problem":"W3C reports 53 errors 'Bad value \"\" for attribute \"aria-expanded\" on element \"button\"' (first at line 544); axe flags 53 incomplete aria-valid-attr-value nodes.","solution":"Set a real boolean string on every accordion toggle:\n```html\n<button aria-expanded=\"false\" aria-controls=\"…\">…</button>\n```\nUpdate the attribute in JS when the panel opens/closes; never leave it empty."},{"priority":2,"category":"Performance","title":"Add explicit width/height to images","impact":"CLS","problem":"All 11 images lack width/height; CLS is 0.029 with a shift attributed to .grid__col.","solution":"Add intrinsic dimensions (or `aspect-ratio` in CSS) so the browser reserves space before the image loads:\n```html\n<img src=\"…\" width=\"800\" height=\"800\" alt=\"…\">\n```"},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR","problem":"Meta description is not set; PSI meta-description scores 0.00 and SEO is 92.","solution":"Add a unique 120–160 character description:\n```html\n<meta name=\"description\" content=\"Answers to common questions about booking, payments, arrival and living at Larsen residences.\">\n```"},{"priority":2,"category":"Accessibility","title":"Enlarge touch targets","impact":"WCAG 2.5.8, mobile usability","problem":"PSI target-size scores 0.00 (weight 7) and SEO tapTargets is failing.","solution":"Ensure every interactive element is at least 44×44 px with adequate spacing:\n```css\n.header__search-submit, .footer__navigation-link { min-width: 44px; min-height: 44px; }\n```"},{"priority":2,"category":"Security","title":"Add a Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing. Site signals show no user-facing auth/payments/UGC, but the site runs WordPress with a reachable /wp-login.php, so an XSS could target admin sessions.","solution":"Deploy a nonce-based CSP 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```\nRoll out in Report-Only first to catch breakage from the jsdelivr and Google Fonts origins."},{"priority":2,"category":"Security","title":"Harden the WordPress install","impact":"Attack surface, information disclosure","problem":"readme.html is public, /wp-admin/install.php is reachable, and the login form is served on the default /wp-login.php path.","solution":"- Block `readme.html` and `/wp-admin/install.php` at the edge or in `.htaccess`:\n```apache\n<Files \"readme.html\">\n  Require all denied\n</Files>\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Move the login form off `/wp-login.php` (custom login slug or IP allowlist) and add rate limiting / 2FA."},{"priority":3,"category":"Performance","title":"Optimize web fonts","impact":"FCP, page weight","problem":"Fonts total 292.9 KB, including a 225.1 KB variable font (inter-tight-variable.woff2); mobile FCP is 2.87 s.","solution":"- Subset the variable font to the glyphs actually used (Latin + Estonian).\n- Preload the primary font file:\n```html\n<link rel=\"preload\" href=\"/…/inter-tight-variable.woff2\" as=\"font\" type=\"font/woff2\" crossorigin>\n```\n- Keep `font-display: swap` and drop the redundant Google Fonts request if the self-hosted file covers it."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy, origin isolation","problem":"All four headers are missing (advanced-tier fails).","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: camera=(), microphone=(), geolocation=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Security","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts lack an integrity attribute (jsdelivr CDN: iframemanager.js, cookieconsent.umd.js).","solution":"Pin versions and add SRI hashes:\n```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```\nBetter still, self-host these two libraries to remove the third-party dependency."},{"priority":3,"category":"SEO","title":"Add structured data","impact":"Rich results eligibility","problem":"PSI structuredData is failing and the single JSON-LD block has type 'Unknown'.","solution":"Add a valid schema.org block matching the page, e.g.:\n```html\n<script type=\"application/ld+json\">\n{\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[…]}\n</script>\n```\nValidate with the Rich Results Test."}],"perfScore":89,"a11yScore":87,"bestPracticesScore":100,"seoScore":92,"securityScore":63,"securityVerdict":"FAILED"},{"url":"https://larsen.ee/terms-of-service","overall":null,"reasoning":"Insufficient data to score this site — PageSpeed Insights did not return usable data for either mobile or desktop. Re-run the audit once the source is reachable.","confidence":"low","fixes":[],"perfScore":null,"a11yScore":null,"bestPracticesScore":null,"seoScore":null,"securityScore":56,"securityVerdict":"FAILED"},{"url":"https://larsen.ee/privacy-policy","overall":null,"reasoning":"Insufficient data to score this site — PageSpeed Insights did not return usable data for either mobile or desktop. Re-run the audit once the source is reachable.","confidence":"low","fixes":[],"perfScore":null,"a11yScore":null,"bestPracticesScore":null,"seoScore":null,"securityScore":56,"securityVerdict":"FAILED"}]}