Skip to content

Ssstyles › Skip Link

A simple style system • v1.2.1

Source

A skip link is a local link that allows users to skip past large link collections (like navigation menus) right to a content area. They're usually only visible when focused, which is why you're not seeing a demo here until you tab to the link below.

You need to import the CSS file and assign the data attribute to use it.

@import "ssstyles/css/skiplink.css" layer(components);
<a data-skiplink href="#main">Skip to content</a>

Skip to content