brsh

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 ​

  1. Open Agents (⌘L).
  2. Find the row name in the Findings tab.
  3. Look it up here.
  4. 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 AgentsAgentWhat it checksFix
Text contrastCritic & StandardsText 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 contrastCritic & StandardsIcons, field borders and outline-button borders under 3:1. (WCAG 1.4.11)Uses a color that passes
Tap targetsCritic & StandardsControls under 44 × 44 on phone screens. Under 24 × 24 elsewhere. (WCAG 2.5.8)Grows the control
Small textCritic & StandardsText under 12 pxSets 12 px
Drag with no clickMotion SpecialistA drag that has no click doing the same job. (WCAG 2.5.7)None. Add a click yourself
Screens on top of each otherDesign LeadTwo screens that overlap on the canvasMoves them apart
Layout settingsDesign LeadLayout settings that cannot work, such as fill inside hugSome have a fix
Spacing off the scaleDesign LeadA gap or padding between two steps of your spacing scale, used onceSnaps to a step (Tidy)
Font sizes off the scaleArt DirectorA font size between two steps of your sizes, used onceSnaps (Tidy)
Fonts and weightsArt DirectorA font or weight used nowhere else in the fileUses the nearest weight (Tidy)
Colours to bindArt DirectorA color typed by hand that equals a variableBinds it to the variable (Bind all)
Near a variableArt DirectorA color a little off a variableUses the variable (Use all)
Corner radiiArt DirectorA radius between two of your radii, used once. Or a radius too round for its parentSnaps (Tidy)
ShadowsArt DirectorA shadow that is not one of your shadow levelsUses the nearest level (Tidy)
Icon sizesArt DirectorAn icon size that is not one of your icon sizesSnaps (Tidy)
Edges almost alignedDesign LeadBoxes or texts placed by hand, with edges 1 to 3 px apartAligns them (Tidy)
Copies of componentsArt DirectorA frame that copies a component you already haveNone. Use the component
Your rulesCritic & StandardsA layer that breaks one of your rulesUses 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.

AreaWhat it suggests
TextBody 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.
LayoutLess 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.
ColorA 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.
WordsNo 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.
NumbersTabular figures, aligned right, in a column.
FormsOne height for single-line fields in a form. Code fields 56 × 56 with 8 px gaps. Desktop fields at most 480 px wide.
MotionInterface motion of 100 to 500 ms. At most 2 looping animations a screen. An overlay backdrop of 40 to 60%.
Components3 or more frames with the same layers (or 2 on different screens) and no component yet. Click "Make component".
Flows and screensNo 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.