Methane@methane-ui/*
CSS LayoutsComponentsSkillsTheme BuilderGitHub
← All Components

<mth-skip-link>

@methane-ui/primitives~3.2 KB brotli (primitives + UIElement)~0.9 KB marginal

Focus-revealed skip link for keyboard navigation to landmark targets.

When NOT to use: Do not use <mth-skip-link> for ordinary page navigation links; reserve it for keyboard bypass links to landmark regions.

Live Interactive Preview

Multi-Framework Playground & Snippets

Properties & Attributes

PropertyAttributeTypeDefaultDescription
hrefhrefstring"#main"Target hash fragment or URL for the skip link anchor.

APG Keyboard Matrix

KeyDirectionWhenExpected Behavior
EnterbothfocusedJumps focus to target landmark element

Accessibility Checklist

CategoryRequirementVerified By
ariaAll aria-* IDREFs resolve within the same DOM root (ADR-003).scanSameRootAria
focusdelegatesFocus: true with zero host internals.role (ADR-014).lint-plugin & spec-compiler
contrastRenders legible borders, focus outlines, and selection indicators under forced-colors: active.Playwright forced-colors matrix
keyboardImplements all 1 APG keyboard transitions across LTR/RTL.mth-skip-link.spec.test.ts
i18nRoutes 1 UI/ARIA strings through @methane-ui/core i18n catalog.Locale context test