JavaScript rendering · Raw and rendered HTML

Meta description only in the rendered HTML

The raw HTML of this page has no meta description. A script adds one after load, so crawlers that do not render JavaScript report it missing.

How this page is built

The description block is empty in the raw HTML. A script in the head creates the meta description and adds it to the head. Crawlers that read only the raw HTML report the description as missing, which is the same fault seen without rendering.

Why it matters

Google may use the meta description for the snippet in results, but it reads it from the rendered HTML only after rendering. Other search engines, social networks and many crawl tools do not render, so they find no description and write their own from the page text.

How to check it

Compare the raw HTML (view source) with the rendered HTML (the Elements panel in developer tools, or the URL Inspection tool in Search Console). Crawl tools that render JavaScript can store both versions and report differences between them. Here, the raw HTML has no meta description and the rendered HTML has one.

How to fix it

Put the meta description in the HTML the server sends. With a front-end framework, render head tags on the server or pre-render pages.

Back to all tests