implementation
Implement in your agent
# Implement Link in your agent ## Objective Implement Link for this verified behavior: A named connection to another destination that preserves standard browser navigation behavior. ## Prerequisites - Inspect the repository, design system, and existing tests first. - Preserve unrelated changes and keep the file scope bounded. - Confirm that Link matches the need before writing code. ## Required behavior - Activation changes the URL or moves to a named destination and preserves standard link behavior. - Pointer, Enter, or Space activation runs one named action exactly once. ## States to cover - Account summary — Account summary - Billing details — Billing details ## Accessibility - The primary control or named region for Link has a stable accessible name from visible text or an explicit programmatic label; placeholder text and tooltips are not names. - Every link has a visible focus indicator and its hit area does not overlap adjacent links. - Not applicable: navigation is handled by browser history rather than dismissing the link. - Tab focuses the link - Enter follows the destination - Browser modifier keys preserve native new-tab behavior ## Non-goals - Running an in-place mutation - Using a click handler without a real destination ## Acceptance criteria - A real href points to the destination - The label makes sense out of context - Keyboard and browser link operations remain native - Current or external state is exposed only when useful
sha256:908443f49b37c2104c7caf547561bee9bbbfb5b6f06a430a02cf11c9be468900