What is

alt text?

Image descriptions that make your website accessible to everyone, and help Google understand your images.

What is alt text?

Alt text, short for alternative text, is a description of an image added to the HTML code. It is read aloud by screen readers for users who can't see the image, and is displayed if the image doesn't load. Alt text also helps search engines understand what the image shows, which gives better visibility in image search.

In the code it goes in the alt attribute of the image element. In most publishing tools you'll find a dedicated alt text field when you upload or insert an image.

Why does alt text matter?

  • Accessibility: alt text is a basic requirement for universal design, and many Norwegian organisations are required by law to follow the accessibility rules.

  • SEO: Google can't see images the way humans do, and uses alt text as an important signal about the content.

  • Image search: good descriptions give a better chance of being found in Google Images.

  • Context: alt text strengthens the connection between the image and the surrounding text.

Alt text is one of the few measures that makes a website better for both people and search engines at the same time. It is also easy to get right.

How to write good alt text

  • Describe what is actually shown, concretely and briefly. One sentence is usually enough.

  • Think about what the image means in context. Is it a product, a person or a chart?

  • Only use keywords where they describe the image naturally. Don't stuff the alt text with keywords.

  • Don't start with “image of” or “photo of”. The screen reader already says it is an image.

  • For charts and diagrams, describe the main point, and ideally explain the numbers in the text.

  • Purely decorative images can have empty alt text (alt=""), so screen readers skip them.

Alt text examples

Weak: “image1.jpg” or “shoes shoes running shoes buy shoes”

Better: “Blue running shoe with a white sole, seen from the side”

Best in an online store may be to add what makes the product different, such as “Blue running shoe with reflective details and extra heel cushioning”. The description helps both a blind customer and a search engine understand what is being sold.

Alt text is part of ongoing on-page SEO. If you have a large image archive, it pays to prioritise product images and images on your most important landing pages first. Also remember that large image files affect load times, so compression and the right formats belong in the same clean-up.

Related terms

  • Universal design: alt text is a basic requirement for accessible websites.

  • SEO: descriptive alt text gives Google a better understanding of the content.

  • Structured data: another way of describing content in a machine-readable way.

  • Core Web Vitals: images also affect load times and user experience.

See all the terms in the glossary.

Are your images accessible to everyone?

We review your images and alt texts and make sure they work for both users and search engines.