You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -16,10 +16,8 @@ The Panel component is a visible container used to highlight important content.
16
16
17
17
Use the Panel component to display important information within:
18
18
19
-
- Confirmation pages, which tell the user they’ve successfully completed the transaction
20
-
- Interruption pages, which pause the user journey to give important information
21
-
22
-
See guidance on [Confirmation pages](/patterns/confirmation-pages/) and [Interruption pages](/patterns/interruption-pages/).
19
+
-[Confirmation pages](/patterns/confirmation-pages/), which tell the user they’ve successfully completed the transaction
20
+
-[Interruption pages](/patterns/interruption-pages/), which pause the user journey to give important information
23
21
24
22
## When not to use this component
25
23
@@ -37,16 +35,16 @@ The confirmation panel is part of a [Confirmation page](/patterns/confirmation-p
37
35
38
36
### How to write confirmation panel text
39
37
40
-
Keep your panel text brief, as it's only meant for a high-level explanation of what has happened. For example, 'Application complete'.
41
-
42
-
Aim to use short words and phrases to make sure highlighted information is easy to read at different screen sizes. For example, shorter amounts of information is less likely to wrap around the panel, which can happen when using the zoom function on mobiles.
38
+
Keep your panel text brief, as it's only meant for a high-level explanation of what has happened.
43
39
44
-
If you need to give detailed information, or more context, use the description text under the heading text.
40
+
Aim to use short words and phrases to make sure highlighted information is easy to read at different screen sizes. For example, shorter amounts of information are less likely to wrap around the panel, which can happen when using the zoom function on mobiles.
45
41
46
42
## Interruption panel
47
43
48
44
The interruption panel is part of an [Interruption page](/patterns/interruption-pages/) and shows the user important information that they’d miss if shown any other way.
49
45
50
46
Within the panel is a ‘continue’ button that the user must interact with to resume their journey.
51
47
52
-
The information itself is usually shown as heading with some description text, possibly a bullet or numbered list.
48
+
The information itself is usually shown as heading with some description text, possibly with bullet points and numbered steps
Copy file name to clipboardExpand all lines: src/patterns/interruption-pages/index.md
+31-20Lines changed: 31 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,48 +12,59 @@ layout: layout-pane.njk
12
12
13
13
Use Interruption pages to pause the user’s journey to give them important information that they’d miss if shown any other way.
14
14
15
-
The NHS Design System and Ministry of Justice (MOJ) Design System both include interruption pages or cards. The guidance on this page is based on their work.
16
-
17
-
See [Interruption page on NHS Design System](https://service-manual.nhs.uk/design-system/patterns/interruption-page) and [Interruption card on MOJ Design System](https://design-patterns.service.justice.gov.uk/components/interruption-card/)
Think carefully before you choose to use an Interruption page, doing this might get in the way of the user completing their task.
22
-
23
-
Both of the NHS Design System and MOJ Design System provide use cases for using Interruption pages to:
19
+
Think carefully before you choose to use an Interruption page, as doing this might get in the way of the user completing their task.
24
20
25
-
- warn the user when they’re doing something unusual that's likely to be a mistake
26
-
- confirm something that cannot be undone (asking the user if they’re sure about doing something)
21
+
Use Interruption pages to warn the user before they:
27
22
28
-
The MOJ Design System also provide use cases to:
23
+
- do something unusual that’s probably a mistake
24
+
- do something that cannot be undone (asking the user “Are you sure?”)
25
+
- give an answer that conflicts with existing information
29
26
30
-
- warn the user when their answer conflicts with existing information the service knows about
31
-
- end a journey when a confirmation page is not appropriate
32
-
- show important information ahead of a task
27
+
You can also use Interruption pages:
33
28
34
-
We’ve also seen that many services in government use Interruption pages to show other types of important information that might otherwise get missed. See our [‘Interruption card’ discussion on GitHub](https://github.com/alphagov/govuk-design-system-backlog/issues/27) to see these examples.
29
+
- instead of Confirmation pages to show a more varied journey outcomes (that are different to a straightforward success, rejection or completion)
30
+
- to show the user important information ahead of a task
35
31
36
32
## When not to use this pattern
37
33
38
-
Do not use Interruption pages unless you’re confident that both:
34
+
Only use Interruption pages if you’re confident that:
39
35
40
-
- there's evidence of a clear need to interrupt the user journey
41
-
- this is the only way to give the user information that they’d otherwise miss
36
+
1. There’s evidence of a clear need to interrupt the user journey.
37
+
2. This is the only way to give the user information and that they’d otherwise miss it.
42
38
43
39
Read guidance in the Service Manual, particularly to [Map and understand a user's whole problem](https://www.gov.uk/service-manual/design/map-a-users-whole-problem), to find ways to improve the user journey and the organisational processes behind them.
44
40
45
41
## How it works
46
42
47
-
Interruption pages pause the user journey to show important information that they might otherwise miss.
43
+
Interruption pages pause the user journey to show important information.
48
44
49
45
On the page, the important information is shown within an Interruption panel, to help ensure the user does not miss it.
50
46
51
-
The panel includes a ‘continue’ button that the user must interact with to resume their journey. Information within the panel is usually shown as heading with some description text, possibly a bullet or numbered list.
47
+
The panel includes a ‘continue’ button that the user must interact with to resume their journey. Information within the panel is usually shown as heading with some description text, possibly with bullet points and numbered steps.
52
48
53
-
To ensure the interruption is useful, keep information within the panel short. Do not place any other components or form elements inside the panel.
49
+
Keep information within the panel short. Do not place any other components or form elements inside the panel.
54
50
55
51
## Research on this pattern
56
52
53
+
This pattern was originally contributed by the NHS Design System. We thank the team for working with us to publish the [Interruption panel variant of the Panel component](/components/panel/) and this pattern.
54
+
55
+
Guidance in this pattern is based on:
56
+
57
+
-[Interruption page on NHS Design System](https://service-manual.nhs.uk/design-system/patterns/interruption-page)
58
+
-[Interruption card on Ministry of Justice (MOJ) Design System](https://design-patterns.service.justice.gov.uk/components/interruption-card/)
59
+
60
+
### Other uses of Interruption pages
61
+
62
+
We’ve seen that many services in government use Interruption pages to show other types of important information that might otherwise get missed.
63
+
64
+
See our [‘Interruption card’ discussion on GitHub](https://github.com/alphagov/govuk-design-system-backlog/issues/27) to see these examples.
65
+
66
+
### Next steps
67
+
57
68
We’d like to get more feedback from service teams to help us improve this pattern.
58
69
59
-
We'd particularly like to better understand the ways services use Interruption pages, so that we can provide better guidance to ensure they're used effectively and consistently across government.
70
+
We'd particularly like to better understand the ways services use Interruption pages, so that we can provide better guidance on ‘When to use this pattern’ and ‘When not to use this pattern’ to ensure they're used effectively and consistently across government.
0 commit comments