Sha256: 47f3f178270d18351993d6bd891481bdadceba546fb222bc88034b5b14749d26

Contents?: true

Size: 1.4 KB

Versions: 17

Compression:

Stored size: 1.4 KB

Contents

name: Step by step navigation header
description: Shows that a content page is part of a step by step navigation
body: |
  The component indicates to the user that the current page is part of a [step by step navigation](/component-guide/step_by_step_nav), and can provide a link to it.
accessibility_criteria: |
  The component is designed to go into the top of an existing content page and should not interfere with the heading structure of the page, so therefore should not contain a heading tag.

  An early version of the component contained a hidden skip link for keyboard and screen reader users, that jumped to the step by step navigation component in the sidebar (similiar to the 'skip to content' link at the top of all GOV.UK pages). User testing suggested that rather than helping users it confused them, so this has been removed.
shared_accessibility_criteria:
  - link
examples:
  default:
    data:
      title: 'Learn to drive a car: step by step'
  with_a_link:
    data:
      title: 'Having children: step by step'
      path: /childcare-parenting/pregnancy-and-birth
  with_unique_tracking:
    description: We need to uniquely identify each step by step navigation in Google Analytics. If this parameter is added to the component, its value is included in any tracking events, specifically in dimension96.
    data:
      title: 'With a tracking id'
      path: '#'
      tracking_id: 'this-is-the-tracking-id'

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
govuk_publishing_components-5.6.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.5.6 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.5.5 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.5.4 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.5.3 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.5.2 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.5.1 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.5.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.4.1 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.4.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.3.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.2.3 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.2.2 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.2.1 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.2.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.1.3 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-5.1.2 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml