Sub topic 1
What a Visual QA Pass Is and When to Run It
A visual QA pass is a structured comparison of a built web page against its design. You check what the browser renders against what the designer specified. The goal is to find differences in layout, type, color, imagery and behavior, then decide which ones to fix.
Prerequisites
This chapter assumes you have:
- Basic HTML and CSS knowledge, including the box model, selectors and units.
- Some familiarity with opening browser DevTools.
- The ability to read a design file or style guide, such as a Figma frame or a PDF spec.
What the pass covers
A visual QA pass looks at how the page appears and how its interface responds. Typical checks include:
- Layout, alignment and spacing.
- Typography: font family, size, weight, line height.
- Color values and text contrast.
- Images, icons and other assets.
- Responsive behavior at different widths.
- Interactive states such as hover, focus and error.
- Awkward content, such as very long text or missing images.
What it does not cover
A visual pass is not a full test of the product. It does not verify that business logic works, that forms submit correctly, or that the server returns the right data. It also does not replace a full accessibility audit or performance testing. It touches accessibility only where it is visible, such as contrast and focus rings.
When to run it
Run the pass once a page or component is built and stable enough to compare, but before it is released. Running it earlier wastes effort because the code is still changing. Running it only after launch makes each fix more costly.
Common moments are:
- When a developer marks a page or component as ready for review.
- After a large style change, such as a new design system version.
- Before a release, as a final check on key pages.
For large sites, do a full pass on key templates and a lighter pass on the rest.
How the rest of the tutorial fits
Later chapters cover each step in detail: treating the design as the reference, setting up a fair comparison, measuring with DevTools, and checking each area listed above. The final chapters cover automated screenshot comparison, deciding which differences matter, and writing reports developers can act on.
Common mistakes
- Comparing without a clear reference. If the design is out of date, you are checking against the wrong thing.
- Checking only one screen width.
- Judging by eye alone, without measuring values.
- Reporting every tiny difference with equal weight.
Exercise
A team finishes a checkout page on Monday. The developer is still changing the layout, and release is Friday. When should you run the main visual QA pass, and why?
Show answer
Run it once the layout has settled, for example Wednesday, and before Friday's release. Running it on Monday would mean redoing checks as the code changes. Waiting until after release makes fixes costlier. A quick recheck after fixes, before release, confirms the issues are resolved.