Design glossaryVisual hierarchy is arranging elements by size, color, contrast, and position so readers see the most important things first.
Visual hierarchy is the order in which people notice things on a page. Designers control that order on purpose, so the most important element (usually a heading, a key message, or the main call to action) is seen first, supporting content second, and details last. Every page has a hierarchy whether it was planned or not; a good one makes the page easy to scan, and a poor one leaves visitors unsure where to look.
The tools of visual hierarchy
- Size and scale: larger elements are seen first. A clear jump between heading and body text sizes does more than several small steps.
- Weight: bold text and heavy shapes draw the eye (see font weight).
- Color and contrast: a saturated or high-contrast element stands out against muted surroundings, which is why the main button is often the only element in the accent color.
- Position: people tend to start at the top and, in left-to-right languages, the left. Eye-tracking research has found that people often scan text-heavy pages in an F-shaped pattern, reading the start of lines more than the end.
- Space: generous white space around an element isolates it and makes it feel important.
- Proximity and grouping: items placed close together read as related, so spacing alone can show structure.
- Alignment: a consistent grid makes the structure easy to follow; one element that breaks the grid gets noticed.
Visual hierarchy and headings
The visual hierarchy should match the document structure. Heading tags, from H1 down to H6, tell screen readers and search engines how the content is organized. Problems start when the two disagree: a heading level chosen because its default style looks right, or important text that looks like a heading but is just bold paragraph text, which assistive technology cannot navigate by.
In the WordPress block editor, the heading level and the heading's appearance are separate settings. Choose the level by structure (the post or page title is usually the H1, so sections in the content start at H2, with H3 inside them), then set size and weight in the typography controls if the default look does not suit.
Checking a page's hierarchy
- The squint test: step back or blur the screenshot until the text is unreadable. The shapes that still stand out are what visitors notice first. If that is not the main message or action, adjust.
- The five-second test: show the page to someone briefly and ask what it was about and what they could do there.
- Mobile view: on a narrow screen, columns stack, so the order of content in the HTML becomes the order people see it.
Common mistakes
- Emphasizing everything. Several large headings, bright buttons, and badges compete until nothing stands out.
- More than one primary action. Give one call to action the strongest style and make others visibly secondary.
- Weak steps. Heading and body sizes that are too close together look like a mistake rather than a hierarchy.
- Centering long text. Centered headings can work, but centered paragraphs are harder to read than left-aligned ones.