pattern-library checked

GOV.UK Design System Warning text component

Documents warning text for important consequences of an action or lack of action, with an icon, visible warning wording, and appropriate hidden fallback text.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Confirmation fatigue Flag this anti-pattern when low-risk, reversible, or high-frequency actions repeatedly open modal confirmations. Each confirmation must have a documented risk, consequence, and reason it is better than undo, prevention, warning text, review, or clearer command placement. GOV.UK warning text helps separate concise before-action consequence copy from modal confirmation.
Warning text Choose warning text when one severe consequence needs to be noticed before the user acts or fails to act. The warning appears in the reading order before the action or answer it qualifies. GOV.UK defines warning text for important consequences of an action or lack of action and documents icon fallback wording.

Evidence Role

This source is treated as pattern-library evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: Government Digital Service. Last checked: .