What Is Alt Textual content?
Alt textual content (various textual content) is a written description of a web-based picture that gives an various when the picture is inaccessible to the person.
Alt textual content offers display screen readers one thing to learn aloud to customers with visible impairments, helps search engine bots perceive picture contents, and should seem on a webpage when the picture fails to load.
(That is in distinction to an picture caption. Which at all times seems on the web page.)

Alt textual content is usually added by way of the alt attribute in a picture’s HTML code.
Like so:
<img src=“image-file-example.jpg” alt=“Alt textual content goes right here”>
That’s why it’s typically often known as the “alt attribute” or “alt tag.”
Most content material administration programs (CMSs) have a devoted area for alt textual content. So that you don’t have to edit the HTML instantly.
Right here’s an instance from WordPress:

You may as well use picture alt textual content on social media platforms like Twitter.
Right here’s an instance from Canine Belief:

Why Is Alt Textual content Vital?
Alt textual content is vital as a result of it makes pictures extra accessible to folks and search engines like google. Even once they can’t be displayed.
If you happen to don’t present acceptable alt textual content, folks utilizing display screen readers can’t get data from pictures. This unfairly excludes customers with visible impairments. Which may hurt your model repute, site visitors, and conversion fee.
Plus, internet accessibility is sweet for website positioning.
Google and different search engines like google use alt textual content to find out what pictures painting (or hyperlink to). This will improve their understanding of your content material and subsequently result in increased rankings.
Alt textual content is especially useful for picture website positioning—i.e., rating excessive in Google Photographs and different picture outcomes.
The sort of publicity can drive worthwhile site visitors to your web site.
For instance, the search engine outcomes web page (SERP) for “corgi puppies” is dominated by pictures. Which hyperlink by means of to the homeowners’ websites.

Many of those pictures use the key phrase “corgi pet” or “corgi puppies” of their alt textual content.

As a result of alt textual content is vital in on-page optimization, it’s typically known as “website positioning alt textual content.”
The right way to Write Alt Textual content (Greatest Practices)
Discover ways to write alt textual content that improves your web site’s accessibility and website positioning.
We’ve rounded up three alt textual content greatest practices that will help you write good alt textual content:
1. Add Alt Textual content to the Proper Sorts of Photographs
Don’t write alt textual content for purely ornamental pictures (just like the one beneath). These descriptions may cause distraction and confusion for customers with visible impairments, slightly than including helpful context.

As an alternative, present a null (empty) alt attribute. Like so:
✅ <img src=”decorative-image-title.jpg” alt=””>
This tells display screen readers to disregard the picture.
If you happen to miss the alt attribute altogether (as beneath), assistive applied sciences might learn out the picture file identify as a substitute. Making a poor person expertise.
❌ <img src=”decorative-image-title.jpg”>
Do write alt textual content for all different pictures—pictures that present extra that means to the reader.
For instance:
- Photographs of helpful textual content (e.g., screenshots of social media posts)
- Icons that denote performance (e.g., procuring cart icons)
- Pictures that present supplementary data (e.g., a smartphone dimension comparability)
- Charts that illustrate in any other case unmentioned information
- Graphics that display processes (e.g., find out how to maintain chopsticks)
Tip: If you happen to draft content material in Semrush’s website positioning Writing Assistant, the software will remind you so as to add picture alt textual content. It additionally supplies readability, website positioning, originality, and tone of voice ideas.

2. Be Descriptive But Concise
Alt textual content needs to be “probably the most concise description attainable of the picture’s objective,” in response to the Net Accessibility Initiative (WAI).
What’s vital about a picture is determined by context. So take the encompassing content material and viewers under consideration when writing alt textual content.
Contemplate the picture beneath. The alt textual content “Lady doing yoga” can be acceptable in lots of contexts.
However in a exercise information, an in depth description of the lady’s pose might be needed.

When writing alt textual content, take into consideration the way you’d describe a picture to somebody in a cellphone dialog.
Don’t embrace the next particulars in your alt textual content:
- Photograph credit and copyright data—embrace within the picture caption as a substitute
- Redundant phrases like “picture of” or “picture of” (except the format is especially related)
- Data that each one your readers want—add this to the caption or physique content material as a substitute
- Data that’s already supplied by way of the picture caption or physique content material
Tip: Some folks advocate sticking to a most of 125 characters when writing alt textual content for pictures. That’s as a result of many assistive applied sciences cease studying alt textual content at 125 characters. Nevertheless it’s not a strict restrict. If it’s worthwhile to write rather more, see the WAI’s recommendation on complicated pictures.
3. Embody a Key phrase
Including related key phrases to alt textual content may help your pictures rank in Google picture outcomes.
For instance, this alt textual content tells Google that our advertising and marketing funnel information accommodates a useful advertising and marketing funnel illustration:

That means it might be a related Google picture end result for queries associated to advertising and marketing funnels.
To know which key phrases to incorporate in alt textual content, you’ll have to do some key phrase analysis.
Strive conducting key phrase analysis with Semrush’s Key phrase Magic Instrument.
Simply enter a key phrase associated to your picture then click on “Search.”

Go to “Superior filters” then “SERP Options.”
Then verify “Picture” and “Picture pack” earlier than clicking “Apply.”

The software will present key phrases that include your beginning key phrase (or a variation) and generate picture outcomes.
These phrases and phrases are nice candidates on your picture’s website positioning alt textual content. So long as the picture will meet searchers’ wants.

Alt Textual content Examples
Let’s have a look at three alt textual content examples that comply with greatest practices.
Instance 1: NASA
This weblog submit is a couple of picture taken by the Hubble House Telescope. NASA supplies extremely descriptive alt textual content to make sure customers with visible impairments can perceive what’s within the picture.

Alt textual content: Spiral galaxy with brilliant core, spiral arms, and a slight glow surrounds it. Beneath, strands product of brilliant blue patches path down like tentacles. Galaxy is simply touched by a second, faint galaxy on left.
Instance 2: Bureau of Web Accessibility
The Bureau of Web Accessibility homepage options logos of the manufacturers it’s labored with.

When customers don’t have entry to those pictures, the alt tags present a substitute.

Instance 3: The Guardian
On this product assessment, The Guardian makes use of alt attributes and picture captions to offer readers and search engines like google the knowledge they want.

- Alt textual content: The again of the Pixel 7 Professional exhibiting the aluminium digicam bar.
- Picture caption: The digicam bar design nonetheless divides opinion however there isn’t a doubt it stands out towards the group. {Photograph}: Samuel Gibbs/The Guardian
Discover that the alt textual content acts as a alternative for the picture. Whereas the caption supplies further data, such because the picture credit score.
The right way to Discover & Repair Lacking Alt Textual content
To verify if there’s lacking alt textual content for pictures in your web site, use Semrush’s Web site Audit software.
Enter your area and click on “Begin Audit.”

Then comply with the prompts to configure the software.
As soon as the audit is prepared, click on on the “Points” tab.

You’ll see a listing of errors, warnings, and notices.
Seek for “alt attributes.” Then see when you’ve got the “# pictures don’t have alt attributes” warning.
If you happen to do, click on the “# pictures” hyperlink to see affected URLs.

Click on the “open hyperlink” icon beside every web page title to view any web page or picture.

Discovered a picture that doesn’t want alt textual content? Click on the attention icon to cover the warning.

Or use the filters, verify containers, and “Cover chosen” button to take away warnings in bulk.

Able to work in your alt textual content? Use the verify containers and “Ship to…” button to create duties within the Semrush CRM, Trello, or Zapier. (It’s possible you’ll have to arrange the corresponding integration first.)

Then add lacking alt textual content by way of your CMS.
Make sure that to rerun your Web site Audit afterward. Simply click on on the gear button and hit “Rerun marketing campaign.” And watch your picture alt textual content warnings disappear.
