Validation
The site_validate tool checks the working copy of a site and for each problem gives the file, line, code fragment and a hint on how to fix it. You also get a short version of this check after every publication.
Problems have two levels:
- Name
Error- Type
- fix before publishing
- Description
Something is broken for visitors or breaks the server’s rules, for example a dead link, a missing file or an image without a description.
- Name
Warning- Type
- usually worth fixing
- Description
It concerns accessibility, search ranking or speed. The site works, but could be better.
Publishing is never blocked by the validation result. The recommended course: fix all errors, then the warnings that matter, and publish.
Paths in link and file checking are case-sensitive, and the address /about
is treated as the file about.html. If a file is named differently from the
reference, the error suggests the right name.
Errors
| Code | What it means | How to fix |
|---|---|---|
no-index | The site has no index.html file, so the home page shows a 404 error. | Create index.html. |
missing-title | The page has no <title> tag. | Add a page title. |
missing-lang | The <html> tag has no lang attribute. | Add a lang matching the site language, e.g. <html lang="en">. |
missing-viewport | No viewport meta tag, so phones show a shrunken desktop version. | Add <meta name="viewport" content="width=device-width, initial-scale=1">. |
img-no-alt | An image without an alt attribute: screen readers read out the file name. | Add a description; an empty alt="" only for a decorative image. |
duplicate-id | The same id used more than once. | Give elements unique identifiers. |
broken-link | A link leads to a page that does not exist. | Create the missing page or fix the link. |
missing-file | The page loads a file (image, CSS, JS, font) that does not exist. | Add the file or fix the path. |
mixed-content | A resource loaded over plain http://, which the browser will block on an HTTPS site. | Change the address to https:// or add the file to the site. |
Warnings
| Code | What it means | How to fix |
|---|---|---|
title-length | The title is shorter than 10 or longer than 60 characters. | Adjust the title length. |
lang-mismatch | The lang attribute differs from the site language in the settings. | Use the site language, or change the site language in site_update_settings if this subpage is meant to be in another one. |
zoom-disabled | The viewport blocks pinch zoom, which low-vision people rely on. | Remove user-scalable=no and maximum-scale. |
missing-description | No meta description. | Add a description of 50–160 characters. |
description-length | The description is shorter than 50 or longer than 160 characters. | Adjust the length. |
missing-open-graph | Open Graph tags (og:title, og:description, og:image) are missing, so links shared on social networks and messengers have no preview. | Add the missing tags. |
og-image-relative | The og:image address is relative, and social networks ignore it. | Use a full https://… address. |
missing-h1 | The page has no <h1> heading. | Add one <h1>. |
multiple-h1 | The page has several <h1> headings. | Keep one. |
img-no-size | Images without width and height, so the page “jumps” while loading. | Add dimensions (fragments from asset_* have them). |
link-no-text | A link without text: a screen reader will read only “link”. | Add text or an aria-label. |
placeholder-link | A link goes nowhere (href="#" or empty). | Put in a real address. |
broken-anchor | A link to an #anchor that is not on the page. | Fix the id or the link. |
external-dependency | The page depends on another server (for example a CDN). Exception: Google Fonts. | Put the resource in the site files. |
duplicate-title | The same title on several pages. | Give the pages different titles. |
duplicate-description | The same description on several pages. | Write separate descriptions. |
heavy-image | An image larger than 500 KB. | Add it again through asset_upload or asset_fetch (WebP, maxWidth about 1200, responsive). |
heavy-file | An HTML, CSS or JS file larger than 200 KB. | Split or slim down the file. |
html-syntax | An HTML syntax problem (the first few are reported). | Fix the indicated fragment. |
The free-plan check
Sites on the free plan are checked for credential theft and malicious code before they are published. The check is automatic (rules, no AI model) and covers .html and .js files. Its findings show up in site_validate as errors, and site_publish refuses to publish until you fix them. Paid plans are not checked.
| Code | What it means | How to fix it |
|---|---|---|
password-field | A password field. A static site cannot check passwords, so such a field is normally used to steal them. | Remove the field. If visitors must sign in, link to the real service. |
foreign-form | A form (or formaction) that sends data to another site. | Remove the form, or use a mailto: link. |
external-script | A script loaded from another domain. The free plan allows only scripts that are files of the site itself. | Save the script in js/, or remove it. |
redirect | A redirect to another site (meta refresh or location in JavaScript). | Replace it with an ordinary link. |
brand-impersonation | A well-known brand (bank, courier, shop) together with sign-in fields or a bait phrase such as “verify your account”. | Remove the brand name, or the fields and the phrase. A brand name alone in the text is fine. |
eval | eval(...), new Function(...) or writing decoded code into the document. | Write the code plainly. |
obfuscated-js | Obfuscated JavaScript. | Use readable code. |
The message gives the file, the line and the fix, so the assistant can usually correct the site itself. If you think a refusal is a mistake, write to the operator (Contact).
Ask the assistant: “Check the site and fix all errors”, or “Check the site and show me the warnings before you change anything”.

