Sha256: f903aa9fdd3ac941f69ef6b389dc05e8c566356ceb1533f67e60fee75ddb3eee

Contents?: true

Size: 1.02 KB

Versions: 15

Compression:

Stored size: 1.02 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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
govuk_publishing_components-12.19.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.18.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.17.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.16.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.15.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.14.1 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.14.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.13.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.12.1 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.12.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.11.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.10.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.9.1 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.9.0 app/views/govuk_publishing_components/components/docs/error_summary.yml
govuk_publishing_components-12.8.0 app/views/govuk_publishing_components/components/docs/error_summary.yml