Sub topic 16
Deciding Which Differences Matter
A visual QA pass produces a long list of differences. Some are real defects and some are not. Some block a release and some can wait. This chapter covers how to sort that list so the team fixes the right things first.
This chapter assumes you can already measure a built page with DevTools and compare it with the design using overlays. It also assumes you have a raw list of differences from the layout, typography, color, image and cross-browser checks. The next chapter covers writing the reports.
Why triage is needed
A page will never match the design pixel for pixel. Browsers round fractional values, render fonts differently on each operating system, and scale images. If you report every difference, developers stop trusting the list and the serious problems get lost among trivial ones.
Triage means deciding, for each difference, whether it is a defect, how severe it is, and what should happen next. Do it before you write any ticket.
Step 1: Rule out noise
Check that a difference is real before you judge its importance. These causes often look like defects:
- Subpixel rounding. A 1px shift in an edge or a 0.5px difference in height usually comes from fractional values such as
1.5remor percentage widths. - Font anti-aliasing. The same font looks slightly bolder or thinner on macOS, Windows and Linux. Compare computed values (
font-weight,font-size), not how heavy the text looks. - Scrollbar width. A classic scrollbar takes about 15px from the viewport on some systems, so layouts shift relative to a screenshot taken with overlay scrollbars.
- Different zoom or pixel density. If you did not match the design's zoom level and device pixel ratio, the setup is wrong, not the page.
- Design tool conventions. Figma measures line height and text boxes differently from the CSS box model. A text layer that is 24px tall in Figma may not need
height: 24pxin the browser.
If you cannot reproduce a difference after resetting zoom, viewport and browser to match the design reference, treat it as noise and drop it.
Step 2: Judge the impact
For each real difference, ask three questions.
- Who sees it? A difference on the home page at the common desktop width affects almost every visitor. A difference in a rarely used admin screen affects few.
- What does it break? Some differences hurt function: a button you cannot read, a form field hidden behind a sticky header, text that overflows its container. Others only change taste: a 4px gap that is 6px in the design.
- Does it break a rule? Failing contrast, a missing focus indicator, or a wrong brand color is a different kind of problem from slightly loose spacing.
A severity scale
Use a small scale that the whole team shares. Four levels are enough.
| Severity | Meaning | Examples | Typical action |
|---|---|---|---|
| Blocker | Users cannot complete a task, or content is unreadable or lost | Text overlaps a button at 375px, call-to-action cut off, contrast below 3:1 on body text | Fix before release |
| Major | Clearly different from the design and noticeable to a normal visitor | Wrong heading size, wrong brand color, missing hover state, broken grid at a breakpoint | Fix in the current cycle |
| Minor | Visible only when compared side by side | 4px spacing error, line height off by a small amount, icon 2px smaller | Schedule, or batch with other work |
| Trivial | Within rendering tolerance or a matter of preference | 1px edge shift, slight anti-aliasing change | Do not report, or note and close |
Accessibility failures raise severity. A color that is 3px off in lightness is Minor. The same color pair that drops body text below 4.5:1 is a Major or Blocker problem, because the contrast ratio is a measurable requirement.
Set tolerances in advance
Agree on tolerances before the pass starts, so each person is not judging "close enough" differently. A team might choose values like these:
- Spacing and sizes: within 1px is acceptable, 2px or more is a difference.
- Font size, weight and family: no tolerance, because these values are exact in CSS.
- Colors: the exact token value, with no tolerance for brand colors.
- Screenshots in automated tests: a small pixel ratio, such as 1%, to absorb rendering noise.
These numbers are examples. Your team's design system may need tighter or looser values. What matters is that they are written down.
The helper below applies a tolerance to measured values. It is a short example of the idea, not a full tool.
function classify(name, expected, actual, tolerancePx = 1) {
const diff = Math.abs(expected - actual);
if (diff <= tolerancePx) {
return { name, diff, verdict: 'within tolerance' };
}
return { name, diff, verdict: 'report' };
}
console.log(classify('card padding-left', 24, 24.5));
console.log(classify('section gap', 48, 40));The first call returns within tolerance, since 0.5px is under the 1px limit. The second returns report, since 8px is not.
Step 3: Group by root cause
Many differences share one cause. If the body text uses #777777 instead of the token #595959, that is one defect that appears on every page. Reporting it as forty separate items wastes everyone's time.
Group differences by cause:
- A wrong token or variable. One change to a CSS custom property fixes many places.
- A wrong component. A single card or button component with the wrong padding shows up wherever it is used.
- A one-off override. A local style that breaks from the system. Fix it where it lives.
- A missing design. The design does not say what should happen, for example at a breakpoint it never covered.
Fixing the root cause is cheaper, and it lets you rank by how many places it touches.
When the design is the problem
Sometimes the built page is not wrong. The design can be inconsistent (two similar buttons with different radii), incomplete (no error state, no 320px layout) or impossible (a heading that cannot fit its container in another language). In these cases do not log a build defect. Raise a question with the designer and note which of three outcomes applies:
- The design is updated and the build is then checked again.
- The build is correct and the design reference is marked as out of date.
- The team accepts the deviation and records why.
Record the decision where the next person will find it, such as the ticket or the design file comments. Otherwise the same difference gets flagged again in the next pass.
The decision flow
Common errors
- Triaging by how it looks to you. Use measured values and the agreed tolerances. A color you find ugly is not a defect if it matches the token.
- Ranking by effort. A fix that takes two minutes is not necessarily important, and a hard fix is not necessarily urgent. Rank by impact first, then plan the work.
- Reporting symptoms instead of causes. Ten reports about the same wrong token create ten tickets that all close with one commit.
- Treating every difference as a build error. Check the design reference first.
- Skipping the reason. A difference marked "won't fix" with no explanation will come back.
Exercise
During a QA pass at 1280px you find three differences. (1) A card's left padding is 24.5px where the design says 24px. (2) Body text color is #8a8a8a on a white background where the design token is #595959. (3) The design has no layout for the footer below 480px, and the built footer wraps awkwardly. Classify each one and say what to do.
Show answer
(1) Trivial. The 0.5px difference is within the 1px tolerance and is probably subpixel rounding, so do not report it. (2) Major or Blocker. It does not match the token, and #8a8a8a on white is about 3.4:1, which fails the 4.5:1 requirement for normal body text. Report it as a single token or color defect, since it likely affects every page that uses it. (3) This is a design gap, not a build defect. Ask the designer for a small-screen footer layout, record the decision, and check the build again once the design is updated.