Course contentsShow
← Web Development
Lesson 409 of 2,9827. Responsive DesignFree lesson

Accessible Minimum Font Sizes

Set appropriate minimum font sizes in clamp() to ensure text remains readable on small screens.

Accessible Minimum Font Sizes

What you'll learn: How to choose the minimum font size in clamp() so text stays readable for everyone, even on the smallest screens.


When building fluid typography with clamp(), you're setting three values: a minimum size, a preferred scaling size, and a maximum size. That minimum value is crucial for accessibility—if it's too small, users on mobile devices will struggle to read your content without zooming.

Why Minimum Sizes Matter

Think of the minimum font size as your safety net. No matter how narrow the viewport gets, your text won't shrink below this threshold. Just like you wouldn't design a doorway shorter than most people can walk through, you shouldn't set text smaller than most people can comfortably read.

Choosing an Accessible Minimum

The Web Content Accessibility Guidelines (WCAG) don't mandate an exact minimum, but 16px is widely considered the baseline for body text. For paragraph content, avoid going below 16px (or 1rem). For smaller text like captions or labels, 14px is often the practical floor.

Example:

body {
  font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
  /* Minimum: 16px - readable on any device */
}

small {
  font-size: clamp(0.875rem, 1.5vw + 0.5rem, 1rem);
  /* Minimum: 14px - acceptable for smaller text */
}

Avoid setting minimums like 12px or 0.75rem for primary content—these force users to zoom and hurt the reading experience, especially for people with low vision.

Testing Your Minimums

Open your site on an actual phone or resize your browser to 320px width. Can you read the text comfortably at arm's length? If you're squinting, your minimum is too small.

Key Takeaway: Set your clamp() minimum to at least 16px (1rem) for body text to ensure readability on small screens and support accessibility for all users.