# Ensure legible text size

- Check 07.04 · Mobile-first and responsive design · Critical
- Source: https://checklist-seo-geo.com/en/mobile-first-responsive-design/ensure-legible-text-size
- Set legible text on mobile: a 16 px base in rem, fluid type, fields without forced zoom, line spacing, on WordPress, Shopify, Webflow or in plain CSS.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/mobile-first-responsive-design/ensure-legible-text-size.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

Legible text on mobile can be read without zooming, at arm's length, on the subway. In practice: body text around 16 px expressed in `rem`, no useful text below 12 px, form fields at 16 px or more, generous line spacing and lines that are not too long. Once the task is done, the main text of every template reaches at least 16 px on smartphones, and it grows when visitors enlarge text in their browser or phone settings.

## Why it matters

On a phone screen, text that is too small forces people to zoom in, then scroll horizontally line by line. Most visitors do not bother: they leave. People with low vision, or simply with age-related farsightedness, enlarge text in their settings; if the site sets its sizes in pixels on the root element, that setting may be ignored.

Google imposes no minimum size. Lighthouse long flagged pages where more than 40% of the text was smaller than 12 px; this audit was removed in Lighthouse 13, released in October 2025, with this rationale from the Chrome team: text that is too small is a legibility problem, but nothing suggests it is still an SEO problem. The topic is therefore a matter of user experience and accessibility, not a ranking criterion.

The useful benchmarks come from accessibility and real-world use:

- **16 px** is the browsers' default size for running text; it is the reasonable base for body text.
- **WCAG criterion 1.4.4** (level AA): text must be resizable up to 200% without loss of content or functionality.
- **WCAG criterion 1.4.12** (level AA): the page must remain usable when the user increases line height to 1.5 times the font size, as well as paragraph, letter and word spacing.
- **Form fields**: Safari on iPhone automatically zooms in on a field whose text is smaller than 16 px when the user starts typing. This is long-observed behavior, widely documented by developers, not a rule published by Apple.

## What it improves

- **Reading and engagement**: less zooming, fewer drop-offs on long content.
- **Conversion**: forms filled in without unwanted zooming or page reframing.
- **Accessibility**: resizable text, compliance with WCAG criteria 1.4.4 and 1.4.12.
- **Generative engines**: no effect. Crawlers read text whatever its size.
- **Rankings**: no direct effect. Google asks in its page experience self-assessment whether content displays well on mobile, but states that, apart from Core Web Vitals, these aspects do not directly help rankings.

## How to check

**Computed size**: Chrome developer tools in device mode (`Ctrl+Shift+M`), select a paragraph, “Computed” tab, `font-size` property. Do the same for the notes under prices, captions, the footer and form fields.

**Distribution across the whole page**: paste this script into the console. It adds up the visible characters by font size:

```js
(() => {
  const tailles = new Map();
  document.querySelectorAll('body *').forEach((element) => {
    if (!element.getClientRects().length) {
      return;
    }
    const texte = [...element.childNodes]
      .filter((noeud) => noeud.nodeType === Node.TEXT_NODE)
      .map((noeud) => noeud.textContent.trim())
      .join('');
    if (!texte) {
      return;
    }
    const taille = Math.round(parseFloat(getComputedStyle(element).fontSize));
    tailles.set(taille, (tailles.get(taille) || 0) + texte.length);
  });
  console.table([...tailles].sort((a, b) => a[0] - b[0]).map(([px, caracteres]) => ({ px, caracteres })));
})();
```

Compliant result: most characters at 16 px or more, nothing useful below 12 px, and all `input`, `select` and `textarea` fields at 16 px or more. The `caracteres` column gives the number of characters for each size.

**Enlargement**: in Chrome on desktop, `Settings > Appearance > Font size`, choose “Very large”. The site's text must grow. If it does not change, the root size is locked in pixels. On a phone, increase the text size in the accessibility settings and reload the page.

**Real-world test**: read a whole article on a phone, at arm's length, without zooming. Fill in a form on an iPhone: the page must not zoom when you tap a field.

## How to implement

### Before you start

Benchmarks to apply to every template:

| Element | Size on mobile | Note |
|---|---|---|
| Body text | 1 rem (16 px) to 1.125 rem (18 px) | Common practice, not a search engine rule |
| Secondary text (captions, notes, footer) | 0.875 rem (14 px), never below 12 px | The legal notes attached to a price are still useful content |
| Form fields | 1 rem (16 px) minimum | Avoids Safari's automatic zoom on iPhone |
| H1 heading | About 1.75 to 2.25 rem | Smaller than on desktop to avoid broken words |
| Line height of running text | 1.5 to 1.7 | Tighter for headings |
| Line length | 45 to 75 characters (`max-width: 65ch` or so) | Typographic convention |

Reference CSS, which respects the browser's size setting and slightly enlarges text on large screens:

```css
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 64em) {
  body {
    font-size: 1.0625rem;
  }
}

.prose {
  max-width: 65ch;
}

small,
.text-small,
figcaption {
  font-size: 0.875rem;
}

input,
select,
textarea,
button {
  font: inherit;
  font-size: max(1rem, 16px);
}

h1 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 2rem);
  line-height: 1.25;
}
```

Three rules:

- **Root size as a percentage or left at the default**, never in pixels: `html { font-size: 16px; }` stops the browser's size setting from applying. The `html { font-size: 62.5%; }` trick remains compatible with this setting, provided body text is then brought back up to `1.6rem`.
- **Fluid type with a `rem` component**: `clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem)` grows with the screen and with zoom. A size in `vw` alone does not grow when the user zooms, which breaches WCAG criterion 1.4.4.
- **`text-size-adjust: 100%`** stops some mobile browsers from enlarging text arbitrarily in landscape mode. Do not use `none`, which can prevent text enlargement in some browsers.

> **Warning:** do not fix automatic zoom on fields by adding `maximum-scale=1` to the viewport tag. You would block zooming for everyone. Give fields a size of 16 px. See [check the viewport meta tag](https://checklist-seo-geo.com/en/mobile-first-responsive-design/check-viewport-meta-tag).

Legibility also depends on contrast: light gray text at 16 px is harder to read than dark text at 15 px. See [check color contrast](https://checklist-seo-geo.com/en/semantic-html-accessibility/check-color-contrast). If the site loads web fonts, also check how they display while loading: see [optimize fonts](https://checklist-seo-geo.com/en/performance-core-web-vitals/optimize-fonts-woff2-font-display).

### WordPress

Versions: WordPress 6.6 and later (`theme.json` schema version 3); Elementor 3 and WooCommerce, November 2026.

**Block theme**: `Appearance > Editor > Styles > Typography`, set the text size and line height. For a lasting setting, in a child theme's `theme.json`:

```json
{
  "$schema": "https://schemas.wp.org/trunk/theme.json",
  "version": 3,
  "settings": {
    "typography": {
      "fluid": true,
      "fontSizes": [
        { "slug": "small", "name": "Small", "size": "0.875rem", "fluid": false },
        { "slug": "medium", "name": "Medium", "size": "1.125rem", "fluid": { "min": "1rem", "max": "1.125rem" } },
        { "slug": "large", "name": "Large", "size": "1.75rem", "fluid": { "min": "1.375rem", "max": "1.75rem" } }
      ]
    }
  },
  "styles": {
    "typography": {
      "fontSize": "var(--wp--preset--font-size--medium)",
      "lineHeight": "1.6"
    },
    "elements": {
      "button": {
        "typography": { "fontSize": "1rem" }
      }
    }
  }
}
```

`"fluid": true` makes WordPress generate sizes with `clamp()`. Schema version 3 requires WordPress 6.6 or later.

**Classic theme**: `Appearance > Customize`, Typography section if the theme offers one; otherwise paste the reference CSS into `Additional CSS`. With Elementor, sizes are set per device (screen icon next to the size field): check the “Mobile” value of each global text style, in Site Settings, Global Fonts section.

### Shopify

Versions: Shopify, all plans, Dawn theme and derived themes, November 2026.

On Dawn and themes derived from it, body text measures `1.5rem` on mobile with a 62.5% root, that is 15 px at the default scale. In `Online Store > Themes > Customize`, open Theme settings, Typography section, and raise the body text font size scale to at least 110% to reach about 16.5 px. Other themes offer an equivalent setting in the same section. For fields, add the rule `input, select, textarea { font-size: max(1rem, 16px); }` to the theme's CSS; with Dawn's 62.5% root, `1rem` equals 10 px, hence the use of `max()`.

### PrestaShop

Versions: PrestaShop 8 and 9, Classic and Hummingbird themes.

Add the reference CSS to your theme's `assets/css/custom.css`: PrestaShop loads this file for any theme, Classic as well as Hummingbird (the default theme since PrestaShop 9.1) or a child theme; create it if it does not exist. Pay particular attention to price notes (“tax incl.”, struck-through price), product labels and the text on the cart page, which are often set below 12 px. Clear the cache in `Advanced Parameters > Performance`.

### Magento

Versions: Magento Open Source and Adobe Commerce 2.4, themes derived from Blank or Luma.

Magento's UI library sets the root to 62.5% (1 rem = 10 px) and the base text to 1.4 times that value, that is 14 px. In the Luma or Blank child theme, raise this ratio in `web/css/source/_theme.less`:

```txt
@font-size-ratio__base: 1.6;
@line-height__base: 1.6;
```

The base text goes up to 16 px, and form fields, whose size derives from this variable, follow. Secondary sizes (`@font-size__s`, `@font-size__xs`) are calculated from the base and increase as well. Regenerate the static files and clear the cache.

### Drupal

Versions: Drupal 10 and 11, Drush 12 and 13.

With Olivero, typography is already in `rem` with comfortable body text. For a custom theme, place the reference CSS in the theme's global library, then run `drush cr`. Check the styles of blocks added by modules (search forms, consent banners).

### Wix

Versions: Wix Editor, all plans, November 2026.

Set the text themes in the Site Design panel (the site's text styles), then check the mobile view in the mobile editor: Wix may adapt text sizes there, and text that is legible on desktop may be reduced. Select each important text block in mobile view and check its size.

### Squarespace

Versions: Squarespace 7.1, all plans, November 2026.

`Website > Site Styles > Fonts`: set the size of paragraphs and headings. Sizes adapt to small screens; check the rendering in the mobile preview, especially for small paragraphs (“Paragraph 3” style) often used for notes.

### Webflow

Versions: Webflow Designer, all plans, November 2026.

In the Designer, select the `Body (All Pages)` element and set the font size in `rem`, then check at the “Mobile portrait” breakpoint. Styles cascade from desktop down to smaller screens: a size reduced for tablet also applies to mobile. Set form fields (`Form Text Field`) to at least 16 px.

### Laravel

Versions: Laravel 11 to 13; Tailwind CSS 3 and 4 or Bootstrap 5.

With Tailwind, `text-base` equals `1rem`. Avoid `text-xs` (0.75 rem) for useful content, and give fields `text-base` on mobile even if the desktop design uses `md:text-sm`. With Bootstrap 5, `$font-size-base` equals `1rem` and headings are resized automatically on small screens thanks to the `$enable-rfs` option, on by default.

### Symfony

Versions: Symfony 6.4, 7.4 and 8, AssetMapper or Webpack Encore; Bootstrap 5.

Same logic in the stylesheets managed by AssetMapper or Webpack Encore. With Symfony's Bootstrap form themes, fields inherit `$input-font-size`: keep it at `1rem` or more, and do not use the `form-control-sm` variant on mobile.

### Next.js

Versions: Next.js 15 and 16, App Router and Pages Router.

Place the reference CSS in `app/globals.css`, imported by `app/layout.tsx` (App Router), or in `styles/globals.css`, imported by `pages/_app.tsx` (Pages Router). With `next/font`, set the size on `body` in `rem`, not in the font configuration. With Tailwind, the same rules as for Laravel apply.

### Nuxt

Versions: Nuxt 3 and 4.

Place the reference CSS in a global file, declared in `nuxt.config.ts` with the key `css: ['~/assets/css/main.css']`. In Nuxt 4, `~` points to the `app/` folder: the file therefore lives in `app/assets/css/main.css` (at the project root in Nuxt 3). Component libraries (Nuxt UI, Vuetify) have their own field sizes: check the computed size of fields on mobile.

### Astro

Versions: Astro 5 to 7.

Place the reference CSS in a global stylesheet imported by the main layout. For Markdown, apply the `.prose` class to the content container to limit line length.

## Common mistakes

- **Root in pixels** (`html { font-size: 16px; }`): the browser's size setting no longer applies.
- **Type in `vw` with no `rem` component**: text does not grow with zoom, and becomes tiny on small screens.
- **Blocking zoom to avoid field zoom**: set fields to 16 px instead.
- **Shrinking text on mobile “so it fits”**: lighten the layout, not the text size.
- **Light gray text on a white background**: a correct size does not make up for insufficient contrast.
- **Important notes in 10 px**: price including VAT, offer conditions, shipping costs. If it is useful to the visitor, it must be legible.
- **120-character lines on tablet**: limit the width of the text block.

## Frequently asked questions

### What minimum font size should you use on mobile?

Aim for 16 px for body text, the browsers' default size, expressed in rem to respect the visitor's settings. Keep 14 px for secondary text and never go below 12 px for useful information. Give form fields at least 16 px. These are usage and accessibility conventions: neither Google nor WCAG sets a minimum size in pixels.

### Does a small font size hurt SEO?

Not directly. Lighthouse 13, released in October 2025, removed its font size audit, as the Chrome team considered that nothing suggests it is still an SEO problem. Text that is too small remains a legibility problem: mobile visitors zoom in or leave, which weighs on engagement and conversion. Fix it for visitors, not for a ranking criterion.

### Why does the iPhone zoom in when you tap a form field?

Safari on iPhone automatically zooms in on a field whose text is smaller than 16 px, so that typing stays legible. The right fix is to give input, select and textarea fields a size of at least 16 px. Avoid adding maximum-scale=1 or user-scalable=no to the viewport tag: you would block zooming for the whole page, at the expense of people with low vision.

### Should font sizes be expressed in px, em or rem?

Prefer rem for text sizes: it depends on the root size, which visitors can enlarge in their browser settings. Leave the root at 100% or as a percentage, never in pixels. For fluid type, combine rem and vw in a clamp() function: a size expressed only in vw does not grow when the user zooms.

## Resources

- [Chrome for Developers: What's new in Lighthouse 13](https://developer.chrome.com/blog/lighthouse-13-0)
- [W3C: Understanding SC 1.4.4 Resize Text](https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html)
- [W3C: Understanding SC 1.4.12 Text Spacing](https://www.w3.org/WAI/WCAG22/Understanding/text-spacing.html)
- [MDN: clamp() function](https://developer.mozilla.org/en-US/docs/Web/CSS/clamp)
- [MDN: text-size-adjust property](https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust)
- [WordPress: Fluid typography in theme.json](https://developer.wordpress.org/themes/global-settings-and-styles/settings/typography/)
- [web.dev: Responsive typography](https://web.dev/learn/design/typography)

Next steps: [size tap targets appropriately](https://checklist-seo-geo.com/en/mobile-first-responsive-design/size-tap-targets-appropriately) and [check color contrast](https://checklist-seo-geo.com/en/semantic-html-accessibility/check-color-contrast).
