top of page

What are alt tags and how to optimize them for SEO

13 december 2024

|

/ Articles  -  

Best Practises

Alt tags are important for both web accessibility and SEO. They provide descriptive text for images, aiding visually impaired users and ensuring compliance with standards like WCAG. Alt tags also help search engines interpret your content, boosting rankings and driving more traffic.

Google homepage mockup

How alt tag works

Alt tags, or alternative tags, are descriptive text added to the HTML code of an image. If you've ever seen text appear when an image fails to load on a website, that’s the alt tag at work.



Why alt tags matter for SEO


Boost search engine rankings

Search engines can’t visually analyze images, but they can interpret context through alt text. Including descriptive and relevant alt text helps search engines understand your content, improving your rankings.

Google even uses alt text to decide if an image is relevant enough to show in search results, driving more traffic to your site.


Optimizing for visual search

As Google’s visual search capabilities evolve, more users are relying on images to find information. Alt text gives you an edge in appearing in these image-focused results, ensuring you stay competitive in the search landscape.


Improving On-Page SEO

Alt text contributes to your page's overall relevance. When used correctly, it supports your keywords without overloading your text, helping you rank higher for your target words.




How to write alt text that works

Crafting alt text might sound straightforward, but it takes some finesse to do it well. Here are the best practices:


Use keywords wisely

Incorporate keywords naturally into your alt text, but avoid overloading it with unnecessary repetition and keyword spam since that might hurt your ranking.


Bad example: “Restaurant food menu restaurant food delicious food”
Good example: “Close-up of a gourmet pizza with fresh basil and mozzarella at an Italian restaurant”

Be consise

Screen readers and search engines usually stop reading alt text after 125 characters per image, so keep it concise and descriptive.


Skip the obvious

There’s no need to state that your image is an image, it’s implied. Instead, focus on describing the image and, if possible, include relevant keywords.



Poodle puppy playing with a toy on a sunny day

Bad

This is an image of a dog

Better

Dog playing outside

Best

Poodle puppy playing with a toy on a sunny day


If you think it's still unclear, imagine how you would describe what you're seeing over the phone to a friend.




Advanced tips for image optimization

To get the most out of your images, pair great alt text with these additional SEO strategies:


Optimize file names

Rename your image files with descriptive, keyword-rich names. For example:

  • Bad: IMG12345.jpg

  • Good: modern-office-brainstorming.jpg


Compress images without losing quality

Smaller file sizes mean faster website load times, which is another ranking factor for SEO. There are great online tools to help you out with this. Tools I regularly use.


Think mobile-first

On phones, alt text becomes even more critical. This since an image failing to load is more likely to happen on a phone.




Final thoughts

Alt tags aren’t just an accessibility tool, they’re essential for improving your SEO. By crafting short, descriptive alt text to your images and strategically adding relevant keywords, you’re already setting your website up for success.

To maximize the impact, combine optimized alt tags with other image strategies, like compressing your images. Each small effort adds up, helping your site rank higher and deliver a better experience for all users.


Remember, in the world of SEO, every little detail counts. Alt tags might be small but their impact is huge.

Screenshot of design website

Your website’s homepage is trying to do too much

Your website’s homepage is trying to do too much

Web & UX Design

Mockup Chat GPT

AI bubble burst - What comes next

AI bubble burst - What comes next

Tech news

Google homescreen on a desktop

Search is becoming conversational

Search is becoming conversational

Marketing

Illustration of multiple windows

Why people don’t read your content (what they do instead)

Why people don’t read your content (what they do instead)

Web & UX Design

Linkedin company page screenshot

5 things I've learned from working with linkedin marketing

5 things I've learned from working with linkedin marketing

Marketing

2 professional website hero sections

Why your website feels cheap (even if it wasn’t)

Why your website feels cheap (even if it wasn’t)

Web & UX Design

Vill du veta
mer om mig?

Explore my work

Webbdesign

Norrklint är ett svenskt fintechbolag som hjälper små och medelstora företag att hitta finansieringslösningar. För deras varumärke arbetade jag med att ta fram en ren och modern visuell identitet som förmedlar förtroende, tydlighet och professionalism. Designen fokuserar på intuitiva gränssnitt och tydlig kommunikation, vilket gör komplex finansiell information enklare att förstå för användarna.

Norrklint

Norrklint är ett svenskt fintechbolag som hjälper små och medelstora företag att hitta finansieringslösningar. För deras varumärke arbetade jag med att ta fram en ren och modern visuell identitet som förmedlar förtroende, tydlighet och professionalism. Designen fokuserar på intuitiva gränssnitt och tydlig kommunikation, vilket gör komplex finansiell information enklare att förstå för användarna.

Tools used

Wix Studio & Recraft

Webbdesign

Karlsson Bil är en bilhandlare baserad i Varberg som köper, säljer och renoverar fordon, bland annat den exklusiva serien Lignon Scandinavia med handbyggda Land Rover Defenders.

I projektet arbetade jag med att ta fram en webbdesign som kombinerar den klassiska Defenderns arv med ett modernt och stilrent uttryck. Fokus låg på att skapa en smidig och intuitiv upplevelse där besökare enkelt kan utforska aktuella fordon, läsa om specialbyggda renoveringar och få en tydlig bild av processen kring köp och försäljning.

Karlsson bil

Karlsson Bil är en bilhandlare baserad i Varberg som köper, säljer och renoverar fordon, bland annat den exklusiva serien Lignon Scandinavia med handbyggda Land Rover Defenders.

I projektet arbetade jag med att ta fram en webbdesign som kombinerar den klassiska Defenderns arv med ett modernt och stilrent uttryck. Fokus låg på att skapa en smidig och intuitiv upplevelse där besökare enkelt kan utforska aktuella fordon, läsa om specialbyggda renoveringar och få en tydlig bild av processen kring köp och försäljning.

Tools used

Wix Studio & Custom code

Webbdesign & Branding

Carin Fredén är en Malmöbaserad fotograf med fokus på högkvalitativ företagsfotografi och visuell varumärkeskommunikation. Hennes webbplats presenterar hennes arbete och tjänster och hjälper företag att stärka sin visuella identitet genom bilder.

Carin Fredén

Carin Fredén är en Malmöbaserad fotograf med fokus på högkvalitativ företagsfotografi och visuell varumärkeskommunikation. Hennes webbplats presenterar hennes arbete och tjänster och hjälper företag att stärka sin visuella identitet genom bilder.

Tools used

Wix Studio, Figma & kod

Webbdesign

Tek-ture är ett banbrytande arkitektföretag med fokus på modern och hållbar design. För detta projekt återskapade jag deras webbplats från grunden och såg till att den behöll den ursprungliga futuristiska känslan och funktionaliteten.

Tek-ture

Tek-ture är ett banbrytande arkitektföretag med fokus på modern och hållbar design. För detta projekt återskapade jag deras webbplats från grunden och såg till att den behöll den ursprungliga futuristiska känslan och funktionaliteten.

Tools used

Wix Studio

bottom of page