@amsterdam/design-system-css
Version:
Stylesheets for all components from the Amsterdam Design System and some general utilities. Use it to apply the visual design of the City of Amsterdam to your HTML elements or non-React components.
22 lines (15 loc) • 822 B
Markdown
<!-- @license CC0-1.0 -->
# Skip Link
Allows skipping past recurring navigation blocks at the top of a page.
## Design
The Skip Link sits above the header and is as wide as the Screen container.
It remains hidden until activated with the ‘Tab’ key.
After appearing, it pushes the entire page down.
## Guidelines
- Place the Skip Link as the first element in the Screen.
- Target the Skip Link to the main content.
On an article page, for example, it could be the title of the article.
On a search page, it could be the search field.
- Set `id="example-id"` on the container of that element and then use `href="#example-id"` on the Skip Link.
- Complex pages with multiple sections may benefit from more than one Skip Link.
- Skip Links are unnecessary on a simple page with only text and minimal navigation.