Skip to the content
Start free

The H1 heading is hidden

Every H1 on the page is hidden, so machines read a main title that sighted visitors never see.

Medium priority Content and headings

Why it matters #

When the H1 is hidden with display:none, the hidden attribute or a similar trick, people see one title and machines read another. Google advises putting the title text in the first visible heading, and hidden text that differs from what people see can look like an attempt to mislead.

Themes sometimes hide the H1 on the home page and show a picture instead. AI assistants that quote the page may then use a heading that readers cannot find.

How to fix it #

Show the H1 on the page. If the design uses a picture with words in it, put those words in a real, visible H1 and keep the picture as decoration.

Text hidden only visually for screen readers (a "screen-reader-text" class) is fine for accessibility, but the main title should still be visible. Check with the Heading Checker.

What it looks like, and fixed #

The problem
<h1 style="display:none">Loose leaf tea delivered across the UK</h1>
<img src="/banner.jpg" alt="">

Machines read the H1; visitors see only a picture with words in it.

Fixed
<h1 class="banner-title">Loose leaf tea delivered across the UK</h1>
<img src="/banner.jpg" alt="">

The heading is real, visible text, styled over or beside the picture.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
Every H1 on [the page address] of my website [your website address], built with [your platform, e.g. WordPress with Astra], is hidden from visitors. First read the page source and the CSS, or ask me to paste them, and explain plainly how each H1 is hidden: display:none, the hidden attribute, a class such as screen-reader-text, zero size or off-screen, and which setting or template causes it. Then make one H1 visible near the top of the main content, showing the main title visitors see. If the title is inside a picture, put those words in a visible H1 and keep the picture as decoration. Rules: back up first, change only how the heading is shown, do not change its wording without asking, do not add a second H1, keep page addresses the same, and keep it working on phones. Give me the exact setting, CSS or template change and where it goes. Then tell me to re-check with the URSY.com Heading Checker at ursy.com/heading-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

Look for a "hide title" or "disable title" option on the page or in the theme customiser, and switch it off. Some page builders hide the theme title by default on their pages.

Shopify

Some home page sections hide the heading with a visually-hidden class. Show a real heading in the first section instead.

A hand-made site

Remove display:none, the hidden attribute or the hiding class from the H1, and style it to fit the design.

Check it is fixed #

Run the URSY.com Heading Checker again: it should no longer say every H1 is hidden. Check by eye that the heading shows on desktop and phone.

Official source #

Google Search Central: Spam policies (hidden text)

Questions #

Is screen-reader-only text not allowed?

It is fine for accessibility helpers, such as labels. The main title of the page should still be visible to everyone.

Will Google punish a hidden H1?

Google advises against hidden text meant to mislead, and a hidden H1 that differs from what people see can look like that. Showing it removes the doubt.

More problems in Content and headings

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com