1.0.1 • Published 6 years ago

@veams/component-skip-nav v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

skip-nav

Description

Various content areas such as navigation, search, or page content can be skipped by users of assistive technologies.

The skip-nav component should be included at the beginning of the page and contains the first focusable elements of the tab order.


Requirements

  • Veams#5.0.0

Installation

Installation with Veams from local machine

veams install bp absolute/filepath/to/skip-nav

Installation with Bower or Veams

When published on bower you can install the by executing:

  1. veams install veams-component skip-nav

Fields

c-skip-nav

Settings

  • settings.skipNavClasses {String} - Modifier classes for .

Content

  • content.title {String} - Title, for semantics
  • content.main {String} - only displayed if there is a main content block to skip to
  • content.skipLink {Object[]} - Object contains every link

  • content.skipLink.href {String} - href value of a link

  • content.skipLink.text {String} - text of a link
1.0.1

6 years ago

1.0.0

6 years ago