Sha256: 67e4bbb766d5a020f4676eb30aa54f4c184db63326107c6afc845ceb9ccc2560

Contents?: true

Size: 1.58 KB

Versions: 281

Compression:

Stored size: 1.58 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: In order to identify the step by step navigation the component is part of, we need to track a unique ID of the navigation in Google Analytics. This ID should be the same across all pages that are linked from and are part of that navigation. Its value is included in any tracking events, specifically in dimension96. It refers to the ID of the step nav that the component links to.
    data:
      title: 'With a tracking id'
      path: '#'
      tracking_id: 'this-is-the-tracking-id'

Version data entries

281 entries across 281 versions & 1 rubygems

Version Path
govuk_publishing_components-9.9.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.8.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.7.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.6.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.5.3 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.5.2 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.5.1 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.5.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.4.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.3.6 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.3.5 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.3.4 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.3.3 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.3.2 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.3.1 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.3.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.2.3 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.2.2 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.2.1 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml
govuk_publishing_components-9.2.0 app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml