Sha256: a87e640233c65974a4d2bc468e98287a54062a8e1cb624f5483df06cb94174ac

Contents?: true

Size: 909 Bytes

Versions: 4

Compression:

Stored size: 909 Bytes

Contents

name: Heading
description: A text heading
body: |
  A heading tag with an optional id attribute, used predominantly to the left of content on consultations and publications.

  Real world examples:

  - [Publication](/government/publications/recognising-the-terrorist-threat)
  - [Consultation](/government/consultations/proposal-for-the-future-of-rotherham-goldthorpe-jobcentre)
accessibility_criteria: |
  The heading must:

  - be part of a correct heading structure for a page
  - be semantically represented as a heading
  - convey the heading level
examples:
  default:
    data:
      text: 'Download the full outcome'
  right_to_left:
    data:
      text: 'مستندات'
    context:
      right_to_left: true
  with_id_attribute:
    data:
      text: 'Detail of outcome'
      id: 'detail_of_outcome'
  specific_heading_level:
    data:
      text: 'Original consultation'
      heading_level: 3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
govuk_publishing_components-7.3.0 app/views/govuk_publishing_components/components/docs/heading.yml
govuk_publishing_components-7.2.0 app/views/govuk_publishing_components/components/docs/heading.yml
govuk_publishing_components-7.1.0 app/views/govuk_publishing_components/components/docs/heading.yml
govuk_publishing_components-7.0.0 app/views/govuk_publishing_components/components/docs/heading.yml