{"url":"https://larsen.ee/","date":"2026-10-13","siteName":"Tallinn accommodation made easy - Larsen","overall":69,"reasoning":"Site overall 69 is the mean of 5 pages. Scores range 60 (https://larsen.ee/et/meist) → 76 (https://larsen.ee/). Weakest page: PSI mobile 68 vs desktop 88, with lab LCP 6.6 s and FCP 3.96 s on mobile — heavy penalties — though CrUX field data is fast (LCP 1068 ms p75, INP 96 ms, CLS 0). CLS 0.002 and TBT 0 ms are excellent, so the lab/field divergence is the main reason confidence is medium rather than high. Accessibility scores 91 but carries 2 axe violations, including a critical button-name on `.header__search-submit` and a serious color-contrast on the current-page nav link. Image assets are the biggest drag: 2.04 MB of images, 8/14 raster images without srcset, the hero lazy-loaded, and 8 images without explicit dimensions. Security basics FAILED (no HTTP→HTTPS redirect, no HSTS, no clickjacking protection, no CSP) and W3C reports 71 errors — both cap the overall below 90. SEO is missing a meta description and structured data.","confidence":"medium","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP","problem":"The optimized-web checklist flags the hero image (menu-image-11.jpg) as loading=\"lazy\" with no fetchpriority, and lab LCP is 2.9 s on mobile.","solution":"Remove `loading=\"lazy\"` from the hero `<img>` (or set `loading=\"eager\"`) and add `fetchpriority=\"high\"`:\n```html\n<img src=\".../menu-image-11.jpg\" alt=\"…\" width=\"1200\" height=\"800\" fetchpriority=\"high\">\n```\nKeep `loading=\"lazy\"` on all below-the-fold images."},{"priority":1,"category":"Performance","title":"Cut image weight — convert and right-size","impact":"LCP, page weight, Speed Index","problem":"PSI's image-delivery-insight estimates 251 KiB of savings, and the browser runtime shows 2.92 MB of images across 23 requests (out of 3.24 MB total).","solution":"- Serve WebP/AVIF with a `<picture>` fallback.\n- Right-size: the runtime shows 800×800 and 1008×630 JPEGs at 99–145 KB each.\n- Extend `srcset`/`sizes` to the remaining 11 images (currently 29/40).\n- Re-encode the 225 KB `inter-tight-variable.woff2` and subset the font."},{"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 a visible label or an `aria-label`:\n```html\n<button class=\"header__search-submit\" aria-label=\"Search\">…</button>\n```"},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with fetchpriority=\"high\"","impact":"LCP, FCP, Speed Index","problem":"The Optimized-Web checklist flags the hero image (menu-image-11.jpg) as loading=\"lazy\" with no fetchpriority, and mobile lab LCP is 5.3 s / FCP 4.08 s.","solution":"Mark the hero as the highest-priority resource:\n```html\n<img src=\"/wp-content/uploads/2026/05/menu-image-11.jpg\"\n     alt=\"…\" width=\"1600\" height=\"900\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nAlso add a `<link rel=\"preload\" as=\"image\" fetchpriority=\"high\" href=\"…\">` in `<head>` so the browser starts the fetch before the parser reaches the tag."},{"priority":1,"category":"Performance","title":"Cut image payload: add srcset and serve WebP/AVIF","impact":"LCP, page weight, Speed Index","problem":"Browser runtime shows 1.65 MB of images out of 1.97 MB total; 11/17 raster images lack srcset and are not inside `<picture>`, and PSI's image-delivery-insight estimates 363 KiB of savings.","solution":"- Add `srcset` + `sizes` to every raster image (WP Rocket / WordPress can emit these automatically).\n- Encode WebP/AVIF with a raster fallback:\n```html\n<picture>\n  <source type=\"image/webp\" srcset=\"hero-800.webp 800w, hero-1600.webp 1600w\" sizes=\"100vw\">\n  <img src=\"hero-800.jpg\" alt=\"…\" width=\"1600\" height=\"900\">\n</picture>\n```\n- Re-encode the 800×800 property thumbnails and 560×1120 hero JPEGs, which dominate the byte count."},{"priority":1,"category":"Security","title":"Redirect HTTP to HTTPS and enable HSTS","impact":"Transport security, MITM protection","problem":"Security basics reports 'Plain HTTP does not redirect to HTTPS' and 'Strict-Transport-Security header is missing' — both basic-tier failures.","solution":"Add a permanent redirect at the edge/origin and send HSTS:\n```\n# nginx\nserver { listen 80; server_name larsen.ee; return 301 https://$host$request_uri; }\n\n# response header\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nVerify preload eligibility at hstspreload.org before submitting."},{"priority":1,"category":"SEO","title":"Add a meta description","impact":"SERP snippet, CTR","problem":"PSI's `meta-description` audit scores 0 and the HTML inventory shows `Description: not set`.","solution":"Add a unique 120–160 character description to the page head:\n```html\n<meta name=\"description\" content=\"Fully furnished rooms in Tartu and Tallinn — book a viewing or contact Larsen's accommodation adviser.\">\n```"},{"priority":1,"category":"Security","title":"Redirect HTTP to HTTPS and add HSTS","impact":"Transport security, MITM exposure","problem":"Security basics reports 'Plain HTTP does not redirect to HTTPS' and 'Strict-Transport-Security header is missing' — both basic-tier fails.","solution":"- At the edge (Cloudflare) enable 'Always Use HTTPS' and add an origin rule redirecting `http://larsen.ee/*` → `https://larsen.ee/$1`.\n- Send HSTS from the origin:\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Submit to hstspreload.org once stable."},{"priority":1,"category":"Performance","title":"Eager-load the hero image and set fetchpriority","impact":"LCP, FCP","problem":"The optimized-web checklist flags the hero (`menu-image-11.jpg`) as `loading=\"lazy\"` with no `fetchpriority`, delaying LCP (mobile LCP 3.0 s).","solution":"```html\n<img src=\"…/menu-image-11.jpg\" alt=\"…\" width=\"1200\" height=\"800\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` on below-the-fold images only."},{"priority":1,"category":"Security","title":"Force HTTP→HTTPS redirect","impact":"Transport security, HSTS eligibility","problem":"Security basics reports 'Plain HTTP does not redirect to HTTPS' — a basic-tier FAILED check.","solution":"Add a 301 redirect at the edge/origin:\n```apache\nRewriteEngine On\nRewriteCond %{HTTPS} off\nRewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]\n```\nOr in Cloudflare: enable 'Always Use HTTPS'."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetchpriority","impact":"LCP, FCP","problem":"Optimized-Web checklist flags the hero (`menu-image-11.jpg`) as `loading=\"lazy\"` with no `fetchpriority`, which delays LCP (lab 6.6 s mobile).","solution":"```html\n<img src=\"/wp-content/uploads/2026/05/menu-image-11.jpg\"\n     alt=\"…\" width=\"1600\" height=\"900\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```"},{"priority":1,"category":"Performance","title":"Cut LCP via image delivery and document latency","impact":"LCP, FCP, Speed Index","problem":"PSI mobile LCP is 6.6 s with `image-delivery-insight` (363 KiB savings) and `document-latency-insight` (430 ms savings) as the top contributors.","solution":"- Serve WebP/AVIF variants of the 2.04 MB of JPEGs.\n- Preload the LCP image: `<link rel=\"preload\" as=\"image\" href=\"…\" fetchpriority=\"high\">`.\n- Reduce TTFB (field p75 890 ms) by warming the Kinsta/Cloudflare cache and trimming server-side work."},{"priority":1,"category":"Performance","title":"Cut image weight — 764 KiB of savings available","impact":"LCP, page weight, mobile performance","problem":"PSI image-delivery-insight estimates 764 KiB of savings; browser runtime shows 19 images at 2.45 MB out of 2.76 MB total, and the sampled inventory is entirely .jpg/.jpeg/.png.","solution":"- Serve WebP/AVIF with a `<picture>` fallback:\n```html\n<picture>\n  <source type=\"image/webp\" srcset=\"hero-800.webp 800w, hero-1600.webp 1600w\" sizes=\"100vw\">\n  <img src=\"hero-800.jpg\" alt=\"…\" width=\"1600\" height=\"900\">\n</picture>\n```\n- Right-size the 800×800 and 400×400 JPEGs currently being downloaded (e.g. larsen-st-38031-800x800.jpg at 120.8 KB, ttun5635-1-800x800.jpg at 104.5 KB).\n- Enable WebP conversion in WP Rocket / Imagify and re-upload existing uploads."},{"priority":1,"category":"Accessibility","title":"Give the header search button an accessible name","impact":"WCAG 2.1.1 / 4.1.2, screen-reader usability","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\" type=\"submit\" aria-label=\"Search\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- If the icon is decorative, keep `aria-hidden=\"true\"` on the SVG so the label is the only accessible name."},{"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\"]`; 15 additional nodes were flagged as incomplete.","solution":"Raise the foreground/background contrast to ≥4.5:1 for the active nav state, then re-run axe to clear the 15 incomplete nodes."},{"priority":2,"category":"Security","title":"Add HSTS and clickjacking protection","impact":"Transport security, clickjacking","problem":"Security basics is FAILED: Strict-Transport-Security is missing and neither X-Frame-Options nor CSP frame-ancestors is set.","solution":"Send from origin (Apache shown):\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```\nOr use `Content-Security-Policy: frame-ancestors 'self'`."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SERP snippet, CTR","problem":"HTML inventory shows `Description: not set` and PSI's SEO score is 85 with `meta-description` failing.","solution":"Add a unique 120–160 character description:\n```html\n<meta name=\"description\" content=\"Furnished co-living and short-stay apartments across Tallinn — instant booking, flexible stays.\">\n```"},{"priority":2,"category":"Best Practices","title":"Fix srcset/sizes and inline style errors","impact":"HTML validity, responsive images","problem":"W3C reports 78 errors; the top group is 'srcset with width descriptor requires sizes' ×12, plus 4 script `defer` on data-block types and many inline `@scope` style-rule errors.","solution":"- Add `sizes` to every `<img>` that uses width descriptors in `srcset`.\n- Move the inline `<style id=\"larsen-book-a-tour-styles\">` block out of `<body>` or wrap its rules in `@scope`.\n- Remove `defer` from `<script type=\"text/rocketlazyloadscript\">` data blocks."},{"priority":2,"category":"Performance","title":"Add explicit width/height to 11 images","impact":"CLS","problem":"HTML inventory shows 11 of 40 images without explicit width/height, which can cause layout shifts.","solution":"Add `width` and `height` attributes matching the intrinsic aspect ratio to every `<img>` (CSS `aspect-ratio` also works)."},{"priority":2,"category":"Accessibility","title":"Label the two unlabeled text inputs","impact":"WCAG 3.3.2, 4.1.2","problem":"HTML inventory shows Form 2 with two text inputs marked 'no label'.","solution":"Associate each input with a `<label for>` or add `aria-label`:\n```html\n<label for=\"checkin\">Check-in</label>\n<input id=\"checkin\" type=\"text\">\n```"},{"priority":2,"category":"Security","title":"Add clickjacking protection","impact":"Clickjacking, UI redressing","problem":"Security basics reports 'Neither X-Frame-Options nor CSP frame-ancestors is set — the page can be framed'.","solution":"Prefer CSP frame-ancestors; keep X-Frame-Options as a legacy fallback:\n```\nContent-Security-Policy: frame-ancestors 'self';\nX-Frame-Options: SAMEORIGIN\n```"},{"priority":2,"category":"Accessibility","title":"Fix contrast on the current-page nav link","impact":"WCAG 1.4.3, readability","problem":"axe reports a serious `color-contrast` violation on `.is-current[aria-current=\"page\"][href$=\"about/\"]`.","solution":"Darken the active-link color to reach ≥4.5:1 against its background (or ≥3:1 if it qualifies as large text). Also review the 6 'incomplete' contrast nodes axe could not evaluate (gradients / alpha)."},{"priority":2,"category":"Best Practices","title":"Fix the 72 W3C HTML errors","impact":"HTML validity, SEO, robustness","problem":"W3C reports 72 errors including 6× `Attribute \"src\" not allowed on element \"source\"`, an `area-hidden` typo on the search form, an empty `href` on a dns-prefetch link, and `defer`/`async` on `text/rocketlazyloadscript` data blocks.","solution":"- Replace `<source src=\"…\">` with `<source srcset=\"…\">` (or use `<img>` directly).\n- Fix the typo: `area-hidden=\"true\"` → `aria-hidden=\"true\"` on `<form id=\"header-search\">`.\n- Remove the empty `href=\"\"` from the dns-prefetch `<link>`.\n- Drop `defer`/`async` from `<script type=\"text/rocketlazyloadscript\">` data blocks.\n- Move the inline `<style id=\"larsen-book-a-tour-styles\">` out of `<body>` or wrap its rules in `@scope`."},{"priority":2,"category":"Performance","title":"Investigate the 3 aborted image requests","impact":"LCP, image rendering","problem":"Browser runtime captured 3 `net::ERR_ABORTED` image requests (11-4-820x1640.jpg, 2-3-820x1640.jpg, 5.jpg) — likely a srcset/lazy-load race.","solution":"- Confirm the 820×1640 variants exist on disk and are not 404s.\n- Check that `sizes` matches the rendered layout so the browser does not pick a candidate it then aborts.\n- Ensure lazy-loaded images are not swapped by JS after the browser has already started the fetch."},{"priority":2,"category":"SEO","title":"Emit valid structured data","impact":"Rich results, entity understanding","problem":"PSI's `structuredData` audit fails and the single JSON-LD block is typed 'Unknown'.","solution":"Add a proper `@type` (e.g. `Organization`, `LocalBusiness`, `RealEstateAgent`) with `name`, `url`, `logo`, and `address`, and validate with Google's Rich Results Test."},{"priority":2,"category":"Security","title":"Harden the WordPress install surface","impact":"Attack surface, takeover risk","problem":"Security basics flags `readme.html` as public, `/wp-admin/install.php` as reachable, and the login form served on the default `/wp-login.php` path.","solution":"```apache\n# Block readme and installer\n<Files \"readme.html\">\n  Require all denied\n</Files>\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Rename or protect the login path (e.g. a WAF rule or a plugin that moves `/wp-login.php`).\n- Add rate limiting / 2FA on the login endpoint."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on current-page links","impact":"WCAG 1.4.3 (Contrast)","problem":"axe reports a serious `color-contrast` violation on `.is-current[aria-current=\"page\"]` in the header and footer navigation.","solution":"Raise the current-page link color to ≥4.5:1 against its background (or ≥3:1 if ≥18.66 px bold / 24 px). Verify with DevTools' contrast checker."},{"priority":2,"category":"Accessibility","title":"Fix invalid aria-expanded=\"\" on 53 buttons","impact":"WCAG 4.1.2, screen-reader state","problem":"W3C reports 53 errors of 'Bad value \"\" for attribute \"aria-expanded\" on element \"button\"' — an empty string is not a valid ARIA boolean.","solution":"Set `aria-expanded` to `\"true\"` or `\"false\"` (or remove it when the button doesn't control an expandable region):\n```html\n<button aria-expanded=\"false\" aria-controls=\"…\">…</button>\n```\nAlso fix the related `area-hidden=\"true\"` typo on `#header-search` (should be `aria-hidden`)."},{"priority":2,"category":"Performance","title":"Serve responsive images (srcset / <picture>) and WebP","impact":"LCP, page weight, image bytes","problem":"11/11 raster images lack srcset and are not inside `<picture>`; 0 WebP. Images total 919 KB of the 1.21 MB page.","solution":"Generate multiple sizes and modern formats:\n```html\n<picture>\n  <source type=\"image/webp\" srcset=\"hero-800.webp 800w, hero-1600.webp 1600w\" sizes=\"100vw\">\n  <img src=\"hero-1600.jpg\" srcset=\"hero-800.jpg 800w, hero-1600.jpg 1600w\" sizes=\"100vw\" alt=\"…\" width=\"1600\" height=\"900\">\n</picture>\n```\nWP Rocket / a WebP plugin can automate this for WordPress uploads."},{"priority":2,"category":"Performance","title":"Add explicit width/height to all images","impact":"CLS","problem":"HTML inventory reports 11 images without explicit width/height; the layout-shift source is `main#main > div.h-container > div.grid > div.grid__col`.","solution":"Add intrinsic dimensions to every `<img>` (and matching CSS `aspect-ratio` where the image is fluid) so the browser can reserve space before load."},{"priority":2,"category":"Security","title":"Add HSTS","impact":"Transport security, downgrade protection","problem":"`strict-transport-security` is missing (basic-tier FAILED).","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nSubmit to hstspreload.org once stable."},{"priority":2,"category":"Performance","title":"Add srcset to the 8 images that lack it","impact":"Image bytes, LCP","problem":"8/14 raster images lack `srcset` and are not inside `<picture>`; total image bytes are 2.04 MB.","solution":"Generate responsive variants (WP Rocket / Kinsta image optimization) and emit `srcset` + `sizes` for each content image."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on the current-page nav link","impact":"WCAG 1.4.3","problem":"axe reports a serious `color-contrast` violation on `.is-current[aria-current=\"page\"][href$=\"meist/\"]`; 6 more nodes are 'incomplete'.","solution":"Raise the active-link color to ≥4.5:1 against its background, and re-check the 6 incomplete nodes (alpha/gradient backgrounds)."},{"priority":2,"category":"Best Practices","title":"Fix the 71 W3C HTML errors","impact":"Markup validity, parser robustness","problem":"W3C reports 71 errors, including 6× `src` not allowed on `<source>`, 4× `defer` on a data-block `<script>`, and dozens of style rules outside `@scope`.","solution":"- Remove `src` from `<source>` elements (use `srcset` only).\n- Drop `defer`/`async` from `<script type=\"text/rocketlazyloadscript\">`.\n- Move the inline `<style id=\"larsen-book-a-tour-styles\">` block into `<head>` or wrap rules in `@scope`."},{"priority":2,"category":"Performance","title":"Add explicit width/height to 8 images","impact":"CLS","problem":"HTML inventory shows 8 images without `width`/`height`; CLS is currently 0.002 but the risk is latent.","solution":"Set intrinsic `width`/`height` on every `<img>` (or use `aspect-ratio` in CSS) so the browser reserves space before load."},{"priority":2,"category":"Accessibility","title":"Fix contrast on the mailto and tel links","impact":"WCAG 1.4.3 contrast","problem":"axe reports a serious `color-contrast` violation on `a[href$=\"mailto:karl@larsen.ee\"]` and `a[href=\"tel:+37253535858\"]`; 6 further nodes were flagged as incomplete.","solution":"- Darken the link color (or its background) to reach ≥4.5:1 for body text.\n- Re-check the 6 'incomplete' nodes manually — axe skips elements with gradients or alpha transparency."},{"priority":2,"category":"Accessibility","title":"Make the carousel keyboard-scrollable","impact":"WCAG 2.1.1 / 2.1.3 keyboard access","problem":"axe reports a serious `scrollable-region-focusable` violation on `.carousel-block__slider` — the scrollable region cannot be reached by keyboard.","solution":"- Add `tabindex=\"0\"` and a role/label to the scroll container:\n```html\n<div class=\"carousel-block__slider\" tabindex=\"0\" role=\"region\" aria-label=\"Property carousel\">\n```\n- Ensure a visible focus ring and that arrow keys scroll the region."},{"priority":2,"category":"SEO","title":"Replace vague repeated link text","impact":"Link context, SEO score","problem":"PSI flags `link-text` (6 links) and the inventory shows \"learn more\" repeated 6 times, plus \"home\", \"locations\", \"features\" and \"testimonials\" three times each.","solution":"- Make each link's text describe its destination, e.g. \"Learn more about flexible terms\" instead of \"learn more\".\n- Where the visible text must stay short, disambiguate with `aria-label`:\n```html\n<a href=\"/apartments/sume/\" aria-label=\"Learn more about Sume House\">Learn more</a>\n```"},{"priority":2,"category":"Performance","title":"Add width/height to the 11 unsized images","impact":"CLS, layout stability","problem":"HTML inventory reports 11 of 43 images without explicit width/height, which the checklist flags as a layout-shift risk.","solution":"- Add intrinsic `width`/`height` attributes (or an `aspect-ratio` in CSS) to every raster `<img>` so the browser can reserve space before load.\n- Keep the existing `srcset`/`sizes` pairs in sync with the declared dimensions."},{"priority":2,"category":"Best Practices","title":"Fix the 67 W3C validation errors","impact":"Markup correctness, cross-browser rendering","problem":"W3C reports 67 errors and 7 warnings; the largest group is a plugin injecting `<style>` blocks with `@scope` rules into `<body>` (`.lbt-*` classes), plus a duplicate ID `section-1778511488647-5`, `src` on `<source>` (×3), and an `area-hidden` typo on the search form.","solution":"- Fix the typo first — it silently disables the intended attribute:\n```html\n<form id=\"header-search\" class=\"header__search-form\" aria-hidden=\"true\" role=\"search\">\n```\n- Move the plugin's `<style id=\"larsen-book-a-tour-styles\">` block into `<head>` (or scope it correctly) instead of emitting it mid-`<body>`.\n- Remove `src` from `<source>` elements that only carry `srcset`.\n- De-duplicate the `section-1778511488647-5` ID."},{"priority":2,"category":"Security","title":"Close WordPress hygiene gaps","impact":"Attack surface, information disclosure","problem":"Security basics reports 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 the readme and installer:\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 or rename the login path (e.g. a custom login slug) and rate-limit `/wp-login.php`.\n- Keep xmlrpc.php blocked (already passing)."},{"priority":2,"category":"Security","title":"Add SRI to the two cross-origin scripts","impact":"Supply-chain integrity","problem":"Security basics reports 2 of 2 cross-origin scripts lack an `integrity` attribute; both are loaded from cdn.jsdelivr.net (iframemanager, cookieconsent).","solution":"- Pin versions and add 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```\n- Better still, self-host these two libraries so they fall under your own CSP."},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Link purpose, SEO","problem":"HTML inventory shows 'learn more' ×6 and PSI's `link-text` audit fails with 6 links.","solution":"Rewrite anchor text to describe the destination (e.g. 'Learn more about Sume') or add `aria-label`."},{"priority":3,"category":"Security","title":"Harden WordPress exposure paths","impact":"Attack surface","problem":"Security basics flags readme.html as public, /wp-admin/install.php as reachable, and login served on the default /wp-login.php path.","solution":"- Delete or block `readme.html`.\n- Block `/wp-admin/install.php` in `.htaccess`.\n- Move or rate-limit the login path (e.g. a custom login URL plugin + WAF rule)."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP if the site later gains auth or user content","impact":"XSS defense-in-depth (low value today)","problem":"CSP is missing, but site signals show no auth, payments, user-generated content, or e-commerce, so XSS attack surface is minimal — listed as P3 per the rubric.","solution":"If/when you add login or user content, deploy a nonce-based CSP rather than a flat allowlist:\n```\nContent-Security-Policy: script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none';\n```\nFor the current brochure site, prioritize the P1/P2 items above."},{"priority":3,"category":"Performance","title":"Add explicit width/height to the 11 dimension-less images","impact":"CLS (latent)","problem":"HTML inventory shows 11 of 17 images without explicit width/height; current CLS is 0.004 so the risk is latent rather than active.","solution":"Add intrinsic `width`/`height` attributes or a CSS `aspect-ratio` so the browser can reserve space before the image loads."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP","impact":"XSS defense-in-depth","problem":"CSP is missing. Site signals show no auth, payments, user content, or e-commerce, so the XSS attack surface is limited — P3 per the rubric, not P1.","solution":"If you later add login or user content, deploy a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none';\n```"},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP, CORP, and SRI","impact":"Privacy, origin isolation, supply-chain integrity","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy, and Cross-Origin-Resource-Policy are all missing, and 2/2 cross-origin scripts lack an `integrity` attribute.","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```\nAdd `integrity=\"sha384-…\"` + `crossorigin=\"anonymous\"` to the jsdelivr scripts (iframemanager, cookieconsent)."},{"priority":3,"category":"Best Practices","title":"Resolve the deprecated-API warning","impact":"Future browser compatibility","problem":"PSI's `deprecations` audit scores 0 with 1 warning found.","solution":"Open the Lighthouse deprecations audit in the report to identify the specific API, then replace it with its modern equivalent (commonly `document.write`, `XMLHttpRequest` sync, or `unload` handlers)."},{"priority":3,"category":"SEO","title":"Enlarge tap targets","impact":"Mobile usability","problem":"PSI's `tapTargets` audit fails on mobile.","solution":"Ensure every interactive element is at least 48×48 px with adequate spacing (WCAG 2.5.8)."},{"priority":3,"category":"Performance","title":"Raise the browser cache TTL","impact":"Repeat-visit performance","problem":"`cache-control: public, max-age=0, s-maxage=86400` disables browser caching — only the edge caches for 24 h.","solution":"Set a long `max-age` on hashed static assets (JS/CSS/fonts) while keeping HTML short-lived:\n```\nCache-Control: public, max-age=31536000, immutable\n```"},{"priority":3,"category":"Security","title":"Add a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing. Site signals show no auth, payments, or user-generated content, so XSS attack surface is minimal — listed as P3 per the rubric.","solution":"Deploy a nonce + `'strict-dynamic'` 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';\n```"},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy, origin isolation","problem":"All four headers are missing per the security-headers scan.","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 Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"Security basics reports '2 of 2 cross-origin scripts lack an integrity attribute' (jsdelivr iframemanager and cookieconsent).","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```\nOr self-host these two libraries."},{"priority":3,"category":"Security","title":"WordPress hardening: readme.html, install.php, wp-login.php","impact":"Attack surface, information disclosure","problem":"Security basics flags `readme.html` as public, `/wp-admin/install.php` as reachable, and login served on the default `/wp-login.php` path.","solution":"- Delete or block `readme.html`:\n```\n<Files \"readme.html\">\n  Require all denied\n</Files>\n```\n- Block the installer: `Redirect 403 /wp-admin/install.php`.\n- Move or rate-limit the login path (e.g. a custom login slug plus Cloudflare rate limiting / WAF rules)."},{"priority":3,"category":"SEO","title":"Fix structured data and tap targets","impact":"SEO, mobile usability","problem":"PSI's SEO audits fail on `structuredData` (JSON-LD type reported as 'Unknown') and `tapTargets`.","solution":"- Emit a valid `FAQPage` schema with `Question`/`Answer` pairs matching the on-page accordion content.\n- Ensure interactive controls are ≥24×24 px (WCAG 2.5.8) with adequate spacing; enlarge the header search and footer links."},{"priority":3,"category":"Best Practices","title":"Reduce server technology disclosure","impact":"Information disclosure","problem":"The `server: cloudflare` header is disclosed and security basics marks technology disclosure as a warn.","solution":"If the origin is Kinsta, strip the origin `server` header at the edge and rely on Cloudflare's own header. This is low-impact — do not trade it for breaking caching."},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP, CORP","impact":"Privacy, origin isolation","problem":"`referrer-policy`, `permissions-policy`, `cross-origin-opener-policy`, and `cross-origin-resource-policy` are all missing.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Security","title":"Harden WordPress surface","impact":"Attack surface, info disclosure","problem":"`readme.html` is public, `/wp-admin/install.php` is reachable, and login is on the default `/wp-login.php` path.","solution":"- Delete or block `readme.html`.\n- Block `/wp-admin/install.php` in `.htaccess`.\n- Move or rate-limit `/wp-login.php` (e.g. WAF rule, custom login slug)."},{"priority":3,"category":"SEO","title":"Add structured data","impact":"Rich results eligibility","problem":"PSI fails `structuredData`; the single JSON-LD block is typed 'Unknown'.","solution":"Emit `Organization` / `LocalBusiness` JSON-LD with name, address, and contact details for the accommodation business."},{"priority":3,"category":"Performance","title":"Extend srcset coverage to all raster images","impact":"Image bytes, mobile LCP","problem":"Only 32 of 43 raster images (74%) use `srcset` or `<picture>`; the checklist flags this as a warning.","solution":"- Add `srcset`/`sizes` to the remaining 11 images, especially the two unsized `menu-image-*.jpg` files.\n- Keep the existing 16 distinct widths but drop unused sizes to reduce upload storage."},{"priority":3,"category":"Best Practices","title":"Remove the deprecated API usage","impact":"Lighthouse Best Practices (81)","problem":"PSI's `deprecations` audit fails with 1 warning found.","solution":"- Open the Lighthouse deprecations audit in DevTools to identify the API, then replace it with the modern equivalent (commonly `document.write`, synchronous XHR, or legacy `unload` handlers)."},{"priority":3,"category":"SEO","title":"Add structured data and enlarge tap targets","impact":"SEO score (85), rich results eligibility","problem":"PSI lists `structuredData` and `tapTargets` as failing SEO audits; the page has 1 JSON-LD block whose type is reported as Unknown.","solution":"- Emit valid `LocalBusiness` / `LodgingBusiness` JSON-LD with name, address, phone, geo and price range.\n- Increase tap target size to at least 48×48 px with adequate spacing for the header and footer navigation."}],"coverage":{"pct":100,"missing":[]},"siteSummary":{"pagesAudited":5,"pagesAttempted":5,"urls":["https://larsen.ee/","https://larsen.ee/about","https://larsen.ee/faq","https://larsen.ee/et/meist","https://larsen.ee/corporate"]},"psiSnapshot":{"rows":[{"pageUrl":"https://larsen.ee/","perfMobile":91,"perfDesktop":88,"lcpMobileMs":2928.395313625352,"lcpDesktopMs":2295.627067431961,"clsMobile":0.00109895294641558,"clsDesktop":0.004735903936344809},{"pageUrl":"https://larsen.ee/about","perfMobile":70,"perfDesktop":88,"lcpMobileMs":5334.37481253432,"lcpDesktopMs":2145.287300133974,"clsMobile":0.004325076882873759,"clsDesktop":0.001278552904076694},{"pageUrl":"https://larsen.ee/faq","perfMobile":89,"perfDesktop":99,"lcpMobileMs":3017.2693633893473,"lcpDesktopMs":795.4214973856659,"clsMobile":0.02935240187517254,"clsDesktop":0.00008096552711871336},{"pageUrl":"https://larsen.ee/et/meist","perfMobile":68,"perfDesktop":88,"lcpMobileMs":6631.35816851683,"lcpDesktopMs":2146.5891996507326,"clsMobile":0.00241740071190827,"clsDesktop":0.001963491959832065},{"pageUrl":"https://larsen.ee/corporate","perfMobile":71,"perfDesktop":89,"lcpMobileMs":6850.609234602585,"lcpDesktopMs":2109.300626647947,"clsMobile":0.0009011409994830207,"clsDesktop":0.00621110094870057}]},"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","generator: WP Rocket 3.23.3.3","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: 177700 bytes"]},{"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://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":"n/a","detail":"No CSS background-images detected on raster-image-eligible elements.","evidence":[]},{"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":"pass","detail":"No render-blocking scripts in <head>.","evidence":[]}],"summary":{"passed":4,"warned":0,"failed":3,"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\"."},{"title":"Responsive images (srcset / <picture>)","severity":"medium","detail":"Only 29/40 raster images use srcset or <picture> (73%)."},{"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":76,"reasoning":"Performance is genuinely strong: PSI mobile 91 / desktop 88, TBT 0 ms, TTFB 10 ms, and all CrUX field metrics are 'fast' (LCP 757 ms p75, INP 96 ms, CLS 0). The drags are elsewhere. Image assets are the weakest area — 2.92 MB of images across 23 requests, PSI's image-delivery-insight estimates 251 KiB of savings, the hero is lazy-loaded, and only 29/40 raster images use srcset. Accessibility sits at 91 with 2 axe violations (1 critical button-name on .header__search-submit, 1 serious color-contrast on the current nav link) plus 2 unlabeled form inputs. Security basics is FAILED — HSTS and clickjacking protection are missing, CSP is absent, readme.html is public, /wp-admin/install.php is reachable, and login sits on the default path — which caps the score below 90. W3C reports 78 errors (mostly srcset/sizes ×12 and inline @scope style rules) and SEO is 85 (missing meta description, vague link text). Mobile and desktop are close (91 vs 88), so no meaningful delta to flag.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetch priority","impact":"LCP","problem":"The optimized-web checklist flags the hero image (menu-image-11.jpg) as loading=\"lazy\" with no fetchpriority, and lab LCP is 2.9 s on mobile.","solution":"Remove `loading=\"lazy\"` from the hero `<img>` (or set `loading=\"eager\"`) and add `fetchpriority=\"high\"`:\n```html\n<img src=\".../menu-image-11.jpg\" alt=\"…\" width=\"1200\" height=\"800\" fetchpriority=\"high\">\n```\nKeep `loading=\"lazy\"` on all below-the-fold images."},{"priority":1,"category":"Performance","title":"Cut image weight — convert and right-size","impact":"LCP, page weight, Speed Index","problem":"PSI's image-delivery-insight estimates 251 KiB of savings, and the browser runtime shows 2.92 MB of images across 23 requests (out of 3.24 MB total).","solution":"- Serve WebP/AVIF with a `<picture>` fallback.\n- Right-size: the runtime shows 800×800 and 1008×630 JPEGs at 99–145 KB each.\n- Extend `srcset`/`sizes` to the remaining 11 images (currently 29/40).\n- Re-encode the 225 KB `inter-tight-variable.woff2` and subset the font."},{"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 a visible label 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\"]`; 15 additional nodes were flagged as incomplete.","solution":"Raise the foreground/background contrast to ≥4.5:1 for the active nav state, then re-run axe to clear the 15 incomplete nodes."},{"priority":2,"category":"Security","title":"Add HSTS and clickjacking protection","impact":"Transport security, clickjacking","problem":"Security basics is FAILED: Strict-Transport-Security is missing and neither X-Frame-Options nor CSP frame-ancestors is set.","solution":"Send from origin (Apache shown):\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\nHeader always set X-Frame-Options \"SAMEORIGIN\"\n```\nOr use `Content-Security-Policy: frame-ancestors 'self'`."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SERP snippet, CTR","problem":"HTML inventory shows `Description: not set` and PSI's SEO score is 85 with `meta-description` failing.","solution":"Add a unique 120–160 character description:\n```html\n<meta name=\"description\" content=\"Furnished co-living and short-stay apartments across Tallinn — instant booking, flexible stays.\">\n```"},{"priority":2,"category":"Best Practices","title":"Fix srcset/sizes and inline style errors","impact":"HTML validity, responsive images","problem":"W3C reports 78 errors; the top group is 'srcset with width descriptor requires sizes' ×12, plus 4 script `defer` on data-block types and many inline `@scope` style-rule errors.","solution":"- Add `sizes` to every `<img>` that uses width descriptors in `srcset`.\n- Move the inline `<style id=\"larsen-book-a-tour-styles\">` block out of `<body>` or wrap its rules in `@scope`.\n- Remove `defer` from `<script type=\"text/rocketlazyloadscript\">` data blocks."},{"priority":2,"category":"Performance","title":"Add explicit width/height to 11 images","impact":"CLS","problem":"HTML inventory shows 11 of 40 images without explicit width/height, which can cause layout shifts.","solution":"Add `width` and `height` attributes matching the intrinsic aspect ratio to every `<img>` (CSS `aspect-ratio` also works)."},{"priority":2,"category":"Accessibility","title":"Label the two unlabeled text inputs","impact":"WCAG 3.3.2, 4.1.2","problem":"HTML inventory shows Form 2 with two text inputs marked 'no label'.","solution":"Associate each input with a `<label for>` or add `aria-label`:\n```html\n<label for=\"checkin\">Check-in</label>\n<input id=\"checkin\" type=\"text\">\n```"},{"priority":3,"category":"SEO","title":"Disambiguate repeated vague link text","impact":"Link purpose, SEO","problem":"HTML inventory shows 'learn more' ×6 and PSI's `link-text` audit fails with 6 links.","solution":"Rewrite anchor text to describe the destination (e.g. 'Learn more about Sume') or add `aria-label`."},{"priority":3,"category":"Security","title":"Harden WordPress exposure paths","impact":"Attack surface","problem":"Security basics flags readme.html as public, /wp-admin/install.php as reachable, and login served on the default /wp-login.php path.","solution":"- Delete or block `readme.html`.\n- Block `/wp-admin/install.php` in `.htaccess`.\n- Move or rate-limit the login path (e.g. a custom login URL plugin + WAF rule)."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP if the site later gains auth or user content","impact":"XSS defense-in-depth (low value today)","problem":"CSP is missing, but site signals show no auth, payments, user-generated content, or e-commerce, so XSS attack surface is minimal — listed as P3 per the rubric.","solution":"If/when you add login or user content, deploy a nonce-based CSP rather than a flat allowlist:\n```\nContent-Security-Policy: script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none';\n```\nFor the current brochure site, prioritize the P1/P2 items above."}],"perfScore":91,"a11yScore":91,"bestPracticesScore":81,"seoScore":85,"securityScore":68,"securityVerdict":"FAILED"},{"url":"https://larsen.ee/about","overall":68,"reasoning":"PSI mobile performance is 70 (desktop 88) with lab LCP 5.3 s and FCP 4.08 s, but CrUX field p75 shows LCP 1068 ms and every CWV 'fast' — the lab penalty is throttled-simulation heavy rather than a real-user problem, so performance lands mid-band. The dominant real cost is images: 1.65 MB of the 1.97 MB page weight, 11/17 raster images without srcset, and a lazy-loaded hero. Accessibility is 91 with 2 axe violations (1 critical button-name on .header__search-submit, 1 serious color-contrast on the current nav link). Security basics FAILED — no HTTP→HTTPS redirect, no HSTS, no clickjacking protection, no CSP — which caps the overall below 90. W3C reports 72 errors and SEO is missing a meta description and structured data, both dragging the SEO/security budget. Confidence is high because every tool returned data and the signals are consistent.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with fetchpriority=\"high\"","impact":"LCP, FCP, Speed Index","problem":"The Optimized-Web checklist flags the hero image (menu-image-11.jpg) as loading=\"lazy\" with no fetchpriority, and mobile lab LCP is 5.3 s / FCP 4.08 s.","solution":"Mark the hero as the highest-priority resource:\n```html\n<img src=\"/wp-content/uploads/2026/05/menu-image-11.jpg\"\n     alt=\"…\" width=\"1600\" height=\"900\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nAlso add a `<link rel=\"preload\" as=\"image\" fetchpriority=\"high\" href=\"…\">` in `<head>` so the browser starts the fetch before the parser reaches the tag."},{"priority":1,"category":"Performance","title":"Cut image payload: add srcset and serve WebP/AVIF","impact":"LCP, page weight, Speed Index","problem":"Browser runtime shows 1.65 MB of images out of 1.97 MB total; 11/17 raster images lack srcset and are not inside `<picture>`, and PSI's image-delivery-insight estimates 363 KiB of savings.","solution":"- Add `srcset` + `sizes` to every raster image (WP Rocket / WordPress can emit these automatically).\n- Encode WebP/AVIF with a raster fallback:\n```html\n<picture>\n  <source type=\"image/webp\" srcset=\"hero-800.webp 800w, hero-1600.webp 1600w\" sizes=\"100vw\">\n  <img src=\"hero-800.jpg\" alt=\"…\" width=\"1600\" height=\"900\">\n</picture>\n```\n- Re-encode the 800×800 property thumbnails and 560×1120 hero JPEGs, which dominate the byte count."},{"priority":1,"category":"Security","title":"Redirect HTTP to HTTPS and enable HSTS","impact":"Transport security, MITM protection","problem":"Security basics reports 'Plain HTTP does not redirect to HTTPS' and 'Strict-Transport-Security header is missing' — both basic-tier failures.","solution":"Add a permanent redirect at the edge/origin and send HSTS:\n```\n# nginx\nserver { listen 80; server_name larsen.ee; return 301 https://$host$request_uri; }\n\n# response header\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nVerify preload eligibility at hstspreload.org before submitting."},{"priority":1,"category":"Accessibility","title":"Give the search submit button an accessible name","impact":"WCAG 4.1.2, screen reader usability","problem":"axe reports a critical `button-name` violation on `.header__search-submit` — the button has no discernible text.","solution":"Add a visible label or an `aria-label`:\n```html\n<button type=\"submit\" class=\"header__search-submit\" aria-label=\"Search\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```"},{"priority":1,"category":"SEO","title":"Add a meta description","impact":"SERP snippet, CTR","problem":"PSI's `meta-description` audit scores 0 and the HTML inventory shows `Description: not set`.","solution":"Add a unique 120–160 character description to the page head:\n```html\n<meta name=\"description\" content=\"Fully furnished rooms in Tartu and Tallinn — book a viewing or contact Larsen's accommodation adviser.\">\n```"},{"priority":2,"category":"Security","title":"Add clickjacking protection","impact":"Clickjacking, UI redressing","problem":"Security basics reports 'Neither X-Frame-Options nor CSP frame-ancestors is set — the page can be framed'.","solution":"Prefer CSP frame-ancestors; keep X-Frame-Options as a legacy fallback:\n```\nContent-Security-Policy: frame-ancestors 'self';\nX-Frame-Options: SAMEORIGIN\n```"},{"priority":2,"category":"Accessibility","title":"Fix contrast on the current-page nav link","impact":"WCAG 1.4.3, readability","problem":"axe reports a serious `color-contrast` violation on `.is-current[aria-current=\"page\"][href$=\"about/\"]`.","solution":"Darken the active-link color to reach ≥4.5:1 against its background (or ≥3:1 if it qualifies as large text). Also review the 6 'incomplete' contrast nodes axe could not evaluate (gradients / alpha)."},{"priority":2,"category":"Best Practices","title":"Fix the 72 W3C HTML errors","impact":"HTML validity, SEO, robustness","problem":"W3C reports 72 errors including 6× `Attribute \"src\" not allowed on element \"source\"`, an `area-hidden` typo on the search form, an empty `href` on a dns-prefetch link, and `defer`/`async` on `text/rocketlazyloadscript` data blocks.","solution":"- Replace `<source src=\"…\">` with `<source srcset=\"…\">` (or use `<img>` directly).\n- Fix the typo: `area-hidden=\"true\"` → `aria-hidden=\"true\"` on `<form id=\"header-search\">`.\n- Remove the empty `href=\"\"` from the dns-prefetch `<link>`.\n- Drop `defer`/`async` from `<script type=\"text/rocketlazyloadscript\">` data blocks.\n- Move the inline `<style id=\"larsen-book-a-tour-styles\">` out of `<body>` or wrap its rules in `@scope`."},{"priority":2,"category":"Performance","title":"Investigate the 3 aborted image requests","impact":"LCP, image rendering","problem":"Browser runtime captured 3 `net::ERR_ABORTED` image requests (11-4-820x1640.jpg, 2-3-820x1640.jpg, 5.jpg) — likely a srcset/lazy-load race.","solution":"- Confirm the 820×1640 variants exist on disk and are not 404s.\n- Check that `sizes` matches the rendered layout so the browser does not pick a candidate it then aborts.\n- Ensure lazy-loaded images are not swapped by JS after the browser has already started the fetch."},{"priority":2,"category":"SEO","title":"Emit valid structured data","impact":"Rich results, entity understanding","problem":"PSI's `structuredData` audit fails and the single JSON-LD block is typed 'Unknown'.","solution":"Add a proper `@type` (e.g. `Organization`, `LocalBusiness`, `RealEstateAgent`) with `name`, `url`, `logo`, and `address`, and validate with Google's Rich Results Test."},{"priority":2,"category":"Security","title":"Harden the WordPress install surface","impact":"Attack surface, takeover risk","problem":"Security basics flags `readme.html` as public, `/wp-admin/install.php` as reachable, and the login form served on the default `/wp-login.php` path.","solution":"```apache\n# Block readme and installer\n<Files \"readme.html\">\n  Require all denied\n</Files>\n<Files \"install.php\">\n  Require all denied\n</Files>\n```\n- Rename or protect the login path (e.g. a WAF rule or a plugin that moves `/wp-login.php`).\n- Add rate limiting / 2FA on the login endpoint."},{"priority":3,"category":"Performance","title":"Add explicit width/height to the 11 dimension-less images","impact":"CLS (latent)","problem":"HTML inventory shows 11 of 17 images without explicit width/height; current CLS is 0.004 so the risk is latent rather than active.","solution":"Add intrinsic `width`/`height` attributes or a CSS `aspect-ratio` so the browser can reserve space before the image loads."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP","impact":"XSS defense-in-depth","problem":"CSP is missing. Site signals show no auth, payments, user content, or e-commerce, so the XSS attack surface is limited — P3 per the rubric, not P1.","solution":"If you later add login or user content, deploy a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none';\n```"},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP, CORP, and SRI","impact":"Privacy, origin isolation, supply-chain integrity","problem":"Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy, and Cross-Origin-Resource-Policy are all missing, and 2/2 cross-origin scripts lack an `integrity` attribute.","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```\nAdd `integrity=\"sha384-…\"` + `crossorigin=\"anonymous\"` to the jsdelivr scripts (iframemanager, cookieconsent)."},{"priority":3,"category":"Best Practices","title":"Resolve the deprecated-API warning","impact":"Future browser compatibility","problem":"PSI's `deprecations` audit scores 0 with 1 warning found.","solution":"Open the Lighthouse deprecations audit in the report to identify the specific API, then replace it with its modern equivalent (commonly `document.write`, `XMLHttpRequest` sync, or `unload` handlers)."},{"priority":3,"category":"SEO","title":"Enlarge tap targets","impact":"Mobile usability","problem":"PSI's `tapTargets` audit fails on mobile.","solution":"Ensure every interactive element is at least 48×48 px with adequate spacing (WCAG 2.5.8)."},{"priority":3,"category":"Performance","title":"Raise the browser cache TTL","impact":"Repeat-visit performance","problem":"`cache-control: public, max-age=0, s-maxage=86400` disables browser caching — only the edge caches for 24 h.","solution":"Set a long `max-age` on hashed static assets (JS/CSS/fonts) while keeping HTML short-lived:\n```\nCache-Control: public, max-age=31536000, immutable\n```"}],"perfScore":70,"a11yScore":91,"bestPracticesScore":81,"seoScore":92,"securityScore":63,"securityVerdict":"FAILED"},{"url":"https://larsen.ee/faq","overall":72,"reasoning":"Performance is solid — PSI mobile 89 / desktop 99, TBT 0 ms, CLS 0.029, and field LCP 1068 ms p75 (fast) — but mobile FCP 2.87 s and a lazy-loaded hero image keep mobile just under the 90 threshold. Accessibility is the weakest area: axe reports 1 critical (button-name on .header__search-submit) and 1 serious (color-contrast on current-page links), and W3C flags 114 errors, 53 of which are aria-expanded=\"\" — a genuine ARIA bug, not just validator noise. Image assets are unoptimized: 11/11 raster images lack srcset and width/height, 0 WebP, and the hero is lazy-loaded. Security basics verdict is FAILED (HTTP does not redirect to HTTPS, HSTS missing, clickjacking protection missing), which caps the overall below 90. SEO is 92 but missing meta description and structured data. Site signals show no auth, payments, UGC, or commerce, so CSP is downgraded to P3 per the rubric.","confidence":"high","fixes":[{"priority":1,"category":"Security","title":"Redirect HTTP to HTTPS and add HSTS","impact":"Transport security, MITM exposure","problem":"Security basics reports 'Plain HTTP does not redirect to HTTPS' and 'Strict-Transport-Security header is missing' — both basic-tier fails.","solution":"- At the edge (Cloudflare) enable 'Always Use HTTPS' and add an origin rule redirecting `http://larsen.ee/*` → `https://larsen.ee/$1`.\n- Send HSTS from the origin:\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Submit to hstspreload.org once stable."},{"priority":1,"category":"Accessibility","title":"Give the search submit button an accessible name","impact":"WCAG 4.1.2 (Name, Role, Value)","problem":"axe reports a critical `button-name` violation on `.header__search-submit` — the button has no discernible text.","solution":"Add a visible label or an `aria-label`:\n```html\n<button class=\"header__search-submit\" type=\"submit\" aria-label=\"Search\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```"},{"priority":1,"category":"Performance","title":"Eager-load the hero image and set fetchpriority","impact":"LCP, FCP","problem":"The optimized-web checklist flags the hero (`menu-image-11.jpg`) as `loading=\"lazy\"` with no `fetchpriority`, delaying LCP (mobile LCP 3.0 s).","solution":"```html\n<img src=\"…/menu-image-11.jpg\" alt=\"…\" width=\"1200\" height=\"800\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```\nKeep `loading=\"lazy\"` on below-the-fold images only."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on current-page links","impact":"WCAG 1.4.3 (Contrast)","problem":"axe reports a serious `color-contrast` violation on `.is-current[aria-current=\"page\"]` in the header and footer navigation.","solution":"Raise the current-page link color to ≥4.5:1 against its background (or ≥3:1 if ≥18.66 px bold / 24 px). Verify with DevTools' contrast checker."},{"priority":2,"category":"Accessibility","title":"Fix invalid aria-expanded=\"\" on 53 buttons","impact":"WCAG 4.1.2, screen-reader state","problem":"W3C reports 53 errors of 'Bad value \"\" for attribute \"aria-expanded\" on element \"button\"' — an empty string is not a valid ARIA boolean.","solution":"Set `aria-expanded` to `\"true\"` or `\"false\"` (or remove it when the button doesn't control an expandable region):\n```html\n<button aria-expanded=\"false\" aria-controls=\"…\">…</button>\n```\nAlso fix the related `area-hidden=\"true\"` typo on `#header-search` (should be `aria-hidden`)."},{"priority":2,"category":"Security","title":"Add clickjacking protection","impact":"Clickjacking","problem":"Security basics reports 'Neither X-Frame-Options nor CSP frame-ancestors is set — the page can be framed'.","solution":"Prefer CSP `frame-ancestors`; add X-Frame-Options as a fallback for older browsers:\n```\nHeader always set X-Frame-Options \"SAMEORIGIN\"\nContent-Security-Policy: frame-ancestors 'self';\n```"},{"priority":2,"category":"Performance","title":"Serve responsive images (srcset / <picture>) and WebP","impact":"LCP, page weight, image bytes","problem":"11/11 raster images lack srcset and are not inside `<picture>`; 0 WebP. Images total 919 KB of the 1.21 MB page.","solution":"Generate multiple sizes and modern formats:\n```html\n<picture>\n  <source type=\"image/webp\" srcset=\"hero-800.webp 800w, hero-1600.webp 1600w\" sizes=\"100vw\">\n  <img src=\"hero-1600.jpg\" srcset=\"hero-800.jpg 800w, hero-1600.jpg 1600w\" sizes=\"100vw\" alt=\"…\" width=\"1600\" height=\"900\">\n</picture>\n```\nWP Rocket / a WebP plugin can automate this for WordPress uploads."},{"priority":2,"category":"Performance","title":"Add explicit width/height to all images","impact":"CLS","problem":"HTML inventory reports 11 images without explicit width/height; the layout-shift source is `main#main > div.h-container > div.grid > div.grid__col`.","solution":"Add intrinsic dimensions to every `<img>` (and matching CSS `aspect-ratio` where the image is fluid) so the browser can reserve space before load."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SEO, SERP snippet","problem":"HTML inventory shows 'Description: not set' and PSI's `meta-description` audit fails (score 0.00).","solution":"Add a unique 120–160 character description per page:\n```html\n<meta name=\"description\" content=\"Answers to common questions about living at Larsen — bookings, payments, arrival, parking and more.\">\n```"},{"priority":3,"category":"Security","title":"Add a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing. Site signals show no auth, payments, or user-generated content, so XSS attack surface is minimal — listed as P3 per the rubric.","solution":"Deploy a nonce + `'strict-dynamic'` 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';\n```"},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP and CORP","impact":"Privacy, origin isolation","problem":"All four headers are missing per the security-headers scan.","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 Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"Security basics reports '2 of 2 cross-origin scripts lack an integrity attribute' (jsdelivr iframemanager and cookieconsent).","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```\nOr self-host these two libraries."},{"priority":3,"category":"Security","title":"WordPress hardening: readme.html, install.php, wp-login.php","impact":"Attack surface, information disclosure","problem":"Security basics flags `readme.html` as public, `/wp-admin/install.php` as reachable, and login served on the default `/wp-login.php` path.","solution":"- Delete or block `readme.html`:\n```\n<Files \"readme.html\">\n  Require all denied\n</Files>\n```\n- Block the installer: `Redirect 403 /wp-admin/install.php`.\n- Move or rate-limit the login path (e.g. a custom login slug plus Cloudflare rate limiting / WAF rules)."},{"priority":3,"category":"SEO","title":"Fix structured data and tap targets","impact":"SEO, mobile usability","problem":"PSI's SEO audits fail on `structuredData` (JSON-LD type reported as 'Unknown') and `tapTargets`.","solution":"- Emit a valid `FAQPage` schema with `Question`/`Answer` pairs matching the on-page accordion content.\n- Ensure interactive controls are ≥24×24 px (WCAG 2.5.8) with adequate spacing; enlarge the header search and footer links."},{"priority":3,"category":"Best Practices","title":"Reduce server technology disclosure","impact":"Information disclosure","problem":"The `server: cloudflare` header is disclosed and security basics marks technology disclosure as a warn.","solution":"If the origin is Kinsta, strip the origin `server` header at the edge and rely on Cloudflare's own header. This is low-impact — do not trade it for breaking caching."}],"perfScore":89,"a11yScore":91,"bestPracticesScore":100,"seoScore":92,"securityScore":63,"securityVerdict":"FAILED"},{"url":"https://larsen.ee/et/meist","overall":60,"reasoning":"PSI mobile 68 vs desktop 88, with lab LCP 6.6 s and FCP 3.96 s on mobile — heavy penalties — though CrUX field data is fast (LCP 1068 ms p75, INP 96 ms, CLS 0). CLS 0.002 and TBT 0 ms are excellent, so the lab/field divergence is the main reason confidence is medium rather than high. Accessibility scores 91 but carries 2 axe violations, including a critical button-name on `.header__search-submit` and a serious color-contrast on the current-page nav link. Image assets are the biggest drag: 2.04 MB of images, 8/14 raster images without srcset, the hero lazy-loaded, and 8 images without explicit dimensions. Security basics FAILED (no HTTP→HTTPS redirect, no HSTS, no clickjacking protection, no CSP) and W3C reports 71 errors — both cap the overall below 90. SEO is missing a meta description and structured data.","confidence":"medium","fixes":[{"priority":1,"category":"Security","title":"Force HTTP→HTTPS redirect","impact":"Transport security, HSTS eligibility","problem":"Security basics reports 'Plain HTTP does not redirect to HTTPS' — a basic-tier FAILED check.","solution":"Add a 301 redirect at the edge/origin:\n```apache\nRewriteEngine On\nRewriteCond %{HTTPS} off\nRewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]\n```\nOr in Cloudflare: enable 'Always Use HTTPS'."},{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetchpriority","impact":"LCP, FCP","problem":"Optimized-Web checklist flags the hero (`menu-image-11.jpg`) as `loading=\"lazy\"` with no `fetchpriority`, which delays LCP (lab 6.6 s mobile).","solution":"```html\n<img src=\"/wp-content/uploads/2026/05/menu-image-11.jpg\"\n     alt=\"…\" width=\"1600\" height=\"900\"\n     loading=\"eager\" fetchpriority=\"high\" decoding=\"async\">\n```"},{"priority":1,"category":"Performance","title":"Cut LCP via image delivery and document latency","impact":"LCP, FCP, Speed Index","problem":"PSI mobile LCP is 6.6 s with `image-delivery-insight` (363 KiB savings) and `document-latency-insight` (430 ms savings) as the top contributors.","solution":"- Serve WebP/AVIF variants of the 2.04 MB of JPEGs.\n- Preload the LCP image: `<link rel=\"preload\" as=\"image\" href=\"…\" fetchpriority=\"high\">`.\n- Reduce TTFB (field p75 890 ms) by warming the Kinsta/Cloudflare cache and trimming server-side work."},{"priority":1,"category":"Accessibility","title":"Give the search submit button an accessible name","impact":"WCAG 4.1.2, axe critical","problem":"axe reports a critical `button-name` violation on `.header__search-submit`; PSI also fails `button-name` (weight 10).","solution":"```html\n<button type=\"submit\" class=\"header__search-submit\" aria-label=\"Otsi\">\n  <svg aria-hidden=\"true\">…</svg>\n</button>\n```"},{"priority":2,"category":"Security","title":"Add HSTS","impact":"Transport security, downgrade protection","problem":"`strict-transport-security` is missing (basic-tier FAILED).","solution":"```\nStrict-Transport-Security: max-age=63072000; includeSubDomains; preload\n```\nSubmit to hstspreload.org once stable."},{"priority":2,"category":"Security","title":"Add clickjacking protection","impact":"Clickjacking","problem":"Neither `X-Frame-Options` nor CSP `frame-ancestors` is set — the page can be framed.","solution":"```\nContent-Security-Policy: frame-ancestors 'self';\n```\nOr as a fallback: `X-Frame-Options: SAMEORIGIN`."},{"priority":2,"category":"Performance","title":"Add srcset to the 8 images that lack it","impact":"Image bytes, LCP","problem":"8/14 raster images lack `srcset` and are not inside `<picture>`; total image bytes are 2.04 MB.","solution":"Generate responsive variants (WP Rocket / Kinsta image optimization) and emit `srcset` + `sizes` for each content image."},{"priority":2,"category":"Accessibility","title":"Fix color contrast on the current-page nav link","impact":"WCAG 1.4.3","problem":"axe reports a serious `color-contrast` violation on `.is-current[aria-current=\"page\"][href$=\"meist/\"]`; 6 more nodes are 'incomplete'.","solution":"Raise the active-link color to ≥4.5:1 against its background, and re-check the 6 incomplete nodes (alpha/gradient backgrounds)."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"SERP snippet, CTR","problem":"HTML inventory shows `Description: not set`; PSI fails `meta-description`.","solution":"```html\n<meta name=\"description\" content=\"Larsen pakub täismöbleeritud majutusruume ja majutuse haldusteenust — tutvu meie meeskonnaga ja võta ühendust.\">\n```"},{"priority":2,"category":"Best Practices","title":"Fix the 71 W3C HTML errors","impact":"Markup validity, parser robustness","problem":"W3C reports 71 errors, including 6× `src` not allowed on `<source>`, 4× `defer` on a data-block `<script>`, and dozens of style rules outside `@scope`.","solution":"- Remove `src` from `<source>` elements (use `srcset` only).\n- Drop `defer`/`async` from `<script type=\"text/rocketlazyloadscript\">`.\n- Move the inline `<style id=\"larsen-book-a-tour-styles\">` block into `<head>` or wrap rules in `@scope`."},{"priority":2,"category":"Performance","title":"Add explicit width/height to 8 images","impact":"CLS","problem":"HTML inventory shows 8 images without `width`/`height`; CLS is currently 0.002 but the risk is latent.","solution":"Set intrinsic `width`/`height` on every `<img>` (or use `aspect-ratio` in CSS) so the browser reserves space before load."},{"priority":3,"category":"Security","title":"Add a nonce-based CSP","impact":"XSS defense-in-depth","problem":"CSP is missing. Site signals show no auth, payments, or user content, so XSS attack surface is limited — P3 per the rubric.","solution":"If you later add login or user content, deploy a nonce + `'strict-dynamic'` CSP rather than a flat allowlist:\n```\nContent-Security-Policy: script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none';\n```"},{"priority":3,"category":"Security","title":"Add Referrer-Policy, Permissions-Policy, COOP, CORP","impact":"Privacy, origin isolation","problem":"`referrer-policy`, `permissions-policy`, `cross-origin-opener-policy`, and `cross-origin-resource-policy` are all missing.","solution":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Security","title":"Harden WordPress surface","impact":"Attack surface, info disclosure","problem":"`readme.html` is public, `/wp-admin/install.php` is reachable, and login is on the default `/wp-login.php` path.","solution":"- Delete or block `readme.html`.\n- Block `/wp-admin/install.php` in `.htaccess`.\n- Move or rate-limit `/wp-login.php` (e.g. WAF rule, custom login slug)."},{"priority":3,"category":"Best Practices","title":"Add Subresource Integrity to cross-origin scripts","impact":"Supply-chain integrity","problem":"2 of 2 cross-origin scripts (jsdelivr iframemanager, 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```"},{"priority":3,"category":"SEO","title":"Add structured data","impact":"Rich results eligibility","problem":"PSI fails `structuredData`; the single JSON-LD block is typed 'Unknown'.","solution":"Emit `Organization` / `LocalBusiness` JSON-LD with name, address, and contact details for the accommodation business."}],"perfScore":68,"a11yScore":91,"bestPracticesScore":81,"seoScore":92,"securityScore":63,"securityVerdict":"FAILED"},{"url":"https://larsen.ee/corporate","overall":67,"reasoning":"PSI mobile 71 vs desktop 89 — the gap is almost entirely lab LCP (6.9 s mobile vs 2.1 s desktop) and FCP (2.9 s vs 834 ms), while CrUX field p75 shows LCP 1068 ms and INP 96 ms (both fast), so real users fare far better than the throttled simulation. The dominant lab problem is image delivery: 19 images totalling 2.45 MB of the 2.76 MB page, an estimated 764 KiB savings, and the hero image (menu-image-11.jpg) is lazy-loaded with no fetchpriority. Accessibility is close but not clean — axe reports 1 critical (button-name on .header__search-submit) and 2 serious violations (contrast on the mailto/tel links, keyboard access on .carousel-block__slider), with Lighthouse a11y at 91. Security basics verdict is FAILED (no HTTP→HTTPS redirect, no HSTS, no clickjacking protection, readme.html public, installer reachable), which caps the score below 90. W3C reports 67 errors, mostly one root cause — a plugin injecting <style> blocks with @scope rules into <body> — plus a duplicate ID and an `area-hidden` typo, and SEO is 85 with no meta description and six 'learn more' links.","confidence":"high","fixes":[{"priority":1,"category":"Performance","title":"Load the hero image eagerly with high fetchpriority","impact":"LCP (6.9 s mobile lab), Speed Index","problem":"The optimized-web checklist flags the hero image https://larsen.ee/wp-content/uploads/2026/05/menu-image-11.jpg as loading=\"lazy\" with fetchpriority unset, and mobile lab LCP is 6.9 s.","solution":"- Remove `loading=\"lazy\"` from the hero `<img>` (or set `loading=\"eager\"`).\n- Add `fetchpriority=\"high\"` so the browser starts the request immediately.\n```html\n<img src=\"/wp-content/uploads/2026/05/menu-image-11.jpg\"\n     alt=\"…\" width=\"1600\" height=\"900\"\n     fetchpriority=\"high\" decoding=\"async\">\n```\n- In WP Rocket, exclude the hero image from lazy-load (\"Excluded images\" / above-the-fold optimization)."},{"priority":1,"category":"Performance","title":"Cut image weight — 764 KiB of savings available","impact":"LCP, page weight, mobile performance","problem":"PSI image-delivery-insight estimates 764 KiB of savings; browser runtime shows 19 images at 2.45 MB out of 2.76 MB total, and the sampled inventory is entirely .jpg/.jpeg/.png.","solution":"- Serve WebP/AVIF with a `<picture>` fallback:\n```html\n<picture>\n  <source type=\"image/webp\" srcset=\"hero-800.webp 800w, hero-1600.webp 1600w\" sizes=\"100vw\">\n  <img src=\"hero-800.jpg\" alt=\"…\" width=\"1600\" height=\"900\">\n</picture>\n```\n- Right-size the 800×800 and 400×400 JPEGs currently being downloaded (e.g. larsen-st-38031-800x800.jpg at 120.8 KB, ttun5635-1-800x800.jpg at 104.5 KB).\n- Enable WebP conversion in WP Rocket / Imagify and re-upload existing uploads."},{"priority":1,"category":"Security","title":"Redirect HTTP to HTTPS and enable HSTS","impact":"Transport security, MITM/downgrade risk","problem":"Security basics FAILED: http://larsen.ee/corporate does not redirect to HTTPS and Strict-Transport-Security is missing.","solution":"- Force the redirect at the edge/origin:\n```apache\nRewriteEngine On\nRewriteCond %{HTTPS} off\nRewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]\n```\n- Then add HSTS (only after the redirect works):\n```\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n```\n- Verify preload eligibility at hstspreload.org.\n\n> These are high-level hygiene checks on HTTP headers, TLS, cookies and a few well-known exposed paths. PASS means the basics are in place. It does **not** mean the site is secure: application logic, authentication, plugins, server configuration and dependencies are not tested here. Treat FAILED as a must-fix and PASS as a starting point, not a certificate."},{"priority":1,"category":"Accessibility","title":"Give the header search button an accessible name","impact":"WCAG 2.1.1 / 4.1.2, screen-reader usability","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\" type=\"submit\" aria-label=\"Search\">\n  <svg aria-hidden=\"true\" focusable=\"false\">…</svg>\n</button>\n```\n- If the icon is decorative, keep `aria-hidden=\"true\"` on the SVG so the label is the only accessible name."},{"priority":2,"category":"Security","title":"Add clickjacking protection","impact":"Clickjacking / UI-redress attacks","problem":"Neither X-Frame-Options nor CSP frame-ancestors is set, so the page can be framed by any origin.","solution":"Prefer CSP frame-ancestors; keep X-Frame-Options as a fallback for older browsers:\n```\nHeader always set X-Frame-Options \"SAMEORIGIN\"\nContent-Security-Policy: frame-ancestors 'self';\n```"},{"priority":2,"category":"Accessibility","title":"Fix contrast on the mailto and tel links","impact":"WCAG 1.4.3 contrast","problem":"axe reports a serious `color-contrast` violation on `a[href$=\"mailto:karl@larsen.ee\"]` and `a[href=\"tel:+37253535858\"]`; 6 further nodes were flagged as incomplete.","solution":"- Darken the link color (or its background) to reach ≥4.5:1 for body text.\n- Re-check the 6 'incomplete' nodes manually — axe skips elements with gradients or alpha transparency."},{"priority":2,"category":"Accessibility","title":"Make the carousel keyboard-scrollable","impact":"WCAG 2.1.1 / 2.1.3 keyboard access","problem":"axe reports a serious `scrollable-region-focusable` violation on `.carousel-block__slider` — the scrollable region cannot be reached by keyboard.","solution":"- Add `tabindex=\"0\"` and a role/label to the scroll container:\n```html\n<div class=\"carousel-block__slider\" tabindex=\"0\" role=\"region\" aria-label=\"Property carousel\">\n```\n- Ensure a visible focus ring and that arrow keys scroll the region."},{"priority":2,"category":"SEO","title":"Add a meta description","impact":"Search snippet CTR, SEO score (85)","problem":"HTML inventory shows `Description: not set`, and PSI lists `meta-description` as a failing SEO audit.","solution":"Add a unique 120–160 character description:\n```html\n<meta name=\"description\" content=\"Fully furnished, serviced studio apartments in Tallinn for business travellers and corporate stays — flexible terms, WiFi, cleaning and 24/7 support.\">\n```"},{"priority":2,"category":"SEO","title":"Replace vague repeated link text","impact":"Link context, SEO score","problem":"PSI flags `link-text` (6 links) and the inventory shows \"learn more\" repeated 6 times, plus \"home\", \"locations\", \"features\" and \"testimonials\" three times each.","solution":"- Make each link's text describe its destination, e.g. \"Learn more about flexible terms\" instead of \"learn more\".\n- Where the visible text must stay short, disambiguate with `aria-label`:\n```html\n<a href=\"/apartments/sume/\" aria-label=\"Learn more about Sume House\">Learn more</a>\n```"},{"priority":2,"category":"Performance","title":"Add width/height to the 11 unsized images","impact":"CLS, layout stability","problem":"HTML inventory reports 11 of 43 images without explicit width/height, which the checklist flags as a layout-shift risk.","solution":"- Add intrinsic `width`/`height` attributes (or an `aspect-ratio` in CSS) to every raster `<img>` so the browser can reserve space before load.\n- Keep the existing `srcset`/`sizes` pairs in sync with the declared dimensions."},{"priority":2,"category":"Best Practices","title":"Fix the 67 W3C validation errors","impact":"Markup correctness, cross-browser rendering","problem":"W3C reports 67 errors and 7 warnings; the largest group is a plugin injecting `<style>` blocks with `@scope` rules into `<body>` (`.lbt-*` classes), plus a duplicate ID `section-1778511488647-5`, `src` on `<source>` (×3), and an `area-hidden` typo on the search form.","solution":"- Fix the typo first — it silently disables the intended attribute:\n```html\n<form id=\"header-search\" class=\"header__search-form\" aria-hidden=\"true\" role=\"search\">\n```\n- Move the plugin's `<style id=\"larsen-book-a-tour-styles\">` block into `<head>` (or scope it correctly) instead of emitting it mid-`<body>`.\n- Remove `src` from `<source>` elements that only carry `srcset`.\n- De-duplicate the `section-1778511488647-5` ID."},{"priority":2,"category":"Security","title":"Close WordPress hygiene gaps","impact":"Attack surface, information disclosure","problem":"Security basics reports 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 the readme and installer:\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 or rename the login path (e.g. a custom login slug) and rate-limit `/wp-login.php`.\n- Keep xmlrpc.php blocked (already passing)."},{"priority":2,"category":"Security","title":"Add SRI to the two cross-origin scripts","impact":"Supply-chain integrity","problem":"Security basics reports 2 of 2 cross-origin scripts lack an `integrity` attribute; both are loaded from cdn.jsdelivr.net (iframemanager, cookieconsent).","solution":"- Pin versions and add 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```\n- Better still, self-host these two libraries so they fall under your own CSP."},{"priority":3,"category":"Security","title":"Add a nonce-based Content-Security-Policy","impact":"XSS defense-in-depth","problem":"CSP is missing entirely. Site signals show no auth, payments, user content or e-commerce on this page, so XSS blast radius is limited — hence P3 rather than P1.","solution":"- Deploy a nonce + `'strict-dynamic'` policy rather than a flat allowlist:\n```\nContent-Security-Policy: default-src 'self'; script-src 'nonce-{random}' 'strict-dynamic' https:; object-src 'none'; base-uri 'none'; frame-ancestors 'self'\n```\n- Roll it out in report-only mode first and watch for violations from the jsdelivr and Google Fonts origins."},{"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":"```\nReferrer-Policy: strict-origin-when-cross-origin\nPermissions-Policy: geolocation=(), microphone=(), camera=()\nCross-Origin-Opener-Policy: same-origin\nCross-Origin-Resource-Policy: same-origin\n```"},{"priority":3,"category":"Performance","title":"Extend srcset coverage to all raster images","impact":"Image bytes, mobile LCP","problem":"Only 32 of 43 raster images (74%) use `srcset` or `<picture>`; the checklist flags this as a warning.","solution":"- Add `srcset`/`sizes` to the remaining 11 images, especially the two unsized `menu-image-*.jpg` files.\n- Keep the existing 16 distinct widths but drop unused sizes to reduce upload storage."},{"priority":3,"category":"Best Practices","title":"Remove the deprecated API usage","impact":"Lighthouse Best Practices (81)","problem":"PSI's `deprecations` audit fails with 1 warning found.","solution":"- Open the Lighthouse deprecations audit in DevTools to identify the API, then replace it with the modern equivalent (commonly `document.write`, synchronous XHR, or legacy `unload` handlers)."},{"priority":3,"category":"SEO","title":"Add structured data and enlarge tap targets","impact":"SEO score (85), rich results eligibility","problem":"PSI lists `structuredData` and `tapTargets` as failing SEO audits; the page has 1 JSON-LD block whose type is reported as Unknown.","solution":"- Emit valid `LocalBusiness` / `LodgingBusiness` JSON-LD with name, address, phone, geo and price range.\n- Increase tap target size to at least 48×48 px with adequate spacing for the header and footer navigation."}],"perfScore":71,"a11yScore":91,"bestPracticesScore":81,"seoScore":85,"securityScore":63,"securityVerdict":"FAILED"}]}