What are alt tags and how to optimize them for SEO
/ Articles -
Best Practises
December 13, 2024
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.

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.

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.
You might also like

Is Arc browser dead? Here’s what’s really happening
If you’ve been using Arc and love its clean design, smart tab management, and overall modern take on web browsing, you might have heard rumors that it’s shutting down. But is Arc browser actually dead? Not quite, but it’s in an uncertain place.
Here’s what’s happening with Arc, why The Browser Company (the team behind Arc) is shifting focus, and what it means for users like you.

Why SEO seems complicated (and why it’s not)
If you've ever felt like SEO is a never-ending maze of changing rules, secret techniques, and conflicting advice, you're not alone. But the truth is, SEO isn’t as complex as people make it seem. The real challenge? Cutting through the noise and understanding what actually works.
Let’s break down why SEO seems complicated, the myths that hold people back, and the simple truths that drive real rankings.

UX Design is dead - long live UX Design
The rise of AI has sparked a lot of fear in the design industry and other creative fields, and UX design is no exception. Will AI replace designers? The short answer: no. But the long answer? Designers who don’t embrace AI might find themselves replaced by those who do.

How I stay updated on the fast-changing tech world
Keeping up with the ever-evolving tech landscape can feel like chasing a moving target. Every week, there’s a new tool, trend, or breakthrough that promises to revolutionize the industry. For me, staying updated on tech trends isn’t just about keeping pace, it’s about staying inspired and informed as a designer, communicator, and tech enthusiast. Here’s how I do it:

How to create a unique and memorable brand
A strong brand isn’t just a logo or a catchy slogan; it’s how people perceive and connect with your business. Brands with a clear identity attract loyal customers, command higher prices, and stand out in crowded markets. Think about big names like Nike or Apple. These companies aren’t just selling products; they’re selling experiences, values, and trust.
Explore my work
Copy & Web Design

Campus Webbyrå
Campus Webbyrå, a digital agency for small and medium-sized businesses, needed a website redesign to better showcase their services and enhance user engagement. The goal was to create a user-friendly, visually appealing website that effectively communicates their unique position as an agency created by students.
Tools used
Wix Studio
Web Design

Campus Vänner
Campus Vänner, a non-profit organization based in Helsingborg, connects university students with local companies in the Skåne region. They needed a modernized brand identity and an enhanced online presence to appeal to their target audiences - students and businesses.
Tools used
Wix Studio & Photoshop