Screpy SEO platform logo New Screpy is coming πŸŽ‰

No [alt] Attributes in Images

The absence of alternative text explaining the purpose and nature of the image you share as content on your website is a problem for your site. Fix it!

Reviewed by Screpy Editorial Team

The Google Lighthouse system easily detects an image element with no alt text on your website. After this process, this element will be flagged. In this way, you can see it easily. Here is an image of the audit:

alt Attributes in Images

How to pass the audit: Adding Alternative Text to Images

It is necessary to add an alternative text to each image element to pass the audit. In this way, even if the image has a problem loading on the site, the alt text that will appear will provide users with detailed information about what the image is about.

The alternative text of image element has should be extremely short. Don’t write a long sentence here. What you have to do is use a hashtag-like phrase that explains what the image is about. You can also use underscores in the phrase.

Here is an example of an img element with alt text added:

Audits set-up in Chrome DevTools

Sometimes, images don’t have a clear purpose. Since the images used for decorative purposes do not have a function, you can leave their alt text empty. In this case, the text will appear as β€œβ€ in HTML. By doing this, you will remove the image in question from the accessibility tree. Here is an example for this:

No [alt] Attributes in Images technical SEO task example from Screpy

How to create an alt text for img element?

You can create alt text for an img element by taking care of the following tips:

  1. What alt text does is to briefly state the purpose and function of the image.
  2. In addition, blind users should only be able to understand what the image is about through text. So you need to create a text that gives both simple and comprehensive information.
  3. Finally, avoid non-specific words that can be used for almost any image. For example, do not write words such as ” image ”, ” chart ”, ” diagram ” in the bottom text.

Related tasks

Solve the errors logged to the console

If there are error warnings about your website within the console offered by the browser, you need to follow a few basic steps to resolve them.

Tuesday, December 22, 2020

Title Tags Not Found

Are you encountering the title meta tag not found the issue? You can solve it right away! Here are the causes and importance of the problem in detail.

Sunday, December 20, 2020

Robots.txt Not Found

If you are encountering the Robots.txt not found error, you can create your file immediately by paying attention to the steps below. Discover the details now!

Sunday, December 20, 2020

Not Crawlable Pages

Have the same problem with crawlability issues? Let’s see what you can do for your website to be indexed. Here are the ways and solutions!

Sunday, December 20, 2020

Meta Description Not Found

Are you getting a meta description not found a warning about your web page? Let's figure it out! Why is meta description important, how to pass the audit? Examine!

Sunday, December 20, 2020