Sha256: 968fbe39fdacde0d92350f187ed60b13d56c79b4cc4d368456cbf4098549fb41

Contents?: true

Size: 1.32 KB

Versions: 54

Compression:

Stored size: 1.32 KB

Contents

name: Form error summary
description: Used at the top of the page, to summarise validation errors.
accessibility_criteria: |
  - should be focused on page load, to ensure this error is noticed by assistive tech
  - list of errors should be clickable and focus the inputs with errors
shared_accessibility_criteria:
  - link
examples:
  default:
    data:
      id: error-summary
      title: Message to alert the user to a problem goes here
      description: Optional description of the errors and how to correct them
      items:
      - text: Descriptive link to the question with an error
        href: '#example-error-1'
  with_many_errors:
    data:
      title: Message to alert the user to a problem goes here
      description: Optional description of the errors and how to correct them
      items:
      - text: Descriptive link to the question with an error 1
        href: '#example-error-1'
      - text: Descriptive link to the question with an error 2
        href: '#example-error-2'
      - text: Description of error without link
  with_data_attributes:
    data:
      title: Message to alert the user to a problem goes here
      description: Optional description of the errors and how to correct them
      data_attributes:
        tracking: GTM-123AB
      items:
      - text: Descriptive link to the question with an error 1

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
govuk_publishing_components-16.26.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.25.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.24.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.23.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.22.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.21.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.20.1 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.20.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.19.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.18.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.17.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.16.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.15.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.14.1 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.14.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.13.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.12.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.11.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.10.1 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-16.10.0 app/views/govuk_publishing_components/components/docs/error_summary.yml