Alternate Text

Why Trust Techopedia

What Does Alternate Text Mean?

Alternate text (Alt text) is a text description that can be added to an image's HTML tag on a Web page. It is used when the image in the Web page cannot be displayed, in which case the Alt text is shown instead. It is also displayed when a user mouses over the image. Alt text is one of the important attributes required by the image tag. Proper implementation of Alt text can help increase Web accessibility. Alt text is also very important for search engines, which cannot determine the content of images, and must rely on Alt text to determine their contents.

Advertisements

Techopedia Explains Alternate Text

Alt text can be represented in two ways:

  1. Within the image element’s alt attribute
  2. In the surroundings or in the context of the image

The functions of Alt text are:

  • It's easily read by screen readers in place of images. This allows the content to be accessed by visually impaired people or people with other cognitive disabilities.
  • It is placed instead of the image in browsers that cannot support the image display or are not set to view images
  • It applies a description and semantic meaning to images. This can easily be read by search engines and is used to determine the content of an image.

The following recommendations apply to using Alt text :

  • For decorative images, Alt text should be kept blank.
  • For images containing text, Alt text needs to replicate the full text.
  • For graphs and charts, Alt text needs to summarize the trend depicted.
Advertisements

Related Terms

Margaret Rouse
Editor

Margaret jest nagradzaną technical writerką, nauczycielką i wykładowczynią. Jest znana z tego, że potrafi w prostych słowach pzybliżyć złożone pojęcia techniczne słuchaczom ze świata biznesu. Od dwudziestu lat jej definicje pojęć z dziedziny IT są publikowane przez Que w encyklopedii terminów technologicznych, a także cytowane w artykułach ukazujących się w New York Times, w magazynie Time, USA Today, ZDNet, a także w magazynach PC i Discovery. Margaret dołączyła do zespołu Techopedii w roku 2011. Margaret lubi pomagać znaleźć wspólny język specjalistom ze świata biznesu i IT. W swojej pracy, jak sama mówi, buduje mosty między tymi dwiema domenami, w ten…