Technical
Viewport meta tag: make the page fit mobile screens
Without a viewport meta tag, phones render the page at desktop width and shrink it. Add one line to pass this check.
- Category
- Technical
- Points available
- 3 pts
- Effort
- Quick fix
Why it matters
Most visits come from phones. Without the viewport tag, mobile browsers render a 980 px wide desktop page and zoom out, so text is tiny and buttons are hard to tap.
Google indexes the mobile version of your site, so a broken mobile layout hurts everywhere.
How we measure it
We check for a <meta name="viewport"> tag with non-empty content.
| Result | Points |
|---|---|
| viewport meta present | 3 |
| Missing | 0 |
How to fix it
- Add
<meta name="viewport" content="width=device-width, initial-scale=1">to the<head>. - Then make sure the layout is responsive: no fixed widths wider than the screen.
Copy-paste fixes
<meta name="viewport" content="width=device-width, initial-scale=1"><meta name="viewport" content="width=device-width,initial-scale=1">import type { Viewport } from "next";
// The App Router already outputs width=device-width, initial-scale=1 by default.
// Only export viewport if you need to change it; do not add a second meta tag by hand.
export const viewport: Viewport = { width: "device-width", initialScale: 1, themeColor: "#0f766e" };Common mistakes
- Adding
maximum-scale=1oruser-scalable=no, which stops people from zooming and hurts accessibility. - Adding the tag twice: Next.js App Router already outputs one by default.
Test your site now
Put your site against a competitor and see how many of these points you earn, and which fixes pay off first.
← All checksUpdated December 1, 2026