Permitted and not permitted
Two boxes set the correct way to do something beside the mistake it prevents. Use them in a guide or a set of instructions, where people are likely to make that mistake.
What it is
Permitted
A label that states the positive: Notify the candidate.
Checked means yes, so the answer takes one step.
Not permitted
A label that makes checked mean no: Do not notify the candidate.
Whoever fills in the form has to undo a negative before answering.
Permitted
A label that states the positive: Notify the candidate.
Checked means yes, so the answer takes one step.
Not permitted
A label that makes checked mean no: Do not notify the candidate.
Whoever fills in the form has to undo a negative before answering.
When to use a pair
Add a pair when a mistake is likely: people have made it before, or the wrong form looks as plausible as the right one. Repeated under every heading, the boxes stop being read.
Each item in Not permitted names a mistake someone could make on their own, and each has its correct form in Permitted, on the same row. A list of mistakes with nothing correct beside it says what to avoid and leaves the reader to guess what to write.
Anatomy
Permitted comes first, on the left. Each box carries one icon beside its heading, and the items below it carry no bullets. Below 768 px the boxes stack, Permitted on top.
Permitted
A label that states the positive: Notify the candidate.
Checked means yes, so the answer takes one step.
A button that names its action: Send offer.
Not permitted
A label that makes checked mean no: Do not notify the candidate.
Whoever fills in the form has to undo a negative before answering.
A button that says OK under an offer.
Nobody can tell what OK sends, or to whom.
- Space between the boxes
- 24 px
- --gutter
- Corner radius
- 12 px
- --radius-xl
- Padding
- 24 px
- --space-6
- Edge
- none
- Permitted fill
- faint green
- --tint-permitted
- Not permitted fill
- faint red
- --tint-not-permitted
- Icon
- 24 px check or cross
- --success-ink
- Heading
- 20 px on a 28 px line, weight 500
- --text
- Item
- 16 px on a 26 px line
- --text
- Reason
- 14 px on a 22 px line
- --text-label
- Space between items
- 16 px
- --space-4
Writing the items
Write each item as one sentence someone can check their own work against. Add a reason only when it is not obvious, in one more sentence.
An item in Not permitted says what goes wrong when the rule is broken. Keep each box to five items at most.
Keep the headings Permitted and Not permitted as they are. Do not rename them Do and Don't, and do not color the correct side blue.
Color and meaning
The green and red fills are faint, close to the surface around them. The heading and the shape of the icon say which box is which, so the pair reads the same in grayscale, on paper and for anyone who cannot tell red from green.
- Color
Permitted
A label that states the positive: Notify the candidate.
Not permitted
A label that makes checked mean no: Do not notify the candidate.
- Grayscale
Permitted
A label that states the positive: Notify the candidate.
Not permitted
A label that makes checked mean no: Do not notify the candidate.
Permitted
A label that states the positive: Notify the candidate.
Not permitted
A label that makes checked mean no: Do not notify the candidate.
Accessibility
Each box is a section with its own heading, and its items are a list. The icons are hidden from screen readers, since the heading already says which box is which. Text on the fills never takes the muted ink.