docs: qualify public landmark accessibility without visual change

This commit is contained in:
cesnimda
2026-11-18 07:26:14 +01:00
parent 36084473c3
commit 1db5f488f6
18 changed files with 1444 additions and 4 deletions
@@ -0,0 +1,19 @@
# Public landing semantic landmarks
18 November2026. Application source36084473, baseline5b50cb27. Existing anonymous landing correctness/accessibility work only; public homepage visual direction and final launch acceptance remain separate.
The12-state landing review reproduced two axe best-practice failures in every configuration: no main landmark and25 content nodes outside landmarks. A new regression failed on the original runtime source with `Unable to find an accessible element with the role main`. The existing top/footer boxes now render as `header`/`footer`, and a plain existing MUI Box groups the unchanged page content as `main`. The loading surface also renders as main. No style, content, action, translation, dependency, routing or authenticated preference behavior changed.
Verification PASSED:
- 14 affected tests/three suites, zero failures/skips; the new failing regression is included in14. Main contains the hero/plans and excludes the header/footer. Existing local language, authenticated preference and deep-link tests remain.
- Scoped ESLint, standard Next16.4.6 build/TypeScript/static export and source whitespace check.
- 12 existing rendered journeys at320/768/1440, EN/NB, light/dark; zero rejected preference requests, unexpected writes, unavailable reads or page errors.
- 12 scoped axe scans now have **zero violations** under the unchanged WCAG2A/AA,2.1AA,2.2AA and best-practice tags. These tags are a bounded automated scan, not native/human/whole-application acceptance.
- All12 before/after full-page PNG pairs are **byte-identical**, proving no screenshot-visible change for these samples. Hash pairs are in the receipts; two selected baseline screenshots are already committed under landing-local-language/browser, all12 pairs remain preserved locally. No image conversion or new imaging dependency was needed.
The existing harness was reused with isolated output/current API origin plus explicit zero-violation and zero-preference-request assertions. All API responses are intercepted; no real identity, email, provider/model or production activity. Original failed snapshots/logs remain retained; they are not replaced with green outputs. Exact native logs/JSON gzip and executed harness/source bindings: [receipts](evidence/landing-landmarks/browser/SOURCE_RECEIPTS.json).
Raw static SEO, earlier mockup images and public design/claim decisions remain open. Full A3 route/preservation acceptance, human/device/AT/native-language checks and security/release qualification remain open. Rollback restores the semantic tags/removes the plain main grouping and its regression; no data rollback or migration.
AST-only graph refresh PASSED19,898 nodes/49,311 edges with existing missing SQL extractor/symbol-free file warnings; no semantic/model processing.
@@ -0,0 +1,471 @@
{
"screens": [
{
"width": 320,
"language": "en",
"mode": "light",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 320,
"language": "en",
"mode": "dark",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 320,
"language": "nb",
"mode": "light",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 320,
"language": "nb",
"mode": "dark",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 768,
"language": "en",
"mode": "light",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 768,
"language": "en",
"mode": "dark",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 768,
"language": "nb",
"mode": "light",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 768,
"language": "nb",
"mode": "dark",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 1440,
"language": "en",
"mode": "light",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 1440,
"language": "en",
"mode": "dark",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 1440,
"language": "nb",
"mode": "light",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
},
{
"width": 1440,
"language": "nb",
"mode": "dark",
"state": "landing-baseline",
"layout": {
"pageOverflow": false,
"landmarks": [
"header",
"main",
"footer"
],
"mockups": [
{
"src": "/mockups/dashboard.svg",
"loaded": true
},
{
"src": "/mockups/pipeline.svg",
"loaded": true
},
{
"src": "/mockups/workspace.svg",
"loaded": true
}
]
},
"violations": []
}
],
"journeys": [
{
"width": 320,
"language": "en",
"mode": "light",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 320,
"language": "en",
"mode": "dark",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 320,
"language": "nb",
"mode": "light",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 320,
"language": "nb",
"mode": "dark",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 768,
"language": "en",
"mode": "light",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 768,
"language": "en",
"mode": "dark",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 768,
"language": "nb",
"mode": "light",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 768,
"language": "nb",
"mode": "dark",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 1440,
"language": "en",
"mode": "light",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 1440,
"language": "en",
"mode": "dark",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 1440,
"language": "nb",
"mode": "light",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
},
{
"width": 1440,
"language": "nb",
"mode": "dark",
"publicLanguageSwitch": "PASS",
"featuresAnchorAndAuthNavigation": "PASS",
"submissions": "NOT RUN"
}
],
"confirmations": [],
"signIns": [],
"challenges": [],
"preferenceDenials": [],
"unexpectedWrites": [],
"unavailableReads": [],
"blockedExternal": [],
"errors": [],
"rawHtml": {
"language": "en",
"title": "Jobbjakt",
"description": "Jobbjakt — track and manage job applications",
"canonical": null,
"alternateLanguages": [],
"headings": []
},
"limits": [
"Every API response is intercepted; no real account, password, email delivery, verification, MFA or provider activation.",
"Synthetic confirmation tokens and challenge values cannot qualify server-side token, rate-limit or authentication enforcement.",
"No native/human, integrated security, release or production qualification."
]
}
@@ -0,0 +1,135 @@
{
"source": "36084473c354592769578d1436e43f4fc338e1b3",
"artifacts": [
{
"file": "BROWSER.json",
"bytes": 10446,
"sha256": "aee8f14ed626ab7bb838c65ed4fbd02e22b90946d2ca4cd59af78ccaf14a673c"
},
{
"file": "browser.txt",
"bytes": 363,
"sha256": "178bcdb49a9b9bcea6a1ede31dea679931768d11c71e87c47a3fac9c1cabcadb"
},
{
"file": "browser.txt.native.gz",
"bytes": 218,
"sha256": "dbf4626aaf58502b47e1277fb1caa7f527a5d9ea21877594cc920975774c8fb0"
},
{
"file": "build.txt",
"bytes": 592,
"sha256": "677596d0debc6ad0606124824048f9234574c2fad59511583ff371000b884d34"
},
{
"file": "build.txt.native.gz",
"bytes": 485,
"sha256": "1d27f1eee3d98eeb42cca7813c7d6190b68c2cf33ad156f8745ff96bca86c366"
},
{
"file": "green.json",
"bytes": 6817,
"sha256": "a73bcff9ecddb907056fff0ba2ef6da4070572f17e921b6b0e7016864c9c10de"
},
{
"file": "green.json.native.gz",
"bytes": 1330,
"sha256": "9468011271553f8637bc91333f82c8625053aa297a33270c55507e8115c239e2"
},
{
"file": "green.txt",
"bytes": 643,
"sha256": "007abce908e81c1cbc70223e35ff952c8ff526bdb14da2a209dee73b569cb89c"
},
{
"file": "green.txt.native.gz",
"bytes": 511,
"sha256": "7d6bf6e13c33da11d668606e1fb0e27af0e6d7dcf2897951395d2651c889ed11"
},
{
"file": "harness.mjs.txt",
"bytes": 16218,
"sha256": "c9d0cfb7c2b6b29540e02f0b7bae218ba47a4f9bdd648c3cd3f95d53b4ea7cda"
},
{
"file": "red.json",
"bytes": 65549,
"sha256": "e474e48993708a252f942ecf52d7fe2f9f374a14e8cb8f8a576bd129c2ff71d2"
},
{
"file": "red.json.native.gz",
"bytes": 4866,
"sha256": "bb81a380e6379e277a91b35cf6637f41c08ec32b4f6b492e5eb7c1829a1b6218"
},
{
"file": "red.txt",
"bytes": 26905,
"sha256": "57254b44ce28f7794abd4c4f62618e661e269b12b30fd2786deb46c3b8b89251"
},
{
"file": "red.txt.native.gz",
"bytes": 3708,
"sha256": "dd56c99927f7db535eba399cf379526b0b39660091227d43f713dc9dc0f0165a"
}
],
"screenshotPairs": [
{
"file": "landing-en-dark-1440.png",
"beforeAfterExactSha256": "bd01a89dacbc90a9de8c66907b7184a86fc429554cc1ba16ef2c9c9c946ccb20"
},
{
"file": "landing-en-dark-320.png",
"beforeAfterExactSha256": "d3bafb63cc49e19edf37d73e0bc06fdbe42962f485a50c02db4e8de9ff7fce9b"
},
{
"file": "landing-en-dark-768.png",
"beforeAfterExactSha256": "d9d52097ba94554ce9790a0b01aa2a22a358410ad7c787171445efb4b7ce6dde"
},
{
"file": "landing-en-light-1440.png",
"beforeAfterExactSha256": "587172f777a93c3333a26f8257b30f8ea84ea8724ab94bb4a1fa4d147055c6fa"
},
{
"file": "landing-en-light-320.png",
"beforeAfterExactSha256": "536b4ec0a27e4b979db51703031f0c3dd7e367b20a19e59405355c4feaf18cb1"
},
{
"file": "landing-en-light-768.png",
"beforeAfterExactSha256": "95b8bb5e87966a3579cfc03f9293a67b6bf3697fd3292d7614e1af19ea9b9f27"
},
{
"file": "landing-nb-dark-1440.png",
"beforeAfterExactSha256": "e4372d03a59798b023eb658c75b54cbf23fd508e3d21af6143c16e7155695d0f"
},
{
"file": "landing-nb-dark-320.png",
"beforeAfterExactSha256": "4c51ec5a53766805719d78be00c8692e83bd98c533f6761bf238b36d04f430c7"
},
{
"file": "landing-nb-dark-768.png",
"beforeAfterExactSha256": "7c0b22d80cfb38197652f6d12b1241e1c091907a6a0378281d873e7ff66efd60"
},
{
"file": "landing-nb-light-1440.png",
"beforeAfterExactSha256": "fe51361187f27df68d286bb2e926a25f79fbc35860097161700eef889851e3b6"
},
{
"file": "landing-nb-light-320.png",
"beforeAfterExactSha256": "72b97cf02e0961db26519ec44964f57583a498ab55522d6a09c8b9bd5c27441d"
},
{
"file": "landing-nb-light-768.png",
"beforeAfterExactSha256": "60deb31ef35d89b0e7a735911b58d58cca7ae856fe770801810acb93d1dcf2cc"
}
],
"sources": [
{
"path": "job-tracker-ui/src/views/LandingPage.tsx",
"gitBlob": "deaeb7dc494f34275d1042fd75b66704a795bd27"
},
{
"path": "job-tracker-ui/src/landing-page.test.tsx",
"gitBlob": "63841c030eeb519213d302b51003a8ae82b61570"
}
]
}
@@ -0,0 +1,13 @@
Checking 320/en/light
Checking 320/en/dark
Checking 320/nb/light
Checking 320/nb/dark
Checking 768/en/light
Checking 768/en/dark
Checking 768/nb/light
Checking 768/nb/dark
Checking 1440/en/light
Checking 1440/en/dark
Checking 1440/nb/light
Checking 1440/nb/dark
Audited 12 existing landing states. 12 controlled navigation journeys passed. See recorded findings.
@@ -0,0 +1,23 @@
> job-tracker-ui@0.1.0 build
> node --max-old-space-size=4096 ./node_modules/next/dist/bin/next build
▲ Next.js 16.4.6 (Turbopack)
✓ Running next.config.js took 31ms
Creating an optimized production build ...
✓ Compiled successfully in 878ms
Running TypeScript ...
Finished TypeScript in 5.7s ...
Collecting page data using 4 workers ...
Generating static pages using 4 workers (0/3) ...
✓ Generating static pages using 4 workers (3/3) in 901ms
Finalizing page optimization ...
Route (app)
┌ ○ /
└ ○ /_not-found
○ (Static) prerendered as static content
File diff suppressed because one or more lines are too long
@@ -0,0 +1,14 @@
node :
At line:1 char:1
+ node node_modules/jest/bin/jest.js --runInBand --runTestsByPath src/l ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Test Suites: 3 passed, 3 total
Tests: 14 passed, 14 total
Snapshots: 0 total
Time: 6.197 s, estimated 10 s
Ran all test suites within paths "src/landing-page.test.tsx", "src/i18n-provider.test.tsx",
"src/LandingPage.authRedirect.test.tsx".
Test results written to: ..\..\browser-restoration-20261117\landing-landmarks-green.json
@@ -0,0 +1,134 @@
// Actual public routes; synthetic confirmation/MFA responses, no real identity or provider access.
import { chromium, expect } from '@playwright/test';
import AxeBuilder from '@axe-core/playwright';
import ts from 'typescript';
import assert from 'node:assert/strict';
import fs from 'node:fs';
import path from 'node:path';
const compiled = ts.transpileModule(fs.readFileSync(new URL('../src/i18n/translations.ts', import.meta.url), 'utf8'), { compilerOptions: { module: ts.ModuleKind.ESNext } }).outputText;
const { translations } = await import(`data:text/javascript;base64,${Buffer.from(compiled).toString('base64')}`);
const landingAudit = process.env.A3_LANDING_AUDIT === '1';
const out = path.resolve(import.meta.dirname, '../../docs/ui-modernisation/evidence/landing-landmarks/browser');
fs.mkdirSync(out, { recursive: true });
const report = { screens: [], journeys: [], confirmations: [], signIns: [], challenges: [], preferenceDenials: [], unexpectedWrites: [], unavailableReads: [], blockedExternal: [], errors: [] };
const browser = await chromium.launch();
try {
const widths = landingAudit ? [320, 768, 1440] : [320, 360, 390, 430, 768, 1024, 1280, 1440, 1920];
const configurations = process.env.A3_PILOT ? [[320, 'en', 'light']] : widths.flatMap(width => ['en', 'nb'].flatMap(language => ['light', 'dark'].map(mode => [width, language, mode])));
for (const [width, language, mode] of configurations) {
console.log(`Checking ${width}/${language}/${mode}`);
const other = language === 'en' ? 'nb' : 'en';
const text = (locale, key) => { assert.ok(translations[locale][key], key); return translations[locale][key]; };
const t = key => text(language, key);
const context = await browser.newContext({ viewport: { width, height: 1000 }, reducedMotion: 'reduce' });
const page = await context.newPage(); page.on('pageerror', error => report.errors.push(error.message));
await page.addInitScript(({ language, mode }) => { localStorage.setItem('uiLanguage', language); localStorage.setItem('jobtracker.themeMode', mode); }, { language, mode });
let configReads = 0, confirmations = 0, signIns = 0, challenges = 0;
await page.route('**/*', route => {
const req = route.request(), url = new URL(req.url()), p = url.pathname;
if (url.origin !== 'http://localhost:4338' && !(url.origin === 'http://localhost:5302' && p.startsWith('/api/'))) { report.blockedExternal.push(url.origin); return route.abort(); }
if (landingAudit && p === '/mockups/dashboard.svg') {
const mockup = fs.readFileSync(path.resolve(import.meta.dirname, '../out/mockups/dashboard.svg'), 'utf8');
const safeMockup = mockup.replace(/[\w.%+-]+@[\w.-]+\.[A-Za-z]{2,}/g, 'alex@example.test');
return route.fulfill({ status: 200, contentType: 'image/svg+xml', body: safeMockup });
}
if (!p.startsWith('/api/')) return route.continue();
const answer = data => route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify(data) });
if (req.method() === 'GET' && p === '/api/auth/config') { configReads++; return answer({ requireAuth: true, localEnabled: true, allowRegistration: true, requireEmailVerification: true, googleEnabled: false, microsoftEnabled: false, turnstileEnabled: false }); }
if (landingAudit && req.method() === 'GET' && p === '/api/auth/me') return route.fulfill({ status: 401, contentType: 'application/json', body: '{}' });
if (landingAudit && req.method() === 'PUT' && p === '/api/auth/preferences/language') {
const preference = req.postDataJSON().language;
assert.ok(['en', 'nb-NO'].includes(preference));
report.preferenceDenials.push({ width, language, mode, preference });
return route.fulfill({ status: 401, contentType: 'application/json', body: '{}' });
}
if (landingAudit && req.method() !== 'GET') { report.unexpectedWrites.push(p); return route.abort(); }
if (req.method() === 'POST' && ['/api/auth/verify-email', '/api/auth/email-change/confirm'].includes(p)) {
const expected = { userId: 'synthetic-owner', ...(p.includes('email-change') ? { email: 'synthetic@example.test' } : {}), token: 'synthetic-confirmation' };
assert.deepEqual(req.postDataJSON(), expected); confirmations++; report.confirmations.push({ width, language, mode, path: p }); return answer({});
}
if (req.method() === 'POST' && p === '/api/auth/login') {
const body = req.postDataJSON(); assert.equal(body.email, 'synthetic@example.test'); assert.equal(body.password, 'Synthetic challenge example'); assert.equal(typeof body.rememberMe, 'boolean'); assert.deepEqual(Object.keys(body).sort(), ['email', 'password', 'rememberMe']);
signIns++; report.signIns.push({ width, language, mode }); return answer({ requiresTwoFactor: true, pendingToken: 'synthetic-pending' });
}
if (req.method() === 'POST' && p === '/api/auth/2fa/challenge') {
assert.deepEqual(req.postDataJSON(), { pendingToken: 'synthetic-pending', code: '000000', trustDevice: false }); challenges++; report.challenges.push({ width, language, mode });
return route.fulfill({ status: 429, contentType: 'application/problem+json', body: '{}' });
}
if (req.method() !== 'GET') { report.unexpectedWrites.push(p); return route.abort(); }
report.unavailableReads.push(p); return route.fulfill({ status: 503, contentType: 'application/json', body: '{}' });
});
const scan = async state => {
assert.equal(await page.evaluate(() => document.documentElement.scrollWidth > innerWidth + 1), false, `overflow:${state}`);
const result = await new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa']).analyze();
report.screens.push({ width, language, mode, state, violations: result.violations }); assert.deepEqual(result.violations, [], state);
await page.evaluate(() => window.scrollTo({ top: 0, behavior: 'instant' })); await page.screenshot({ path: path.join(out, `${state}-${language}-${mode}-${width}.png`), fullPage: true });
};
const selectLanguage = locale => page.getByRole('button', { name: locale === 'en' ? 'English' : 'Norsk bokmål', exact: true }).click();
const ready = async (url, title, config = false) => { await page.goto(`http://localhost:4338${url}`); await expect(page.getByRole('heading', { level: 1, name: t(title), exact: true })).toBeVisible(); if (config) await expect(page.getByText(t('loading'), { exact: true })).toHaveCount(0); };
if (landingAudit) {
const landing = async locale => {
const heading = `${text(locale, 'landingHeroBefore')} ${text(locale, 'landingHeroAccent')}.`;
await expect(page.getByRole('heading', { level: 1, name: heading, exact: true })).toBeVisible();
};
await page.goto('http://localhost:4338/');
await landing(language);
await expect.poll(() => page.locator('img[src^="/mockups/"]').evaluateAll(images => images.filter(img => img.complete).length)).toBe(3);
if (!report.rawHtml) {
const response = await page.request.get('http://localhost:4338/');
assert.equal(response.status(), 200);
report.rawHtml = await page.evaluate(html => {
const raw = new DOMParser().parseFromString(html, 'text/html');
return { language: raw.documentElement.lang, title: raw.title, description: raw.querySelector('meta[name=description]')?.content ?? null, canonical: raw.querySelector('link[rel=canonical]')?.getAttribute('href') ?? null, alternateLanguages: [...raw.querySelectorAll('link[hreflang]')].map(link => link.hreflang), headings: [...raw.querySelectorAll('body h1')].map(heading => heading.textContent) };
}, await response.text());
}
const layout = await page.evaluate(() => ({
pageOverflow: document.documentElement.scrollWidth > innerWidth + 1,
landmarks: [...document.querySelectorAll('header, main, footer, nav')].map(node => node.tagName.toLowerCase()),
mockups: [...document.querySelectorAll('img[src^="/mockups/"]')].map(img => ({ src: img.getAttribute('src'), loaded: img.complete && img.naturalWidth > 0 })),
}));
const result = await new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa', 'best-practice']).analyze();
report.screens.push({ width, language, mode, state: 'landing-baseline', layout, violations: result.violations });
await page.screenshot({ path: path.join(out, `landing-${language}-${mode}-${width}.png`), fullPage: true });
await selectLanguage(other); await landing(other);
assert.equal(await page.evaluate(() => localStorage.getItem('uiLanguage')), other);
await selectLanguage(language); await landing(language);
await page.getByRole('link', { name: t('landingSeeFeatures'), exact: true }).press('Enter');
await expect.poll(() => new URL(page.url()).hash).toBe('#features');
await page.getByRole('button', { name: t('landingSignIn'), exact: true }).first().press('Enter');
await expect(page.getByRole('heading', { name: t('signInTitle'), level: 1, exact: true })).toBeVisible();
await page.goto('http://localhost:4338/'); await landing(language);
await page.getByRole('button', { name: t('landingPlanFreeCta'), exact: true }).press('Enter');
await expect(page.getByRole('heading', { name: t('createAccount'), level: 1, exact: true })).toBeVisible();
report.journeys.push({ width, language, mode, publicLanguageSwitch: 'PASS', featuresAnchorAndAuthNavigation: 'PASS', submissions: 'NOT RUN' });
await context.close(); continue;
}
await ready('/login', 'signInTitle', true); await scan('login');
await page.getByLabel(t('usernameOrEmail'), { exact: true }).fill('synthetic@example.test'); await page.getByLabel(t('profileCurrentPassword'), { exact: true }).fill('Synthetic unsubmitted example');
const reads = configReads; await selectLanguage(other);
await expect(page.getByLabel(text(other, 'usernameOrEmail'), { exact: true })).toHaveValue('synthetic@example.test'); await expect(page.getByLabel(text(other, 'profileCurrentPassword'), { exact: true })).toHaveValue('Synthetic unsubmitted example');
assert.equal(await page.evaluate(() => localStorage.getItem('uiLanguage')), other); assert.equal(configReads, reads); assert.equal(signIns, 0);
await selectLanguage(language); await page.getByLabel(t('usernameOrEmail'), { exact: true }).fill(''); await page.getByLabel(t('profileCurrentPassword'), { exact: true }).fill('');
await page.getByRole('button', { name: t('signInTitle'), exact: true }).click(); await expect(page.getByText(t('usernameOrEmailRequired'), { exact: true })).toBeVisible(); await scan('login-validation');
await ready('/register', 'createAccount', true); await scan('register'); await page.getByRole('button', { name: t('createAccount'), exact: true }).click(); await expect(page.getByText(t('emailRequired'), { exact: true })).toBeVisible(); await scan('register-validation');
await ready('/forgot-password', 'forgotPasswordTitle'); await scan('password-request'); await page.getByRole('button', { name: t('forgotPasswordSubmit'), exact: true }).click(); await expect(page.getByText(t('emailRequired'), { exact: true })).toBeVisible(); await scan('password-request-validation');
await ready('/reset-password?email=synthetic%40example.test&token=synthetic', 'resetPasswordTitle'); await expect(page.getByRole('button', { name: t('updatePassword'), exact: true })).toBeEnabled(); await scan('password-reset');
await page.getByRole('button', { name: t('updatePassword'), exact: true }).click(); await expect(page.getByLabel(t('profileNewPassword'), { exact: true })).toHaveAttribute('aria-invalid', 'true'); await scan('password-reset-validation');
for (const [url, title, errorKey, state] of [['/verify-email', 'verifyEmailTitle', 'missingVerifyLinkInfo', 'verify-missing'], ['/confirm-email-change', 'confirmEmailChangeTitle', 'missingEmailChangeLinkInfo', 'email-change-missing'], ['/microsoft-legacy-relink', 'microsoftLegacyRelinkTitle', 'microsoftLegacyRelinkMissing', 'microsoft-recovery-missing']]) {
await ready(url, title); await expect(page.getByRole('main').getByRole('alert')).toContainText(t(errorKey)); if (state === 'microsoft-recovery-missing') await expect(page.getByRole('button', { name: t('continueWithMicrosoft'), exact: true })).toBeDisabled(); await scan(state);
}
assert.equal(confirmations, 0); assert.equal(signIns, 0); assert.equal(challenges, 0);
for (const [url, title, successKey, state] of [['/verify-email?userId=synthetic-owner&token=synthetic-confirmation', 'verifyEmailTitle', 'verifyEmailSuccess', 'verify-success'], ['/confirm-email-change?userId=synthetic-owner&email=synthetic%40example.test&token=synthetic-confirmation', 'confirmEmailChangeTitle', 'confirmEmailChangeSuccess', 'email-change-success']]) {
const expected = confirmations + 1; await ready(url, title); await expect(page.getByRole('status')).toContainText(t(successKey)); await selectLanguage(other); await expect(page.getByRole('status')).toContainText(text(other, successKey)); await selectLanguage(language); assert.equal(confirmations, expected); await scan(state);
}
await ready('/login', 'signInTitle', true); await page.getByLabel(t('usernameOrEmail'), { exact: true }).fill('synthetic@example.test'); await page.getByLabel(t('profileCurrentPassword'), { exact: true }).fill('Synthetic challenge example'); await page.getByRole('button', { name: t('signInTitle'), exact: true }).click();
await page.getByLabel(t('twoFactorCodeLabel'), { exact: true }).fill('000000'); await page.getByRole('button', { name: t('twoFactorVerify'), exact: true }).click(); await expect(page.getByRole('main').getByRole('alert')).toContainText(t('twoFactorRateLimited'));
await selectLanguage(other); await expect(page.getByRole('main').getByRole('alert')).toContainText(text(other, 'twoFactorRateLimited')); await expect(page.getByLabel(text(other, 'twoFactorCodeLabel'), { exact: true })).toHaveValue('000000'); await selectLanguage(language); await scan('mfa-rate-limit');
assert.equal(confirmations, 2); assert.equal(signIns, 1); assert.equal(challenges, 1); report.journeys.push({ width, language, mode, publicLanguageAndDraft: 'PASS', clientValidationWithoutSubmission: 'PASS', confirmationLocaleWithoutReplay: 'PASS', mfaRateLimitAndCodeRetained: 'PASS' }); await context.close();
}
assert.equal(report.screens.length, configurations.length * (landingAudit ? 1 : 14)); assert.equal(report.journeys.length, configurations.length); assert.equal(report.confirmations.length, landingAudit ? 0 : configurations.length * 2); assert.equal(report.signIns.length, landingAudit ? 0 : configurations.length); assert.equal(report.challenges.length, landingAudit ? 0 : configurations.length);
assert.ok(report.screens.every(screen => screen.violations.length === 0)); assert.deepEqual(report.preferenceDenials, []); assert.deepEqual(report.errors, []); assert.deepEqual(report.unexpectedWrites, []); assert.deepEqual(report.unavailableReads, []); assert.ok(report.blockedExternal.every(origin => origin === 'https://fonts.googleapis.com'));
console.log(landingAudit ? `Audited ${report.screens.length} existing landing states. ${report.journeys.length} controlled navigation journeys passed. See recorded findings.` : `PASS:${report.journeys.length} public journeys,${report.screens.length} scans/captures; synthetic confirmations and MFA only.`);
} finally {
fs.writeFileSync(path.join(out, process.env.A3_PILOT ? 'PILOT.json' : 'BROWSER.json'), JSON.stringify({ ...report, limits: ['Every API response is intercepted; no real account, password, email delivery, verification, MFA or provider activation.', 'Synthetic confirmation tokens and challenge values cannot qualify server-side token, rate-limit or authentication enforcement.', 'No native/human, integrated security, release or production qualification.'] }, null, 2)); await browser.close();
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,629 @@
node : FAIL src/landing-page.test.tsx (9.641 s)
At line:1 char:1
+ node node_modules/jest/bin/jest.js --runInBand --runTestsByPath src/l ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (FAIL src/landing-page.test.tsx (9.641 s):String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
● public content is reachable through one main landmark separate from header and footer
TestingLibraryElementError: Unable to find an accessible element with the role "main"
Here are the accessible roles:
paragraph:
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-8snv7u-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-88irll-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-69zigq-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-h0dad7-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1ywugkf-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-h0dad7-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-8hj93v-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-lpsiav-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1ogsywi-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-jion45-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1vjhck4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-h0dad7-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-8hj93v-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1u5co4u-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1u5co4u-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-yzndz4-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1unda5x-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-vefrzx-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-1uztt2u-MuiTypography-root"
/>
Name "":
<p
class="MuiTypography-root MuiTypography-body1 css-z0yr09-MuiTypography-root"
/>
--------------------------------------------------
group:
Name "Application language":
<div
aria-label="Application language"
class="MuiButtonGroup-root MuiButtonGroup-outlined MuiButtonGroup-horizontal
MuiButtonGroup-colorPrimary css-u6fmfy-MuiButtonGroup-root"
role="group"
/>
--------------------------------------------------
button:
Name "English":
<button
aria-label="English"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped
MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal
MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary
MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped
MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal
MuiButtonGroup-groupedOutlinedPrimary MuiButtonGroup-firstButton css-tm237w-MuiButtonBase-root-MuiButton-root"
lang="en"
tabindex="0"
type="button"
/>
Name "Norsk bokmål":
<button
aria-label="Norsk bokmål"
aria-pressed="false"
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary
MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped
MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal
MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall
MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal
MuiButtonGroup-groupedOutlined MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary
MuiButtonGroup-lastButton css-74b9is-MuiButtonBase-root-MuiButton-root"
lang="nb"
tabindex="0"
type="button"
/>
Name "Sign in":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-root
MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium
MuiButton-colorPrimary MuiButton-disableElevation css-xg69i6-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Get started":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary MuiButton-disableElevation MuiButton-root
MuiButton-contained MuiButton-containedPrimary MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary
MuiButton-disableElevation css-1iy5dy8-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Create a Free account":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary
MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-fullWidth MuiButton-root
MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary
MuiButton-fullWidth css-7ojbb2-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Sign in to view Pro":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation
MuiButton-fullWidth MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium
MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation MuiButton-fullWidth
css-1si4an9-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Sign in →":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary
MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary MuiButton-disableElevation MuiButton-root
MuiButton-contained MuiButton-containedPrimary MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary
MuiButton-disableElevation css-1ikfjcd-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
Name "Sign in":
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary
MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-text
MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary
css-r98byb-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
--------------------------------------------------
heading:
Name "Run your job search without losing the thread .":
<h1
class="MuiTypography-root MuiTypography-body1 css-xp5go3-MuiTypography-root"
/>
Name "Your whole search, at a glance":
<h2
class="MuiTypography-root MuiTypography-body1 css-5cqdzm-MuiTypography-root"
/>
Name "One workspace for the whole search":
<h2
class="MuiTypography-root MuiTypography-body1 css-fo8kax-MuiTypography-root"
/>
Name "From a link to an offer":
<h2
class="MuiTypography-root MuiTypography-body1 css-fo8kax-MuiTypography-root"
/>
Name "Two clear plans":
<h2
class="MuiTypography-root MuiTypography-body1 css-fo8kax-MuiTypography-root"
/>
Name "Free":
<h3
class="MuiTypography-root MuiTypography-body1 css-101xmb3-MuiTypography-root"
id="plan-free"
/>
Name "Pro":
<h3
class="MuiTypography-root MuiTypography-body1 css-101xmb3-MuiTypography-root"
id="plan-pro"
/>
--------------------------------------------------
link:
Name "See features":
<a
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary
MuiButton-sizeLarge MuiButton-outlinedSizeLarge MuiButton-colorPrimary MuiButton-root MuiButton-outlined
MuiButton-outlinedPrimary MuiButton-sizeLarge MuiButton-outlinedSizeLarge MuiButton-colorPrimary
css-484vrr-MuiButtonBase-root-MuiButton-root"
href="#features"
tabindex="0"
/>
--------------------------------------------------
img:
Name "Jobbjakt dashboard — KPIs, funnel, response trend and follow-ups":
<img
alt="Jobbjakt dashboard — KPIs, funnel, response trend and follow-ups"
class="MuiBox-root css-1pf0x3y"
src="/mockups/dashboard.svg"
/>
Name "Drag-and-drop pipeline board":
<img
alt="Drag-and-drop pipeline board"
class="MuiBox-root css-1pf0x3y"
src="/mockups/pipeline.svg"
/>
Name "Per-job workspace with match score, correspondence and attachments":
<img
alt="Per-job workspace with match score, correspondence and attachments"
class="MuiBox-root css-1pf0x3y"
src="/mockups/workspace.svg"
/>
--------------------------------------------------
region:
Name "Free":
<section
aria-labelledby="plan-free"
class="MuiBox-root css-1aena2c"
/>
Name "Pro":
<section
aria-labelledby="plan-pro"
class="MuiBox-root css-1yhjs04"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="MuiBox-root css-1k9ek97"
>
<div
class="MuiBox-root css-922rya"
>
<div
class="MuiContainer-root MuiContainer-maxWidthLg css-5c1adp-MuiContainer-root"
>
<div
class="MuiStack-root css-paiku9-MuiStack-root"
>
<div
class="MuiStack-root css-19jlz5w-MuiStack-root"
>
<div
class="MuiBox-root css-2jp6ab"
>
✓
</div>
<p
class="MuiTypography-root MuiTypography-body1 css-8snv7u-MuiTypography-root"
>
Jobbjakt
</p>
</div>
<div
class="MuiStack-root css-kdc3n8-MuiStack-root"
>
<div
aria-label="Application language"
class="MuiButtonGroup-root MuiButtonGroup-outlined MuiButtonGroup-horizontal
MuiButtonGroup-colorPrimary css-u6fmfy-MuiButtonGroup-root"
role="group"
>
<button
aria-label="English"
aria-pressed="true"
class="MuiButtonBase-root MuiButton-root MuiButton-contained
MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary
MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined
MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-contained
MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary
MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined
MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButtonGroup-firstButton
css-tm237w-MuiButtonBase-root-MuiButton-root"
lang="en"
tabindex="0"
type="button"
>
EN
</button>
<button
aria-label="Norsk bokmål"
aria-pressed="false"
class="MuiButtonBase-root MuiButton-root MuiButton-outlined
MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary
MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined
MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButton-root MuiButton-outlined
MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary
MuiButtonGroup-grouped MuiButtonGroup-groupedHorizontal MuiButtonGroup-groupedOutlined
MuiButtonGroup-groupedOutlinedHorizontal MuiButtonGroup-groupedOutlinedPrimary MuiButtonGroup-lastButton
css-74b9is-MuiButtonBase-root-MuiButton-root"
lang="nb"
tabindex="0"
type="button"
>
NB
</button>
</div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained
MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary
MuiButton-disableElevation MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium
MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-disableElevation
css-xg69i6-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Sign in
</button>
</div>
</div>
</div>
</div>
<div
class="MuiBox-root css-1c6h5d8"
>
<div
class="MuiContainer-root MuiContainer-maxWidthLg css-5c1adp-MuiContainer-root"
>
<div
class="MuiBox-root css-ld23xc"
>
<div
class="MuiBox-root css-1guva6p"
>
AI-ASSISTED JOB SEARCH WORKSPACE
</div>
<h1
class="MuiTypography-root MuiTypography-body1 css-xp5go3-MuiTypography-root"
>
Run your job search without losing
 
<span
class="MuiBox-root css-1n4n1k3"
>
the thread
</span>
.
</h1>
<p
class="MuiTypography-root MuiTypography-body1 css-88irll-MuiTypography-root"
>
Import a role, tailor your CV, track every application, and keep recruiter correspondence tied
to the right job — all in one focused workspace. Assistive, never autonomous: you approve every draft.
</p>
<div
class="MuiStack-root css-w7gobd-MuiStack-root"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained
MuiButton-containedPrimary MuiButton-sizeLarge MuiButton-containedSizeLarge MuiButton-colorPrimary
MuiButton-disableElevation MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeLarge
MuiButton-containedSizeLarge MuiButton-colorPrimary MuiButton-disableElevation
css-1iy5dy8-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Get started
</button>
<a
class="MuiButtonBase-root MuiButton-root MuiButton-outlined
MuiButton-outlinedPrimary MuiBu...
25 | render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);
26 | await screen.findByRole("heading", { name: "Two clear plans" });
> 27 | const main = screen.getByRole("main");
| ^
28 | expect(within(main).getByRole("heading", { level: 1 })).toBeInTheDocument();
29 | expect(within(main).getByRole("heading", { name: "Two clear plans" })).toBeInTheDocument();
30 | expect(main).not.toContainElement(screen.getByRole("banner"));
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByRole (src/landing-page.test.tsx:27:23)
Test Suites: 1 failed, 1 total
Tests: 1 failed, 4 skipped, 5 total
Snapshots: 0 total
Time: 11.853 s
Ran all test suites within paths "src/landing-page.test.tsx".
Test results written to: ..\..\browser-restoration-20261117\landing-landmarks-red.json
@@ -34,7 +34,7 @@ Owner correction: 3 November 2026. This register extends IM10 and the original 3
| V24 | Calendar workflow | Scheduling updates reminder card but leaves adjacent agenda stale | RESOLVED inc0ef4171;23 native cases and8 configurations/48 connected states passed,16 intercepted status/date writes | Refresh only after committed follow-up change; preserve selected month/view; backend/provider/timezone/native/owner acceptance remains separate |
| V25 | Audit table timestamp | Tablet Bokmål capture wraps both the column heading and timestamp inside words | RESOLVED in `2dc8fe4c` | All six columns and locale formatting retained. Final fixture row stays compact. See [Audit date review](AUDIT_DATE_REVIEW.md) |
| V26 | Embedded Gmail review counts | One thread/suggestion renders “1 candidate threads” and “1 suggested jobs” | RESOLVED in `e8e7d839` | EN/NB singular cases, zero/plural and live language switching verified. See [review count wording](MAIL_REVIEW_COUNTS.md) |
| V27 | Public homepage baseline | Earlier mockups, missing landmarks and crawlable locale content, anonymous preference request rejected | OPEN in LAUNCH-SITE-01 | [Rendered baseline](LANDING_BASELINE_REVIEW.md) captures mobile, tablet and desktop without choosing a launch design |
| V27 | Public homepage baseline | Earlier mockups and crawlable locale content remain; anonymous preference requests and missing landmarks fixed | PARTIAL; LAUNCH-SITE-01 design/SEO open | [Local language](../LANDING_LOCAL_LANGUAGE.md) and [semantic landmarks](../LANDING_LANDMARKS.md):12 journeys/12 scoped scans pass,12 byte-identical screenshot pairs; human/launch acceptance open |
| V28 | Application list | Ordinary rows show permanent selection controls and company before the role | RESOLVED in `1246994c` | [Selection review](APPLICATION_SELECTION_REVIEW.md) covers title-first hierarchy and the explicit mode. Secondary action consolidation remains open. |
| V29 | Admin Users | Row details sit above the centre of the action controls | RESOLVED in `dddec043` | [Alignment review](ADMIN_USER_ALIGNMENT_REVIEW.md) records the before and after geometry and phone layout. |
| V30 | Admin System | Operators cannot tell when the displayed status response last succeeded | RESOLVED in `4981a242` | [Status refresh review](SYSTEM_STATUS_REFRESH_REVIEW.md) qualifies timestamp, stale warning and keyboard retry. Per-signal telemetry remains open. |
@@ -29,9 +29,9 @@
"LandingPage"
],
"visualStatus": "BASELINE_RENDERED_AUDIT_LAUNCH_DESIGN_OPEN",
"afterStatus": "AUDITED:12 existing public states; navigation passed and landmark/SEO findings remain open",
"afterStatus": "PASSED:12 existing public journeys and12 scoped axe scans; anonymous preference requests zero; visual design, SEO and human acceptance remain open",
"functionalCriteria": "Original preservation register retained; no capability acceptance promotion",
"evidence": "LANDING_BASELINE_REVIEW.md; evidence/landing-baseline/BROWSER.json"
"evidence": "LANDING_BASELINE_REVIEW.md; evidence/landing-baseline/BROWSER.json; ../LANDING_LOCAL_LANGUAGE.md; ../LANDING_LANDMARKS.md"
},
{
"route": "/dashboard",
@@ -396,7 +396,7 @@
"Empty/error/permission states; populated detail/filter/keyboard synthetic qualification passed; see ADMIN_REVIEW.md for remaining limits"
],
"/": [
"V27 landmarks, crawlable locale content, preview assets and anonymous preference request; launch design and claims gates remain separate"
"V27 crawlable locale content and preview assets; local preference and semantic landmarks qualified at36084473; launch design, claims and human acceptance gates remain separate"
]
},
"remainingConnectedJourneys": [