---
title: "Hidden text and links"
description: "Hidden text and links are words or links placed for search engines but not people. Google treats it as spam; tabs and accordions are fine."
url: https://ursy.com/wiki/hidden-text-and-links/
updated: 2026-11-25T01:18:40+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/hidden-text-and-links/
---

# Hidden text and links

> Hidden text and links are words or links placed for search engines but not people. Google treats it as spam; tabs and accordions are fine.

**Hidden text and links are words or links placed on a page so that [search engines](https://ursy.com/wiki/search-engine/) read them but human visitors cannot easily see them, with the aim of manipulating rankings.** [Google](https://ursy.com/wiki/google/) lists this under its spam policies as “hidden text and link abuse”. It can lead to lower rankings or a manual action. Tabs, accordions and screen reader text are not part of it.

## What counts as hidden text and links? {#what-counts-as-hidden-text-and-links}

Google’s [spam policies](https://developers.google.com/search/docs/essentials/spam-policies) define it as placing content on a page “solely to manipulate search engines” and not to be easily viewable by people. Google gives 5 examples:

- white text on a white background;
- text hidden behind an image;
- [CSS](https://ursy.com/wiki/css/) that pushes text off the screen;
- a font size or opacity of 0;
- a link placed on 1 small character, such as a hyphen in the middle of a paragraph.

The test is intent and visibility together. A block of town names in pale grey at the foot of every page, there only for robots, fails. The same list shown clearly as “Areas we deliver to” is just content.

## What does not count? {#what-does-not-count}

The same Google page says many design elements that show and hide content are fine. Its safe list includes:

- accordion or tabbed content that toggles between showing and hiding extra content;
- a slideshow or slider that cycles through images or text;
- a tooltip that shows extra text when someone interacts with an element;
- text only reachable by screen readers, meant to help people who use them.

So a “skip to content” link or a visually hidden label on an icon button is good [web accessibility](https://ursy.com/wiki/web-accessibility/), not spam. Good [alt text](https://ursy.com/wiki/alt-text/) on an image is also fine, as long as it describes the image and is not a list of phrases.

## Why does it matter for search? {#why-does-it-matter-for-search}

Google warns that a site breaking its spam policies can drop in the rankings, or vanish from results completely. Google finds most spam with automated systems, and a human review can lead to a [manual action](https://ursy.com/wiki/manual-action/). That shows in [Google Search Console](https://ursy.com/wiki/google-search-console/). Once fixed, you ask Google to look again with a [reconsideration request](https://ursy.com/wiki/reconsideration-request/). Hidden text is one of the oldest tricks in [black hat SEO](https://ursy.com/wiki/black-hat-seo/), so search engines have looked for it for a long time.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

Text hidden from people can still be read by a [bot](https://ursy.com/wiki/bot-web-robot/) that fetches the raw [HTML](https://ursy.com/wiki/html/). That makes it a delivery route for [prompt injection](https://ursy.com/wiki/prompt-injection/): instructions aimed at an [AI assistant](https://ursy.com/wiki/ai-assistant/), tucked out of sight on a page. Google’s spam policies now include attempts to manipulate [generative AI](https://ursy.com/wiki/generative-ai/) responses in Google Search, and its guide on [AI features and your website](https://developers.google.com/search/docs/appearance/ai-features) says a page must follow Search policies to appear in them. For a business, the safe rule is simple. If a person cannot see it, do not write it for a machine. Our [prompt injection checker](https://ursy.com/prompt-injection-checker/) looks for hidden instructions on a page, and the [prompt injection guard](https://ursy.com/pro/prompt-injection-guard/) (Pro) is being built to watch a whole site.

## How does it happen on honest sites? {#how-does-it-happen-on-honest-sites}

Many cases are accidents, not schemes:

- **Theme leftovers.**  An old theme printed a [keyword](https://ursy.com/wiki/keyword/) block in the footer in the same shade as the background. Nobody noticed when the site changed hands.
- **Hacked pages.**  Google defines hacked content as anything placed on a site without permission, and names hidden links and hidden text added with CSS or HTML as one form. Attackers add hidden links to their own sites, often in the footer, to pass [link equity](https://ursy.com/wiki/link-equity/). This is a form of [link spam](https://ursy.com/wiki/link-spam/) and can sit unseen for months.
- **Plugins.**  Some free plugins and themes add a credit link set to zero size.
- **Copied layouts.**  A text block moved off screen during a redesign and never deleted.

Whatever the cause, the page still breaks the policy until the hidden part is gone, so an accident still needs fixing.

## How is it different from cloaking? {#how-is-it-different-from-cloaking}

[Cloaking](https://ursy.com/wiki/cloaking/) serves a different page to search engines than to people, usually by checking the [user agent](https://ursy.com/wiki/user-agent/). Hidden text serves the same page to both, but hides part of it from human eyes. Both fall under [spamdexing](https://ursy.com/wiki/spamdexing/). Hidden text is often paired with [keyword stuffing](https://ursy.com/wiki/keyword-stuffing/), since the hidden block is usually a run of phrases.

## Common mistakes {#common-mistakes}

- **Removing helpful accordions out of fear.**  Google’s docs list them as allowed. Keep them.
- **Hiding a link on a full stop or hyphen.**  Google names this exact pattern. Use clear [anchor text](https://ursy.com/wiki/anchor-text/).
- **Using the hidden attribute to hide text from only one group.**  MDN’s page on the [hidden attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/hidden) says it hides an element from all presentations, screen readers included. Use it for content nobody should see yet, not for robot-only text.
- **Ignoring the footer.**  Spam links injected by attackers often live there. Check [footer links](https://ursy.com/wiki/footer-links/) after any security scare.

## A worked example {#a-worked-example}

A plumber’s site loses rankings. In Search Console, the Manual actions report shows a notice for hidden text. The owner views the page source and finds a block of 40 town names inside a footer paragraph styled with a font size of 0. A developer who built the site in 2019 had added it.

The fix takes 3 steps. First, delete the hidden block. Second, build a real “Areas we cover” page with useful facts about each area, linked in the menu. Third, send a reconsideration request that explains what was removed. The plumber also checks the rest of the site for hidden links, in case the same developer left more.

## How to check it {#how-to-check-it}

1. Press Ctrl and A on the page to select everything. Hidden text in the same shade as the background often shows up when highlighted.
2. View the page source and compare it with what you see. Words in the source that never appear on screen, outside menus and panels, need a look.
3. Run our [broken link checker](https://ursy.com/broken-link-checker/) to list every link on the page, then spot ones you do not recognise. The [broken link checker guide](https://ursy.com/guides/how-to-use-broken-link-checker/) explains the report.
4. Use our [link rel checker](https://ursy.com/webmaster-tools/link-rel-checker/) to see each link’s attributes.
5. Check the Manual actions and Security issues reports in Search Console.
6. For a full site, a regular [SEO audit](https://ursy.com/wiki/seo-audit/) or our [SEO checker](https://ursy.com/seo-checker/) helps spot pages that changed.

If [Bing](https://ursy.com/wiki/bing/) sends you visitors, check [Bing Webmaster Tools](https://ursy.com/wiki/bing-webmaster-tools/) as well, since it keeps its own reports on your site.

## Questions {#questions}

### Is text in a mobile menu hidden text? {#is-text-in-a-mobile-menu-hidden-text}

No. Menus that open on a tap are normal design. They are there for people.

### Can I hide text for screen readers? {#can-i-hide-text-for-screen-readers}

Yes. Google’s spam policies list screen reader text as allowed when it improves the experience for screen reader users.

### Will removing hidden text bring rankings back? {#will-removing-hidden-text-bring-rankings-back}

Not always at once. If there was a manual action, Google has to review your request. If not, the page is judged again on its next crawl.

## Related words {#related-words}

- [Negative SEO](https://ursy.com/wiki/negative-seo/)
- [Google penalty](https://ursy.com/wiki/google-penalty/)
- [Doorway page](https://ursy.com/wiki/doorway-page/)
- [White hat SEO](https://ursy.com/wiki/white-hat-seo/)

## Sources {#sources}

- [Google Search Central: spam policies](https://developers.google.com/search/docs/essentials/spam-policies), checked 25 November 2026
- [Google Search Central: AI features and your website](https://developers.google.com/search/docs/appearance/ai-features), checked 25 November 2026
- [MDN: the hidden attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/hidden), checked 25 November 2026

*Updated 25 November 2026 by URSY.*
