---
title: "Input text under 16px on mobile (ui/input-font-size)"
description: "iOS Safari zooms the page when an input under 16px gets focus, and doesn't zoom back."
url: http://localhost:4173/rules/ui/input-font-size
updated: 2026-11-11
---

# Input text under 16px on mobile

> `ui/input-font-size` is a vetd rule. It flags: Input text under 16px on mobile. It runs on every `check`, together with the TypeScript check.

| Fact | Value |
| --- | --- |
| Rule id | `ui/input-font-size` |
| Severity | warning |
| Group | Interface craft: accessibility, motion and mobile |
| Tags | accessibility |

## Why it matters

iOS Safari zooms the page when an input under 16px gets focus, and doesn't zoom back.

## How to fix it

Use text-base on small screens: text-base md:text-sm.

## References

- [Accessible tap targets](https://web.dev/articles/accessible-tap-targets), web.dev
- [<meta name="viewport"> HTML attribute value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta/name/viewport), MDN Web Docs

## Related rules

- [`ui/viewport-zoom-lock`](http://localhost:4173/rules/ui/viewport-zoom-lock.md)

## Get this text from vetd

MCP: call `explain` with `{ "diagnosticId": "ui/input-font-size" }`. CLI: `npx vetd explain ui/input-font-size`.

---

[All 92 rules](http://localhost:4173/rules.md) · Previous: [`ui/viewport-zoom-lock`](http://localhost:4173/rules/ui/viewport-zoom-lock.md) · Next: [`ui/video-autoplay`](http://localhost:4173/rules/ui/video-autoplay.md)
