Sha256: fcafc7521ab4118e86753d8dd5ece1e34cdbc957726308fc9bb084202f012be2

Contents?: true

Size: 1.47 KB

Versions: 27

Compression:

Stored size: 1.47 KB

Contents

name: Feedback
description: Invites user feedback on the current page.
body: |
  This component is designed to sit at the bottom of pages on GOV.UK to allow users to submit feedback on that page.

  This component uses JavaScript for expanding and collapsing and also for submitting form responses. This code is not compatible with Internet Explorer, so IE11 and down do not use JavaScript to submit the forms, instead falling back to a normal form submission.
uses_component_wrapper_helper: true
accessibility_criteria: |
  The form must:

  * be functional and accessible with JavaScript disabled
  * be usable and accessible with stylesheets disabled

  Form elements in the component must:

  * accept focus
  * be focusable with a keyboard
  * be usable with a keyboard
  * be usable with touch
  * indicate when they have focus
  * be recognisable as form input elements
  * have correctly associated labels
  * be of the appropriate type for their use, e.g. password inputs should be of type `password`
shared_accessibility_criteria:
  - link
examples:
  default:
    data: {}
  with_ga4_tracking_disabled:
    description: |
      Disables GA4 tracking on the feedback component. Tracking is enabled by default, which adds a data module and data-attributes with JSONs to the feedback buttons. See the [ga4-event-tracker documentation](https://github.com/alphagov/govuk_publishing_components/blob/main/docs/analytics-ga4/ga4-event-tracker.md) for more information.
    data:
      disable_ga4: true

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
govuk_publishing_components-51.2.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-51.1.1 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-51.1.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-51.0.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-50.0.1 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-50.0.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-49.1.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-49.0.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-48.0.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-47.0.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-46.4.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-46.3.1 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-46.3.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-46.2.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-46.1.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-46.0.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-45.10.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-45.9.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-45.8.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-45.7.0 app/views/govuk_publishing_components/components/docs/feedback.yml