Skip to content

dvlopcore toolkit

Skip link

The first focusable thing on the page: a link to the content landmark, off screen until it has focus.

Demo

Property editor

Change a value and apply it; the demo renders with the new values. A refused value is reported at its field and the demo keeps the starting value.

The id of the content landmark the link goes to.

The link text, in the page's language.

Reset

The demo shows its starting values.

Properties

PropertyTypeDefaultAllowed valuesDescription
targetstringrequiredThe id of the content landmark the link goes to.
labelstringrequiredThe link text, in the page's language.

Events

This component sends no events.

Keyboard

KeysDoes
TabReaches the link first on the page; it becomes visible.
EnterMoves focus to the content landmark.

Accessibility

Rationale

A keyboard user reaches the content without tabbing through the header and the menu on every page. The link is the first line of the body and becomes visible on focus, so a sighted keyboard user sees where focus is. The target, <main id="content" tabindex="-1">, takes focus without an outline of its own.

References

Uses

This component uses no other component.

Used by

No usages recorded yet.

README

skip-link

The first focusable thing on the page: a link to the content landmark, off screen until it has focus.

Change log

  • 2026-10-14: component.json (the manifest: the props now live there) and demo.php (the demos the inspector and the catalogue page show) added; see docs/architecture/inspector.md.
  • 2026-10-14: new, from the first line of the body in header.php.