Typography hierarchy

#
minutes to read
September 21, 2025

Typography hierarchy is the structured arrangement of text styles to guide users through content in a clear, predictable way. It ensures that headings, body text, and UI labels work together to create visual order, improve comprehension, and support accessibility.

Overview

Typography hierarchy is the foundation of readable and scannable digital content. It’s not just about making text look good, it’s about establishing a logical visual order that mirrors the structure of the content.

Correct use of hierarchy:

  • Helps users understand the importance of different pieces of information
  • Makes scanning faster and reduces cognitive load
  • Improves accessibility by mapping visual hierarchy to semantic HTML

A well-designed hierarchy uses consistent scaling, spacing, and semantic HTML elements <h1> – <h6>, <p>, <label> so that both visual users and assistive technologies interpret the structure correctly.

Best practices

These best practices combine visual hierarchy and accessibility requirements into actionable steps.

Use only one <h1> per page

Importance:
Critical

Each page should have exactly one <h1> that represents the primary topic. Multiple <h1> elements dilute meaning, confuse assistive technologies, and harm SEO clarity. All subsequent headings <h2> – <h6> should follow a logical order.

Correct example shows one H1 with clear H2 and H3 hierarchy. Incorrect shows multiple H1s, breaking structure and meaning

References:

Follow a consistent scale

Importance:
Critical

Use a typographic scale to define relationships between headings, subheadings, and body text. This creates visual rhythm, improves scanability, and reduces cognitive load.

Common ratios:

  • 1.125 – Major second
  • 1.250 – Major third
  • 1.333 – Perfect fourth
  • 1.618 – Golden ration

References:

Responsive scaling across devices

Typography should scale smoothly between desktop, tablet, and mobile. Maintain the same scale ratio but adjust absolute sizes to fit the screen. Increase line height on smaller viewports for readability.

Device guidelines:

  • Desktop: Use the full modular scale to maximize visual hierarchy
  • Tablet: Reduce heading sizes by 10–15% while preserving the scale
  • Mobile: Reduce heading sizes by 20–25% for better fit

References:

Match semantic and visual hierarchy

Importance:
Critical

Ensure that the visual prominence of a heading matches its semantic HTML tag. A <h3> should never appear larger than a <h2>. Misalignment disrupts scanning and harms accessibility.

Correct heading hierarchy with H1 larger than H2, and H2 larger than H3, keeping visual and semantic order aligned

References:

Minimum text sizes for accessibility

Importance:
Critical

Ensure that all text meets minimum size requirements for legibility across devices. For body text, use at least 16px / 1rem on mobile and tablet, as smaller sizes can be difficult to read for many users. For secondary text (captions, footnotes), avoid going below 12px / 0.75rem on high-density screens. These sizes help users with low vision, prevent eye strain, and comply with accessibility guidelines. Always test text readability on real devices and under various lighting conditions.

References:

Color contrast ratios for accessibility

Importance:
Critical

Ensure that text and interactive elements meet minimum contrast ratios defined by WCAG to maintain readability for all users, including those with low vision or color vision deficiencies.

  • Normal text (< 24px / 1.5rem regular or < 18px / 1.125rem bold): Minimum 4.5:1 contrast ratio against its background
  • Large text (≥ 24px / 1.5rem or ≥ 18px / 1.125rem bold): Minimum 3:1 contrast ratio

Use tools like WebAIM contrast checker or built-in design system validators to verify compliance. Always test contrast with real UI states (hover, active, disabled).

Good example shows strong color contrast for headings and text. Bad example has low contrast, making content hard to read

References:

Design for scanning

Structure typography so users can quickly scan and understand page content without reading every word. Most users scan first and read selectively, especially on the web.

  • Use clear headings and subheadings to break content into logical sections
  • Highlight important terms with bold or color emphasis, but avoid overuse
  • Maintain consistent typographic hierarchy so scanning patterns remain predictable

Designing for scanning improves comprehension speed, reduces cognitive load, and aligns with natural eye-tracking behaviors.

References:

Common mistakes

Even well-intentioned typography can fail if the basics are overlooked. From mismatched heading levels to poor contrast, these missteps can weaken both usability and accessibility. Below are the most frequent errors to watch out for.

Multiple <h1> elements to “boost SEO”

Importance:
Critical

Confuses screen readers, dilutes page focus, and harms search clarity.

Skipping heading levels for quick styling

Importance:
Critical

Breaks logical order, harming navigation for assistive tech.

Styling headings purely for aesthetics

Misaligning visual size with semantic level disrupts scanning.

Arbitrary font sizing without a scale

Creates inconsistency and visual noise.

Low-contrast “modern” text

Importance:
Critical

Fails WCAG, making text harder to read.

Shrinking main body text below 16px / 1rem on mobile

Importance:
Critical

Reduces readability and accessibility.

Ignoring mobile typography adjustments

Oversized headings on small screens hurt usability.

Summary

A strong typography hierarchy isn’t decoration, it’s a system for clarity, accessibility, and trust. Use one <h1> per page, align visual and semantic order, maintain a consistent scale, and meet WCAG standards.

Accessibility is baked into every decision, size, contrast, scaling, not added after the fact.When hierarchy is intentional, it makes every word easier to find, read, and remember.

Newsletter subscription

Get notified when new guides are published. Subscribe to receive practical UX recommendations straight to your inbox.