-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2688 from ONSdigital/bugfix/2136/cookies-banner-p…
…aram-name-misleading Bugfix - 2136 - Cookies Banner Param Rename
- Loading branch information
Showing
3 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
| Name | Type | Required | Description | | ||
| -------------------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| lang | string | false | All parameters have defaults for both English and Welsh. If `'lang': 'cy'` is provided the banner will render with Welsh language defaults. If `'lang': 'en'` or no `lang` parameter is provided then English language defaults will be used to render the banner. | | ||
| ariaLabel | string | false | Aria label for the cookie banner region (default is 'cookies banner') | | ||
| statementTitle | string | false | The title text for content for the cookie banner that prefixes the `serviceName` (default is 'Cookies on') | | ||
| serviceName | string | false | The name of the service/website that follows the `statementTitle` (default is 'ons.gov.uk') | | ||
| statementText | string | false | The text content for the cookie banner. HTML is allowed to create paragraphs. Default is: ”Cookies are small files stored on your device when you visit a website. We use some essential cookies to make this website work. We would like to set additional cookies to remember your settings and understand how you use the site. This helps us to improve our services.” | | ||
| acceptedText | string | false | The text content when cookies have been accepted. Will prefix the `preferencesText` (default is 'You’ve accepted all additional cookies.') | | ||
| rejectedText | string | false | The text content when cookies have been rejected. Will prefix the `preferencesText` (default is 'You’ve rejected all additional cookies.') | | ||
| preferencesText | string | false | The text content for the confirmation cookie message. HTML is allowable to embed links. Will follow the `acceptedText` or `rejectedText` (default is 'You can change your cookie preferences at any time.') | | ||
| acceptButtonText | string | false | Text for the accept button (default is 'Accept additional cookies') | | ||
| rejectButtonText | string | false | Text for the reject button (default is 'Reject additional preferences') | | ||
| confirmationButtonText | string | false | Text for the confirmation banner button (default is 'Hide') | | ||
| confirmationButtonTextAria | string | false | Additional descriptive text for the confirmation banner button to assist screen readers (default is 'the cookie message') | | ||
| settingsLinkText | string | false | Text for link to cookie settings page (default is 'View cookies') | | ||
| settingsLinkTextURL | string | false | URL for the cookies settings page (default is '/cookies') | | ||
| wide | boolean | false | Set to “true” to increase the maximum width of the layout container to 1280px | | ||
| fullWidth | boolean | false | Set to “true” to increase the maximum width of the layout container to the full width of the viewport | | ||
| Name | Type | Required | Description | | ||
| ---------------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| lang | string | false | All parameters have defaults for both English and Welsh. If `'lang': 'cy'` is provided the banner will render with Welsh language defaults. If `'lang': 'en'` or no `lang` parameter is provided then English language defaults will be used to render the banner. | | ||
| ariaLabel | string | false | Aria label for the cookie banner region (default is 'cookies banner') | | ||
| statementTitle | string | false | The title text for content for the cookie banner that prefixes the `serviceName` (default is 'Cookies on') | | ||
| serviceName | string | false | The name of the service/website that follows the `statementTitle` (default is 'ons.gov.uk') | | ||
| statementText | string | false | The text content for the cookie banner. HTML is allowed to create paragraphs. Default is: ”Cookies are small files stored on your device when you visit a website. We use some essential cookies to make this website work. We would like to set additional cookies to remember your settings and understand how you use the site. This helps us to improve our services.” | | ||
| acceptedText | string | false | The text content when cookies have been accepted. Will prefix the `preferencesText` (default is 'You’ve accepted all additional cookies.') | | ||
| rejectedText | string | false | The text content when cookies have been rejected. Will prefix the `preferencesText` (default is 'You’ve rejected all additional cookies.') | | ||
| preferencesText | string | false | The text content for the confirmation cookie message. HTML is allowable to embed links. Will follow the `acceptedText` or `rejectedText` (default is 'You can change your cookie preferences at any time.') | | ||
| acceptButtonText | string | false | Text for the accept button (default is 'Accept additional cookies') | | ||
| rejectButtonText | string | false | Text for the reject button (default is 'Reject additional preferences') | | ||
| confirmationButtonText | string | false | Text for the confirmation banner button (default is 'Hide') | | ||
| contextSuffix | string | false | Additional descriptive text for the confirmation banner button to assist screen readers (default is 'the cookie message') | | ||
| settingsLinkText | string | false | Text for link to cookie settings page (default is 'View cookies') | | ||
| settingsLinkTextURL | string | false | URL for the cookies settings page (default is '/cookies') | | ||
| wide | boolean | false | Set to “true” to increase the maximum width of the layout container to 1280px | | ||
| fullWidth | boolean | false | Set to “true” to increase the maximum width of the layout container to the full width of the viewport | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters