Mobile app version of vmapp.org
Login or Join
Candy875

: Are there any length limitations for image alt or title property? I'd like to insert an image on a webpage with an alt property. But the text length I'd like to use for this alt property

@Candy875

Posted in: #AltAttribute #Html #Seo #TitleAttribute

I'd like to insert an image on a webpage with an alt property. But the text length I'd like to use for this alt property is pretty long: about 200 words (slightly less than 1000 characters). Moreover this text has some line breaks.

I have some doubts that such a long alt property won't be appreciated by search engines. So do I need to follow some guidelines regarding the length of an alt property?

I have the same question regarding the title property.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Candy875

2 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

So do I need to follow some guidelines regarding the length of an alt
property?


There is no set maximum length for the value of alt tags, however, most advise for the benefit of sight impaired users to keep it under 125 characters - see this and this.


I have the same question regarding the title property.


In regards to title attributes, like with the alt text, there is no set maximum length. However, since this is used for tooltip text for an element, usability for the visually impaired should also be considered as the W3 covers here, suggesting that the 125 character size would similar apply. You may also find through browser compatibility testing, that the tooltip will get cutoff after a certain length, varying by browser.

Since title property might also refer to title element, search engines like Google will truncate your title element, or even compose their own based on your content, if it's too long. As suggested here by MOZ, the goal should be to keep it to under 70 characters or less:


Title Tag: Best Practices for Length

Aim for title tags containing fewer than 70 characters. This is the
limit Google displays in search results. Title tags longer than 70
characters may be truncated in the results, or search engines may
choose to display different text from the document in place of the
title tag. Recent experiments have shown that the number of characters
displayed in the search results may also vary based on—among other
things—the width in pixels of each letter. 70 characters is still a
good general guideline for length, though.

10% popularity Vote Up Vote Down


 

@Kristi941

The alt attribute's SEO value is minimal to begin with. You can also be sure that, like page titles, anchor text, etc, at some point search engines stop reading that content and/or devalue it.

Alt attributes are supposed to be short and descriptive so it sounds like you are misusing that attribute. You probably should be using the longdesc attribute instead which allows for more verbose content.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme