Rule reference
This page lists every rule the agents flag. Use it to see what a row means and how to fix it.
A "row" is one kind of problem in Agents. The Agent column says where you find the row.
How to use this page
- Open Agents (⌘L).
- Find the row name in the Findings tab.
- Look it up here.
- Click Fix, or fix the layer yourself.
Issues
Issues count in Agents. They get a mark on the canvas. They reach chat agents as warnings.
| Row in Agents | Agent | What it checks | Fix |
|---|---|---|---|
| Text contrast | Critic & Standards | Text colors that are hard to read. Needs 4.5:1, or 3:1 for large text. Every theme is checked. (WCAG 1.4.3) | Uses a text color your file already has |
| Icon and border contrast | Critic & Standards | Icons, field borders and outline-button borders under 3:1. (WCAG 1.4.11) | Uses a color that passes |
| Tap targets | Critic & Standards | Controls under 44 × 44 on phone screens. Under 24 × 24 elsewhere. (WCAG 2.5.8) | Grows the control |
| Small text | Critic & Standards | Text under 12 px | Sets 12 px |
| Drag with no click | Motion Specialist | A drag that has no click doing the same job. (WCAG 2.5.7) | None. Add a click yourself |
| Screens on top of each other | Design Lead | Two screens that overlap on the canvas | Moves them apart |
| Layout settings | Design Lead | Layout settings that cannot work, such as fill inside hug | Some have a fix |
| Spacing off the scale | Design Lead | A gap or padding between two steps of your spacing scale, used once | Snaps to a step (Tidy) |
| Font sizes off the scale | Art Director | A font size between two steps of your sizes, used once | Snaps (Tidy) |
| Fonts and weights | Art Director | A font or weight used nowhere else in the file | Uses the nearest weight (Tidy) |
| Colours to bind | Art Director | A color typed by hand that equals a variable | Binds it to the variable (Bind all) |
| Near a variable | Art Director | A color a little off a variable | Uses the variable (Use all) |
| Corner radii | Art Director | A radius between two of your radii, used once. Or a radius too round for its parent | Snaps (Tidy) |
| Shadows | Art Director | A shadow that is not one of your shadow levels | Uses the nearest level (Tidy) |
| Icon sizes | Art Director | An icon size that is not one of your icon sizes | Snaps (Tidy) |
| Edges almost aligned | Design Lead | Boxes or texts placed by hand, with edges 1 to 3 px apart | Aligns them (Tidy) |
| Copies of components | Art Director | A frame that copies a component you already have | None. Use the component |
| Your rules | Critic & Standards | A layer that breaks one of your rules | Uses the allowed color, radius, weight, font or size |
Edges almost aligned skips layers drawn on top of each other (an illustration). It also skips plain shapes such as chart bars, dots, swatches and lines.
Agents never flag a value outside a scale. A large headline is one example. While your design system is only inferred, a value used twice or more counts as a choice.
Suggestions
Suggestions show in the Findings tab under "Advice". They never count as issues. Tidy never applies them.
| Area | What it suggests |
|---|---|
| Text | Body lines of 45 to 80 characters. Line height 1.4 to 1.6 for body and 1.1 to 1.3 for headings. No pure black on light. No light body weight. No justified or long centered text. No long capitals. Section titles that match. A clear heading on each screen, with the first one largest. |
| Layout | Less space inside a group than around it. One main action per screen. The main action in thumb reach on a phone. Cards in a row with one height and line count. No gap over 80 px, except before a bottom action. At most 6 bordered boxes. No heavy dark borders. A shadow on a floating card. A cut-off card so people see a row scrolls. At most 2 lines a side in a list row. Two buttons side by side with one height, the main one last. At most 7 choices in a row. |
| Color | A gain or loss not shown by color alone. Usual hues for status colors. The action color not used for large text. A dark layer behind text on a photo. |
| Words | No placeholder text. Digit groups, as in 1,250,000. Short labels on phones. At most 4 lines on a phone. The same figure once per screen. One word for one action. |
| Numbers | Tabular figures, aligned right, in a column. |
| Forms | One height for single-line fields in a form. Code fields 56 × 56 with 8 px gaps. Desktop fields at most 480 px wide. |
| Motion | Interface motion of 100 to 500 ms. At most 2 looping animations a screen. An overlay backdrop of 40 to 60%. |
| Components | 3 or more frames with the same layers (or 2 on different screens) and no component yet. Click "Make component". |
| Flows and screens | No dead-end screens. Overlays you can close. A delete that asks first. At most 3 steps from a flow's start. Phone screens of one width, at least 640 high. One side margin. Back buttons in one place. An error state next to a loading state. A skeleton the size of what it stands for. |
Not checked
Agents cannot check these. A person must.
- Tone of words.
- Dark patterns.
- Realistic content.
- Runtime behavior, such as load time, keyboard order and screen readers.
- Rules for your field, such as finance or legal words. Write them as your rules.