Sha256: 07d25bee131dcf522781024193aed7d111dc710e0aa64f5674c1fa3a035b706e
Contents?: true
Size: 1.62 KB
Versions: 14
Compression:
Stored size: 1.62 KB
Contents
name: Warning text description: | Use the warning text component when you need to warn users about something important, such as legal consequences of an action, or lack of action, that they might take. govuk_frontend_components: - warning-text accessibility_criteria: | All text must have a contrast ratio higher than 4.5:1 against the background colour to meet [WCAG AA](https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast) examples: default: data: text: "You can be fined up to £5,000 if you don’t register." custom_assistive_text: data: text_assistive: "Danger" text: "You can be fined up to £5,000 if you don’t register." custom_icon_text: data: text_icon: "£" text: "You can be fined up to £5,000 if you don’t register." without_icon: data: text_icon: "" text: "You can be fined up to £320 if you don't register." with_larger_font: data: text: "This content was updated on the 24th of November 2018" large_font: true with_red_font: data: text: "This content has changed" highlight_text: true as_a_heading: data: text: "This is a heading 3" heading_level: 3 without_ga4_tracking: description: | Disables GA4 tracking on warning text links. Tracking is enabled by default, which adds a data module and data attributes to the component. See the [ga4-link-tracker documentation](https://github.com/alphagov/govuk_publishing_components/blob/main/docs/analytics-ga4/ga4-link-tracker.md) for more information. data: disable_ga4: true text: "This is a heading 3" heading_level: 3
Version data entries
14 entries across 14 versions & 1 rubygems