diff --git a/app/views/govuk_component/docs/analytics_meta_tags.yml b/app/views/govuk_component/docs/analytics_meta_tags.yml index b844e7bf3..c43fd545d 100644 --- a/app/views/govuk_component/docs/analytics_meta_tags.yml +++ b/app/views/govuk_component/docs/analytics_meta_tags.yml @@ -1,10 +1,7 @@ -name: Analytics Meta Tags +name: Analytics Meta Tags (deprecated) description: Meta tags to provide analytics information about the current page body: | - Currently this just takes a content-store links hash like object which it - can then turn into the correct analytics identifier metadata tags. - - The code which reads the meta tags can be found in static-analytics.js. + **Don't use this**. Use the [new component in the gem instead](https://govuk-publishing-components.herokuapp.com/component-guide/meta_tags) accessibility_criteria: | The analytics meta tags component should not be visible to any users. examples: diff --git a/app/views/govuk_component/docs/button.yml b/app/views/govuk_component/docs/button.yml index 60e8de6d2..e606ccb0b 100644 --- a/app/views/govuk_component/docs/button.yml +++ b/app/views/govuk_component/docs/button.yml @@ -1,23 +1,7 @@ -name: Button +name: Button (deprecated) description: Use buttons to move though a transaction, aim to use only one button per page. body: | - Button text should be short and describe the action the button performs. - - [GOV.UK Elements has more information](https://govuk-elements.herokuapp.com/buttons/) on how buttons should be used. - - Note: We do not consume GOV.UK Elements directly due to the naming conventions being leaky, - in time this component will be a wrapper for the [GOV.UK Frontend](https://github.com/alphagov/govuk-frontend) project's button component. - - Global button styles seen at `app/assets/stylesheets/helpers/_buttons.scss` - should be considered deprecated with this component replacing any instances. - - govuk-* namespace replaced with pub-c-* otherwise we will conflict with [GOV.UK Frontend's namespace](https://github.com/alphagov/govuk-frontend/blob/master/docs/components.md) - - This component is also [extended for use in govspeak](https://govuk-static.herokuapp.com/component-guide/govspeak/button). - - These instances of buttons are added by Content Designers, ideally this duplication would not exist but we currently don't have shared markup - via our components within the generated [govspeak](https://github.com/alphagov/govspeak). - (This is a challenge to the reader) + **Don't use this**. Use the [new component in the gem instead](https://govuk-publishing-components.herokuapp.com/component-guide/button) accessibility_criteria: | The button must: