最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to find images in lazyload to set alt attribute?

programmeradmin2浏览0评论

i am working the SEO of my website and decided to use lazyload on the images. Problem is that when you run f12 Google Audit, the report tells me that every lazyloaded images are missing the "alt atrtibute". The thing is i cant find the code to set the attribute. Where can i change it? Thanks in advance.

i am working the SEO of my website and decided to use lazyload on the images. Problem is that when you run f12 Google Audit, the report tells me that every lazyloaded images are missing the "alt atrtibute". The thing is i cant find the code to set the attribute. Where can i change it? Thanks in advance.

Share Improve this question asked Dec 11, 2019 at 19:41 Wanderson GalpãoWanderson Galpão 331 silver badge6 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

WordPress has multiple images in multiple locations. Those can be images inside of posts, featured images, icon images in menus, product images, logo image in header, images in footer for branding and many more. Therefore it is not possible to answer your question specifically with little details that you given.

Generally speaking you can use an SEO plugin such as Rank Math: http://rankmath/ It will allow you to add alt text to certain types of images.

发布评论

评论列表(0)

  1. 暂无评论