Title tags, meta descriptions and alt text that win clicks
How to write title tags, meta descriptions, H1s and alt text that win the click, with lengths that fit, before and after examples and HTML you can copy.
22 November 2026 · 11 min read
Title tags, meta descriptions and alt text decide whether your page gets the click. Keep the title at 30 to 60 characters with the main keyword first, the meta description at 70 to 160 characters, use exactly one H1 per page and give every image that carries meaning a descriptive alt text.
Google's guide to optimizing for generative AI features (2026) says that optimizing for it "is optimizing for the search experience, and thus still SEO". AI answers mostly cite pages that already rank and say clearly what they are about. This guide covers the on-page checks of scrollkite's SEO audit one by one, with before and after examples and HTML you can copy.
Key points
- Title: 30 to 60 characters, main keyword early, brand last, unique on every page.
- Meta description: 70 to 160 characters and unique. It does not rank, it wins the click.
- Structure: one H1, enough text for the page type, and a first screen that says what, for whom and what next.
- Open Graph: og:title plus an og:image of 1200 × 630 pixels for link previews.
- Images: alt text of 10 to 125 characters, empty alt for decoration, descriptive file names, WebP or AVIF, width and height, lazy loading only below the fold.
What makes a good title tag?
A good title tag names the page's topic in 30 to 60 characters, with the main keyword near the start and the brand at the end. It is the clickable headline in search results, so it has to make sense on its own.
The length is a display rule, not a ranking rule. Google cuts titles by pixel width at roughly 60 characters and publishes no official limit. Longer titles may be cut off, often right where the important word was.
- Before:
Home(4 characters). It says nothing about the page. - After:
Fresh Coffee Beans, Roasted Weekly | Acme Coffee(48 characters). - Before:
Acme Coffee | Coffee, Coffee Beans, Best Coffee Shop for Coffee Lovers(70 characters and keyword stuffing). - After:
Coffee Subscription, Roasted to Order | Acme Coffee(51 characters).
<title>Coffee Subscription, Roasted to Order | Acme Coffee</title>
Use exactly one <title> tag per page and take its words from the page itself. claude-seo, the open source rule set behind scrollkite's audit, flags titles whose main words are missing from the visible text.
Why does every page need its own title?
Duplicate titles make pages compete with each other in search. When ten pages are all called "Acme Coffee", nobody can tell from the results which one answers their question.
Duplicates usually come from templates. Build each title from the page's own topic:
- Product page:
Ethiopia Yirgacheffe, Light Roast | Acme Coffee - Category page:
Espresso Beans for Home Machines | Acme Coffee - Blog post:
How to Brew Pour-Over Coffee at Home
How long should a meta description be?
A meta description should be 70 to 160 characters long and say what the visitor gets and why to click. It does not help a page rank. It is the snippet under your title, so it decides whether people choose your result.
scrollkite's audit passes 70 to 160 characters. claude-seo aims for at least 120, so 120 to 160 uses the space best, and beyond 160 the snippet may be cut. Google often writes its own snippet anyway, so treat yours as a strong suggestion.
- Before:
Welcome to our website.(23 characters) - After:
Specialty coffee roasted to order and delivered every two weeks. Pick your beans, change the grind and pause whenever you like.(127 characters)
<meta name="description" content="Specialty coffee roasted to order and delivered every two weeks. Pick your beans, change the grind and pause whenever you like.">
Why do duplicate meta descriptions hurt?
Duplicate descriptions make different pages look the same in results, so a searcher has no reason to pick yours.
Unique descriptions can still come from one template. claude-seo calls this templated metadata: a description that repeats the page title and closes on a stock call to action such as "Try it free now." Across a whole site, that pattern is a documented content quality problem.
- Before:
Espresso Beans | Acme Coffee. Discover espresso beans at Acme Coffee. Shop now! - After:
Espresso roasts for home machines, from chocolatey blends to bright single origins, ground to order or sold as whole beans.
How many H1 headings should a page have?
Use exactly one H1 per page and let it say what the page is about. The title is the headline in search results, the H1 is the headline on the page. They can be worded differently but should name the same topic.
Below the H1, H2 and H3 follow in order without skipping levels, because screen reader users move through a page by heading level.
<h1>Coffee subscription for home brewers</h1>
<h2>How the subscription works</h2>
<h3>Choose your roast</h3>
<h2>Prices and delivery</h2>
How much text does a page need?
A page needs enough text to fully answer what a visitor came for. claude-seo uses these floors by page type. Google has no word minimum, so read them as a check for coverage, not a target to pad.
| Page type | Minimum words |
|---|---|
| Homepage | 500 |
| Service or feature page | 800 |
| Landing page | 600 |
| Product, category or about page | 400 |
| Blog post | 1,500 |
scrollkite's audit flags pages with fewer than 200 words of visible text, not counting navigation. Below that, a page rarely ranks and gives AI answers nothing to quote. A contact page can be short on purpose. Elsewhere, add what customers actually ask about: who it is for, how it works, specs, prices, delivery and real reviews.
Does your first screen say what you offer?
Within the first screen, a page should say plainly what it is, who it is for and what the visitor can do next. A hero that says "Welcome", or a slogan without a noun, fails that test for people and for AI.
- Before: the headline "Elevate your everyday" and a button "Learn more". No product, no audience, no clear step.
- After: a headline that names the offer and the audience, one sentence on what you get and a button that names the next step.
<section>
<h1>Coffee subscription for home brewers</h1>
<p>Fresh specialty beans, roasted to order and delivered every two weeks.</p>
<a href="/subscribe">Choose your coffee</a>
</section>
Short-form video works the same way, as our guide to hook formulas that stop the scroll shows.
Which Open Graph tags does a page need?
Every page needs at least og:title and og:image. Without them, a shared link shows no proper title or preview image.
Use an image of 1200 × 630 pixels with width, height and alt text. Add og:description and og:url, and keep og:url the same as the canonical URL, so shares and search point to the same address.
<meta property="og:title" content="Coffee Subscription, Roasted to Order">
<meta property="og:description" content="Specialty coffee roasted to order and delivered every two weeks.">
<meta property="og:url" content="https://example.com/subscription">
<meta property="og:image" content="https://example.com/images/coffee-subscription-box-1200x630.webp">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Coffee subscription box with two bags of beans">
How do you optimize images for search?
Image SEO comes down to six things: descriptive alt text, a descriptive file name, a small file, a modern format, fixed dimensions and the right loading behavior. Alt text and file names help images get found. The rest keeps the page fast.
How do you write good alt text?
Good alt text describes what the image shows in 10 to 125 characters and uses the keyword only where it fits naturally. Screen readers read it aloud, and image search and AI use it to understand the picture.
Good:
alt="Barista pouring milk into a flat white in a ceramic cup"alt="Bag of Ethiopia Yirgacheffe light roast coffee beans"
Bad:
alt="IMG_1234.jpg"is a file name, not a description.alt="coffee beans coffee subscription best coffee"is keyword stuffing.alt="Click here"says nothing about the image.
Decorative images such as dividers, background shapes or icons next to a text label get an empty alt, alt="", so screen readers skip them. An empty alt is a deliberate choice. A missing alt attribute is a gap, and that is what scrollkite's audit counts.
<img src="/images/flat-white-ceramic-cup.webp" alt="Barista pouring milk into a flat white in a ceramic cup" width="800" height="600">
<img src="/images/wave-divider.svg" alt="">
Why do image file names matter?
claude-seo rates the file name as a high impact factor for Google Images, right after alt text. Use lowercase words with hyphens and no special characters: ethiopia-light-roast-coffee-beans.webp instead of IMG_1234.jpg.
How big should an image file be?
The right target depends on the image's role. These are claude-seo's thresholds:
| Image type | Target | Warning | Critical |
|---|---|---|---|
| Thumbnail | under 50 KB | over 100 KB | over 200 KB |
| Content image | under 100 KB | over 200 KB | over 500 KB |
| Hero or banner | under 200 KB | over 300 KB | over 700 KB |
Compress without visible quality loss. With srcset and sizes, the browser picks a smaller file on small screens.
Should you use WebP or AVIF?
Use WebP as the default and AVIF where you want the smallest files. JPEG stays the fallback for photos, PNG is for graphics with transparency, SVG for icons and logos. According to caniuse.com, as checked by claude-seo in September 2026, about 96.8 % of browsers support WebP and about 95.4 % support AVIF.
<picture>
<source srcset="/images/roastery.avif" type="image/avif">
<source srcset="/images/roastery.webp" type="image/webp">
<img src="/images/roastery.jpg" alt="Coffee roaster checking beans in a drum roaster" width="800" height="600" loading="lazy" decoding="async">
</picture>
Many CDNs and plugins already serve WebP from URLs ending in .jpg, so check what your server sends before converting.
Why should images have width and height?
Width and height let the browser reserve space before the image loads, so text does not jump while the page builds. Set both on every image, or give it an aspect-ratio in CSS.
<!-- Before: the layout shifts when the image arrives -->
<img src="/images/roastery.webp" alt="Coffee roaster checking beans in a drum roaster">
<!-- After: the space is reserved -->
<img src="/images/roastery.webp" alt="Coffee roaster checking beans in a drum roaster" width="800" height="600">
When should you lazy load images?
Lazy load only images below the fold, never the hero image. The hero is often the largest element on the first screen, the one measured as Largest Contentful Paint (LCP), and lazy loading delays it. Give it fetchpriority="high" instead, so the browser downloads it first.
<!-- Hero: load first -->
<img src="/images/coffee-subscription-hero.webp" alt="Coffee subscription box on a kitchen counter" width="1200" height="630" fetchpriority="high">
<!-- Further down: load when it comes into view -->
<img src="/images/roastery-team.webp" alt="Roastery team tasting coffee samples" width="800" height="533" loading="lazy" decoding="async">
decoding="async" keeps images below the fold from blocking the page while they decode.
How does scrollkite's SEO audit check these points?
scrollkite's SEO audit reads up to 20 pages of your website like a search engine and runs 35 checks in four areas: technical, page clarity, AI search and trust. Each area is worth 25 points, and fixes are sorted by the points they add. This guide covers page clarity. For the other areas, read the technical SEO checklist, how to get cited by AI search and website trust signals.
| Check | What the audit looks for |
|---|---|
| Title | 30 to 60 characters, one title tag |
| Unique titles and descriptions | No two pages share one |
| Meta description | 70 to 160 characters |
| H1 | Exactly one per page |
| Thin content | At least 200 words of visible text |
| Clear topic | What, for whom and what next on the first screen |
| Open Graph | og:title and og:image |
| Alt text | No image without an alt attribute |
| Image size | No image over 200 KB, SVG excluded |
| Width and height | Every image has both attributes |
| Main image | The first image in the main content does not load lazily |
Clear topic needs judgment, so AI reads your pages and rates it. Everything else is measured in the HTML and in the images themselves. The image format is not checked on its own, but a heavy JPEG or PNG usually shows up under image size.
Every fix names the page and the exact change. Copy one fix or all of them as a prompt for Cursor, Lovable, Claude Code or any other coding agent:
Improve the SEO and AI search visibility of https://example.com/. Apply the fixes below, biggest gain first. Change only what each fix names, keep the design and wording of everything else, and never invent facts about the business.
1. Write a clear title of 30 to 60 characters
Pages: https://example.com/
Change: Replace the title "Home" with "Fresh Coffee Beans, Roasted Weekly | Acme Coffee".
2. Add alt text to images
Pages: https://example.com/shop
Change: Give each product photo alt text that names the coffee and the roast, and set alt="" on the decorative wave divider.
When you are done, list what you changed for each fix and which fixes still need real data from me, such as reviews, author names or prices.
The audit never makes up facts about your brand. When a fix needs real data such as prices or reviews, it says which data to add. Run it again after your changes to see the points you gained.
Sources
- claude-seo by AgriciDaniel (MIT license): thresholds for titles, descriptions, word counts and images.
- caniuse.com: WebP and caniuse.com: AVIF for browser support.
FAQ
Does the meta description affect rankings?
No. The meta description does not rank, it wins the click. Google also often writes its own snippet when the page text matches the search better.
Should the title tag and the H1 be the same?
They do not have to be identical, but both should name the same topic. The title is written for search results, the H1 for the person already on the page.
Is it bad to have more than one H1?
Not on its own. Google says there is no ideal number of headings. One H1 is still the clearest way to say what a page is about, so scrollkite's audit checks for exactly one.
Do decorative images need alt text?
They need an empty alt, alt="", so screen readers skip them. Leaving out the attribute completely is a gap, not a choice.
Do these basics still matter for AI search?
Yes. Google says optimizing for generative AI search is still SEO, and AI answers mostly cite pages that already rank. Keep titles and text in the HTML itself, because many AI crawlers do not run JavaScript.