Sha256: a4bcfb4b0868b44b6aae5fef1a1f6440676ab1e0bde867e0a31befc5683717aa

Contents?: true

Size: 1.22 KB

Versions: 71

Compression:

Stored size: 1.22 KB

Contents

name: Government navigation
description: Navigation placed in the header by Slimmer and used by pages which sit
  under the /government path. This is a markup only component and is not available
  for preview here. It can be passed a string to mark a link as being active.
body: | 
  Please note: because the markup on this component is currently tied to styles that aren't present in the components gem, they will appear "broken". This is because they are intended to be used in the [header component](/component-guide/layout_header/with_left_search_and_navigation) as white links against a black background. You can see a styled example of this component in use on the ['Counter-Fraud Standards and Profession' page](https://www.gov.uk/government/groups/counter-fraud-standards-and-profession).
accessibility_criteria: |
  The government navigation component must:

  - Be identified as a [navigation landmark](https://www.w3.org/TR/wai-aria-practices-1.1/#aria_lh_navigation)
shared_accessibility_criteria:
  - link
accessibility_excluded_rules:
  - 'duplicate-id' # ids used in this component are for slimmer to use when moving this component into the header
examples:
  default:
    data: {}
  with_active_item:
    data:
      active: departments

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
govuk_publishing_components-27.20.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.19.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.18.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.17.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.16.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.15.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.14.2 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.14.1 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.14.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.13.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.12.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.11.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.10.5 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.10.4 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.10.3 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.10.2 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.10.1 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.10.0 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.9.2 app/views/govuk_publishing_components/components/docs/government_navigation.yml
govuk_publishing_components-27.9.1 app/views/govuk_publishing_components/components/docs/government_navigation.yml