Sub topic 16
Deciding which differences matter
This chapter assumes you can open DevTools, read a design spec, and have already measured a page's spacing, type, and color. You now have a list of differences. Not all of them deserve a fix, and fixing everything at the same priority delays the release without improving the page.
Why triage is needed
A strict pixel comparison finds many differences. Some come from rendering: browsers anti-alias text differently, and a design tool may round a value to a half pixel. Others change what a user can read or do. Triage means sorting differences by their effect so the team spends time where it counts.
Three questions for each difference
Ask these in order for every item on your list.
- Can a user still complete the task? A button that is cut off or text that cannot be read blocks the task.
- Does it break a rule of the system? A color that is not a design token, or a font size outside the type scale, will repeat across pages.
- Can a person see it at normal viewing distance? A 1px offset on a hairline border is rarely noticed. A 16px shift in a heading is.
A severity scale
Use a small scale and apply it the same way every time.
| Severity | Meaning | Example | Action |
|---|---|---|---|
| Blocker | Stops a task or fails accessibility | Body text at 2.8:1 contrast | Fix before release |
| Major | Clearly different from the design, visible to anyone | Wrong heading size, missing hover state | Fix this release |
| Minor | Visible only when compared closely | 4px spacing difference between cards | Schedule |
| Trivial | Not visible in normal use | 1px border offset, sub-pixel text rendering | Note or ignore |
Check for patterns before logging items
If ten buttons have the wrong padding, you probably have one wrong rule, not ten bugs. Look for a shared cause, such as a missing token or a component style that is overridden. Log one item that names the cause and lists where it appears.
/* One wrong rule produces many visible differences */
.button {
padding: 8px 14px; /* design token says 12px 16px */
}When the design is the problem
Sometimes the build is right and the design is wrong or silent. Examples include a spec with no mobile layout, or two frames that disagree. Mark these as questions for the designer, not as defects. Ask for the decision and record it, so the next check uses the updated reference.
Intentional differences
Developers sometimes deviate on purpose, for example to improve contrast or to handle a long word. Record the reason and the person who approved it. An approved deviation should not appear in the next pass as a new bug.
Common errors
- Rating by personal taste instead of effect on the user.
- Logging the same root cause many times.
- Treating a rendering difference between browsers as a defect.
- Skipping accessibility items because they look "close enough" to the design.
Exercise
A QA pass finds three differences: (1) link text in the footer has a 3.1:1 contrast ratio against its background, (2) the card image is 2px lower than in the design, and (3) every card title uses 18px where the type scale says 20px. Assign a severity to each and say which should be logged as one item.
Show answer
(1) Blocker, because normal text below 4.5:1 fails the accessibility target. (2) Trivial or Minor, since a 2px shift is barely visible. (3) Major, and the shared cause (one wrong rule on the card title) should be logged as a single item that lists every card where it appears.