diff --git a/scripts/preview-browser.mjs b/scripts/preview-browser.mjs
index 104c047..0b0dd2f 100644
--- a/scripts/preview-browser.mjs
+++ b/scripts/preview-browser.mjs
@@ -175,11 +175,24 @@ try {
assert.equal(await panes.nth(1).locator('svg > g').getAttribute('filter'), `url(#${filterId})`);
assert.equal(await panes.nth(1).locator('feColorMatrix').count(), 1);
assert.equal(await panes.nth(1).locator('feGaussianBlur').count(), 1);
+ const pageFooter = page.getByRole('contentinfo');
+ const copyright = pageFooter.getByText('© 2026 Chenhao Wang', {exact:true});
+ const repository = pageFooter.getByRole('link', {name:'GitHub repository',exact:true});
+ assert.equal(await repository.getAttribute('href'), 'https://github.com/implexrr/KindPath');
+ await landing.getByRole('button', {name:'Scan website',exact:true}).focus();
+ await page.keyboard.press('Tab');
+ assert.ok(await repository.evaluate(node => node === document.activeElement && node.matches(':focus-visible')));
+ await repository.blur();
const landingImages = {};
for (const [size, width, height] of [['desktop', 1200, 720], ['mobile', 390, 740]]) {
await page.setViewportSize({width, height});
const [left, right] = await panes.evaluateAll(nodes => nodes.map(node => node.getBoundingClientRect().toJSON()));
const form = await landing.locator('form').boundingBox();
+ const owner = await copyright.boundingBox();
+ const link = await repository.boundingBox();
+ assert.ok(owner.x + owner.width < link.x, 'Footer items must sit apart');
+ assert.ok(Math.abs(owner.y + owner.height / 2 - link.y - link.height / 2) < 1, 'Footer items must align on the same row');
+ assert.ok(link.height >= (size === 'mobile' ? 44 : 24), 'The link must have a usable target height');
assert.equal(left.top, right.top);
assert.ok(left.right < right.left);
if (size === 'mobile') assert.ok(left.top > form.y + form.height);
diff --git a/src/App.tsx b/src/App.tsx
index ae1fac2..3db1d1e 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -173,6 +173,9 @@ export function App() {
}
-
+
>;
}
diff --git a/src/styles.css b/src/styles.css
index 3674e89..bf43382 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -56,7 +56,8 @@
.landing-comparison-page{overflow:hidden;border-radius:6px;border:1px solid #cdd5c6}
.landing-comparison svg{display:block;width:100%;height:auto}
.landing-comparison figcaption{margin-top:12px;font-size:12px;line-height:1.5;color:#52635b}
-footer{border-top:1px solid var(--line);padding:9px 6%;font-size:12px;color:#52635b}
+footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 20px;border-top:1px solid var(--line);padding:3px 6%;font-size:12px;line-height:1.25;color:#52635b}
+footer a{display:inline-flex;align-items:center;gap:4px;min-height:24px;margin-inline-start:auto;color:var(--green);text-underline-offset:3px}
.hero .landing-comparison{grid-row:2;margin-bottom:18px;padding:12px}
.hero .landing-comparison svg{max-height:155px}
.hero .landing-comparison figcaption{margin-top:8px}
@@ -71,6 +72,7 @@ footer{border-top:1px solid var(--line);padding:9px 6%;font-size:12px;color:#526
.hero .landing-comparison figcaption{margin-top:12px}
.hero .form-note{margin-top:10px}
.landing-comparison-panes{gap:8px}
- footer{padding-block:20px}
+ footer{padding-block:5px}
+ footer a{min-height:44px}
}
@media(max-width:380px){.url-field{display:grid}.url-field button{width:100%}}