“Document does not have a meta description”
-
I have switched to SEOPress because Yoast SEO causes a problem with the AMP title tag in Lighthouse and Google Analytics. There’s no such issue with SEOPress, but somehow Lighthouse reports “Document does not have a meta description” even on the desktop website.
Looking at the source, I can see:
<meta name=”description” content=”Internet of Things มีแอพพลิเคชั่นมากมายรวมถึงการเก…” />So It’s there, but when using JavaScript code to retrieve the description it fails:
var element = document.querySelector('description'); alert(element.description);The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘“Document does not have a meta description”’ is closed to new replies.