Sha256: 4f46858cff4ff66a65d06523ce08646546147df11b2e884dcb1ab210de2b6769

Contents?: true

Size: 791 Bytes

Versions: 454

Compression:

Stored size: 791 Bytes

Contents

name: Skip link
description: Skip link component helps keyboard-only users skip to the main content on a page
govuk_frontend_components:
  - skip-link
accessibility_criteria: |
  - accept focus
  - be focusable with a keyboard
  - be usable with a keyboard
  - indicate when they have focus
  - becomes visible when pressing tab
  - is the first items that screen readers hear and that keyboard users tab to
accessibility_excluded_rules:
  - skip-link # This component is creating a reference to #content which is part of the layout
examples:
  default:
    data:
  with_different_text:
    data:
      text: 'Skip to results'
  with_different_href:
    data:
      href: '#somewhere-on-the-page'
  custom_title_and_href:
    data:
      text: 'Skip to my content'
      href: '#my-content'

Version data entries

454 entries across 454 versions & 1 rubygems

Version Path
govuk_publishing_components-45.7.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-45.6.1 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-45.6.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-45.5.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-45.4.1 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-45.4.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-45.3.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-45.2.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-45.1.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-45.0.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.11.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.10.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.9.1 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.9.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.8.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.7.1 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.7.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.6.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.5.0 app/views/govuk_publishing_components/components/docs/skip_link.yml
govuk_publishing_components-44.4.2 app/views/govuk_publishing_components/components/docs/skip_link.yml