Skip to content

Remove the page-wide outline from the route focus target - #506

Merged
Kerrycek merged 1 commit into
mainfrom
codex/main-focus-outline
Sep 24, 2026
Merged

Kerrycek merged 1 commit into
mainfrom
codex/main-focus-outline

Conversation

@Kerrycek

Copy link
Copy Markdown
Owner

English

Fix the blue lines surrounding the full page after navigation, as reported in the VPS overview screenshot. Route changes and the skip link focus the shared <main> landmark; Safari can paint its default outline around the entire content area.

Suppress the outline only on that non-interactive landmark. Keep tabIndex, route focus, scroll behavior, the skip link and the focus rings on actual controls intact. The existing navigation regression now checks the computed main outline and visible skip-link/input focus indicators, including macOS WebKit's Option+Tab navigation.

Validation: navigation regression PASS 3/3 (Chromium desktop/mobile and WebKit); existing focus unit tests PASS 9/9; typecheck, lint and build PASS. The same WebKit assertion fails on unmodified main (outline-style: auto) and passes with the fix (none). Browser results and the baseline reproduction are recorded in the task evidence. Uses synthetic API fixtures; no deployment or real-data changes. Independent of the other open UI PRs.

Česky

Oprava modrého orámování celého obsahu ze screenshotu přehledu VPS. Při navigaci se fokus přesouvá na hlavní obsah a Safari kolem něj vykreslí výchozí obrys. Potlačení je omezené pouze na tento neinteraktivní blok.

Přesun fokusu, odkaz pro přeskočení navigace, pozice při návratu i zvýraznění polí a tlačítek zůstávají zachované. Ověřeno existujícími testy navigace a fokusu, včetně WebKitu. Pouze lokální testovací data; bez nasazení. PR je nezávislé na ostatních otevřených úpravách UI.

Safari outlines the shared main landmark when navigation or a skip link
focuses it, producing blue lines down both sides of the page. Suppress
only that non-interactive landmark outline while preserving focus and
scroll behavior and the visible focus indicators on actual controls.

Extend the navigation regression to verify computed focus styles and
use Option+Tab when testing link traversal in macOS WebKit.
@Kerrycek
Kerrycek merged commit 3550de4 into main Sep 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant