coderef

<meta name="text-scale">Limited availability

The &#x3C;meta name="text-scale" content="scale" /> HTML element allows the browser's initial font size to be affected by the operating system text scale settings. The &#x3C;meta name="text-scale" content="legacy" /> element is the default behavior that respects only browser font-size settings.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
1–145Not supported
146+Supportedsince Mar 10, 2026
Current: 155
Edge
12–145Not supported
146+Supportedsince Mar 13, 2026
Current: 154
Firefox
✕Not supportedup to 157
Current: 157
Safari
✕Not supportedup to 27
Current: 27
MobileChrome Android
18–145Not supported
146+Supportedsince Mar 10, 2026
Current: 155
Firefox Android
✕Not supportedup to 157
Current: 157
Safari iOS
✕Not supportedup to 27
Current: 27

How to use

Not supported in Firefox, Safari, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN: text-scale.

Feature detection

JS · check before using
if ("name" in document.createElement("meta")) {
  // the name attribute/property of <meta> is supported
}