Sha256: 7fb850b6b0f5693c95e49ada6d4313558c15d374f58da73cae37b2e6daf7cec1

Contents?: true

Size: 1.44 KB

Versions: 70

Compression:

Stored size: 1.44 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.
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

70 entries across 70 versions & 1 rubygems

Version Path
govuk_publishing_components-45.1.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-45.0.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.11.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.10.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.9.1 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.9.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.8.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.7.1 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.7.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.6.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.5.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.4.2 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.4.1 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.4.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.3.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.2.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.1.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-44.0.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-43.5.0 app/views/govuk_publishing_components/components/docs/feedback.yml
govuk_publishing_components-43.4.1 app/views/govuk_publishing_components/components/docs/feedback.yml