Sha256: 6e7cb69bc538e9f7dae2d183ffa38dc27c3e8980f58bff0fe6a541ebc23895ff

Contents?: true

Size: 896 Bytes

Versions: 26

Compression:

Stored size: 896 Bytes

Contents

name: Details
description: Make a page easier to scan by letting users reveal more detailed information only if they need it
shared_accessibility_criteria:
  - link
accessibility_criteria: |
  The component must:

  * accept focus
  * be focusable with a keyboard
  * be usable with a keyboard
  * be usable with touch
  * indicate when it has focus
  * toggle the visibility of the details element's content when interacted with
  * indicate the expanded state when details' content is visible
  * indicate the collapsed state when details' content is hidden
govuk_frontend_components:
  - details
examples:
  default:
    data:
      title: Help with nationality
      block: |
        We need to know your nationality so we can work out which elections you’re entitled to vote in. If you can’t provide your nationality, you’ll have to send copies of identity documents through the post.

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
govuk_publishing_components-12.18.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.17.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.16.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.15.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.14.1 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.14.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.13.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.12.1 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.12.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.11.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.10.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.9.1 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.9.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.8.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.7.1 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.7.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.6.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.5.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.4.0 app/views/govuk_publishing_components/components/docs/details.yml
govuk_publishing_components-12.3.0 app/views/govuk_publishing_components/components/docs/details.yml