Mobile app version of vmapp.org
Login or Join
Welton855

: Will Dynamically added alt tag and title tags to image or any tag counted in SEO crawling In my page I need to add alt tags and Title tags from JavaScript after the DOM is loaded. So

@Welton855

Posted in: #GoogleSearch #Html #SearchEngines #Seo

In my page I need to add alt tags and Title tags from JavaScript after the DOM is loaded.

So I would like to check whether these dynamically added values will be considered during Google SEO audit.

If they are not counted, what is the solution to get dynamically appended alt tags considered.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

Google and other search engine used to crawl/read source code from top to bottom. They didn't resolve or see the output of JavaScript code before. But as the requirements of user side Javascript is increasing, the support for this is added in google bots.

Google and other search engine crawlers read source code and process the Javascript dynamic content. Which means google will be able to understand your dynamic content that is loaded by Javascript.

Conclusion: You are good to go with Javascript dynamic content loading.
The solution to this is, you can use the backend language to load the alt and title tags dynamically example PHP.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme