reliability = 3475828157, whatappweb, khakabo, bedeutungsschwanger, kathakali, съдържание, ecologic, desogen, posesion, 05038163995, planningpme, 8889187313, waimart, vental, teletech, arkgrit, scanogram, figurella, sitnsleep, 05057844087, studenterhuset, aniffiea, conjyclear, 0120197491, hatterkepek, ticarlinat, монастирище, fisicoculturistas, housenow, vitybell, bastain, езопротект, mongoloid, biggest, 3533932864, снукър, yahoo, transluncani, celes, jnkmn, 4712423, namin, 3282470573, fdown, anvitra, الساقيه, teamécses, velyvelo, heterocyclic, скрічери, primosale, kifli, батерија, majagua, tempa, saetta, antiantiart, primijeniti, majomparádé, kannda, gobelé, 4347336, πουκαμισασ, braes, educlimber, icyveins, أماكن, 0120362013, wpnpl, جاكيت, 08007590420, 8007435000, algifor, pimxec, compresometro, 09090115080, rueca, trofee, 5128379500, analorgasmus, 3466085126, biberón, 8559731040, română, ángela, agapantos, mumla, brēmanis, bandaje, torrentes, shmungus, penpalsnow, fióka, flyflv, αλαχιωτη, wikiki, astigmatic, esend, microfalosomia, مانزوكيتش, 3883511600, rudzka, baustellenabsicherung, corre, kleist, skilhunt, histaminum, inizi, заліщики, djakovica, sparger, predecible, украса, audiible, 18772338552, sparkofphoenix, cuadro, scorts, 0647916881, weltgeschichte, konfliktuskezelés, utnba, 0120979880, bancarización, bujor, gymlab, аккаунт, 10328799164586114558, märchenfilm, tella, agripin, rygle, datavent, especializaciones, restograf, shararat, тіколін, vinhos, σινδυ, hilfebedürftigkeit, videosnporno, syanai, 8089131751, lievance, 2486345, يوريفين, varzim, хлоропирамин, playnation, коновалець, metafizika, focimeccs, tajador, пінка, rapeludt, terrestres, avantouinti, squalid, αγρινιοπρεσ, 3895626469, novoxican, 15061240797687996013, 8322395437, bodrio, 696854, 6162883500, increíble, glora, pedometru, pfeige, ailefroide, casinoplusph, colisprive, 08072820970, lablink, 3392328, фастофен, ulaval, rajmont, sterogyl, 3444355898, дунав, 3206162134, полифем, 05031250677, kondipark, incrst, clavadista, 30683032227, 07026559446, aerolineas, afrikaans, preludyo, plastiek, kokisch, 3895761280, 0362748232, artisou, ontario, 0364339748, arquera, 3509332441, sgdtwd, метрополь, vihannespunkki, lukang, ієрсиніоз, 3284350016, sailauf, 3270375146, listränta, evenium, byviruzz, симитли, escualita, молоковідсмоктувач, lella, 43224478, árvacsalán, branddreieck, blowpop, evlay, buhol, chodsko, lievegem, traktorilavetti, šmykľavka, топлофикация, adarutovideo, λεικερσ, asignado, 0120406278, 3711852646, flowerchimp, classroomed, uccumo, чакры, ангіографія, 3317477976, tandberg, 6789997897, ardauli, الرخام, oleandar, quatres, profile, comentarii, cfiax, mietschuldenfreiheitsbestätigung, auperdrug, 7242864981, 3508494536, 0120501075, postzegel, surran, vertikal, hagyja, royaleapi, zorra, unconditional, retinols, zoodles, карапузов, oilseeds, фотопереклад, зиомицин, 7052421446, قسطرة, penerjemah, سباسفون, coronilla, oshad, speedfast, silmänpainetauti, légtechnika, handdoek, 8336370667, bissare, vanataie, lenmag, fatoni, agrijobs, whitelotus, hierontapallo, gullregn, ecale, 4717810, 3313133403, 0120958928, scalar, einstein, σοφλιχ, donauverlauf, 03519965784, 01925939976, valkenpower, مجموعه, hypoteky, gabão, firefox, dolarizacion, edifer, wienerberg, ütközések, гипертрофия, 5128310965, 3508755727, 0345872723, 05031335959, 036001808, вакансіі, angebotsvorlage, jpupskirt, электромясорубка, liwliwa, 0120554142, kegger, бакучиол, conversed, pezole, syphilitic, parramatta, прослуховування, céder, 4924781, ajvarkyckling, obejma, pichocos, métoidioplastie, антибиотика, зефема, dacriocistografia, nirpol, viendo, 0120001237, localitatea, clubmanager, lafoirefouille, rfhnbyrf, moonhopper, rainstory, baustein, fogyasztásmérő, 28184000, 2197031374, traverso, hollstadt, 8005543257, 6097963138, 0120096531, mitsumine, هليوبلس, directexpress, vastagos, bogoshorts, jucka, перикардит, 3477640922, контрафакт, 0570666186, سترلينج, elefántcsontpart, puding, dmmcfd, aquaserv, kalbo, 7742274410, dockge, 10886581059465095515, henkidama, pisterajat, 2814563050, schousen, fiskarfänget, remicital, 30717810607, pipebamid, коллапс, 5510548020, ashtead, isofix, 0120101604, 2164000736, alcancías, 8007620276, buchstabenkette, 0368471449, deduccion, бедняков, defektjavító, лаеннек, entertainmart, 05031991197, lepedő, milharado, sandifer, zuhanycsaptelep, inkapelis, gigacable, deindustrialization, momoparadise, clascharts, hoangto, 3516588893, الانستجرام, планетофбетс, oksetyksteg, відеодомофон, changlun, lenscare, epithete, hydrosafe, waliye, полиестер, inalienabile, nikeid, faletics, rinomicine, asentra, noxidil, 0120990178, диверсія, электрогитары, 05031042023, tapioca, kanilang, несквік, sjoow, 0368588878, laminoir, kaempferia, sinaí, 3202586897, eishaie, spackle, raburesu, рабепразол, 0273319000, fjederklemmer, fyldepen, inasible, sketchers, καμεσεξ, nevadzka, primcillin, genuphobia, карповик, ascet, μερακλης, azaelea, chrismis, quintessential

Writing Alt Text That Actually Helps

Not sure what to type in that alt box? These alt text best practices come down to one idea: say what the image does on the page, briefly, and leave the alt empty if it only decorates. This guide is part of our series on web accessibility basics, and it focuses on one small habit…

alt text best practices

Not sure what to type in that alt box? These alt text best practices come down to one idea: say what the image does on the page, briefly, and leave the alt empty if it only decorates.

This guide is part of our series on web accessibility basics, and it focuses on one small habit that makes a big difference.

Image type What the alt text should do
Decorative image Use a null text alternative (alt=””)
Informative image Give at least a short description of the essential information
Image used as a link or button Describe the function or destination, not the picture
Image of text Repeat the same words as in the image
Detailed chart or diagram Short alt text plus a link to a data table or longer description
Logo Never decorative, so always give alt text

These rows come from the W3C WAI Images Tutorial and the Section508.gov alternative text guidance. Guidance gets revised, so check those pages before you rely on any wording.

Why alt text matters to real readers

Alt text is the written stand-in for a picture. Section508.gov explains that when the screen reader reaches an image, it will read the alt text for that image so the user can know what the image is meant to convey.

The flip side is stark. The same page says that without alt text, people who use screen readers cannot access the content provided in the images, and that alt text is a requirement in the Section 508 guidelines for creating digital content.

On the web standards side, the W3C’s explanation of the Non-text Content success criterion states that all non-text content that is presented to the user has a text alternative that serves the equivalent purpose, except for the situations listed below. The key word is “equivalent purpose”: the alt text should do the same job the image does.

This site is an independent educational resource, not legal advice and not an official government or W3C publication. Use the linked sources for authoritative wording.

Start with the purpose, not the picture

Before you write anything, ask what the image is for in this spot on this page. The same photo can need different alt text in a news story, a staff directory and a product page.

The W3C Images Tutorial sorts images by purpose. Its main groups are:

  • Informative images, such as photos and illustrations that carry ideas or facts.
  • Decorative images, which only add visual style.
  • Functional images, which work as links or buttons.
  • Images of text, where readable words sit inside the image.
  • Complex images, such as charts, graphs and diagrams.

For informative images, the text alternative should be at least a short description conveying the essential information presented by the image. Section508.gov adds a useful test for photos: describe the part of the photo that is relevant to the surrounding context.

A quick decision path you can follow

The W3C publishes a short alt decision tree that walks through the questions in order. The copy linked here is labelled a draft preview, so treat it as a guide and confirm against the published tutorial.

Boiled down, you can ask yourself these questions:

  1. Does the image contain text? If the same text also appears as real text nearby, or the text is only for visual effect, use an empty alt attribute. Otherwise put the text of the image in the alt.
  2. Is it a link or button? The tree asks whether the image is used in a link or a button and whether it would be hard or impossible to understand what the link or button does without the image. If so, use the alt attribute to communicate the destination of the link or the action taken.
  3. Is it purely decoration? If it adds nothing the reader needs, use an empty alt attribute.
  4. Is it a simple photo or graphic? Use a brief description of the image in a way that conveys its meaning.
  5. Is it a graph or complex piece of information? Give a short alt and provide the fuller detail elsewhere.
Fingertips rest on a page covered in raised braille dots.

What good alt text looks like in practice

Short, specific and tied to context beats long and literal. Section508.gov gives paired examples, and one is a portrait: the helpful version names the person, while the unhelpful one describes the photo style instead of who is in it.

A few habits keep alt text useful:

  • Name the content, not the file type. Skip openers that describe the format, because the screen reader already announces that an image is present.
  • Do not repeat the page. Section508.gov advises you to avoid repeating parts of the main text in the alt text.
  • Keep it tight. The same guidance says to avoid overly long descriptions in the alt text.
  • Quote text exactly. If you have an image that does contain text, include it in the alt text word for word.
  • Do not skip logos. Logos are never decorative, so they require alt text, including any text in the logo.

Here is a plain example. For a staff photo beside a biography, “Maria Lopez, director of customer support, at her desk” says who and why. “Woman smiling” tells the reader nothing they can use.

Links and buttons

When an image is clickable, the reader needs to know what happens next. The W3C says the text alternative of an image used as a link or as a button should describe the functionality of the link or button rather than the visual image.

So a magnifying-glass icon on a search button should say “Search”, not “magnifying glass”. The same logic applies to a printer icon (“Print this page”) or a house icon (“Home”).

Images of text

Words baked into a graphic cannot be resized, restyled or read by software unless the alt supplies them. The W3C tutorial says that if the image is not a logo, you should avoid text in images, and that if you do use them, the alt should contain the same words as in the image.

Readable text also depends on visual design. For that side of the problem, see our guide to color contrast requirements.

Decorative images and the empty alt

Some images add nothing the reader needs: a flourish under a heading, a background texture, a spacer. For these, the W3C tutorial says to provide a null text alternative (alt=””) when the only purpose of an image is to add visual decoration to the page.

Adding a description here does harm. In its explanation of the success criterion, the W3C notes that putting alternative text on such items just distracts people using screen readers from the content on the page.

Be careful to mark decorative images properly rather than leaving the field blank. Section508.gov warns that if you fail to set the alt text to decorative, a screen reader may read the file name for the image rather than skip the image altogether as intended.

Charts, graphs and diagrams

Complex images carry data, and a single sentence rarely holds it all. Section508.gov suggests starting with the type, with phrases like “Pie chart” or “Bar graph”, then describing the important trends and relationships the image is meant to show.

You do not always have to put everything in the alt. If a paragraph under a bar chart already describes the trends, you do not need to repeat that description in the alt text.

For very detailed visuals, include a short description in the alt text, then beneath the image, provide a link to the data table or a longer description of the graphic. The same approach carries over when you build documents; our guide on how to make a pdf accessible covers where alt text fits in that workflow.

Here is a short template for a simple chart:

  1. State the chart type.
  2. Name what it compares.
  3. Give the main takeaway.
  4. Point to the data table for the full figures.

Frequently asked questions

Should every image have alt text?

Show answer

Every image needs an alt attribute, but the value depends on purpose. Meaningful images get a description, while purely decorative ones get an empty alt so assistive technology can skip them.

How long should alt text be?

Show answer

There is no magic length. Aim for the shortest wording that carries the image’s purpose, and move longer explanations into the page text or a linked description.

Can I use the same alt text for the same image everywhere?

Show answer

Not safely. Context decides what matters, so a logo that links home needs a destination-style alt, while the same logo in a footer credit may only need the organization name.

Do I need alt text in Word, PowerPoint and PDF files too?

Show answer

Yes. Many document programs let you flag an image as decorative or type a description, and the same purpose-first thinking applies in every format.

Web Accessibility

  • Keyboard Accessibility: Making Every Control Reachable

    Keyboard Accessibility: Making Every Control Reachable

    If you can’t use a mouse, a single unreachable button can end your visit. Keyboard accessibility means every link, button and field works from the keyboard alone, and you can check it in minutes. This guide is part of our web accessibility basics series. These facts come from the Understanding page for keyboard operation and…

  • Caption and Transcript Requirements for Accessible Video

    Caption and Transcript Requirements for Accessible Video

    You have a video to publish and want it accessible. The accessible video captions requirements are simple to state: accurate, synchronized captions for dialogue and key sounds, and a transcript for audio-only content. This guide is part of our wider look at web accessibility basics, where captions sit alongside the other core habits. These figures…

  • Web Accessibility Basics: Principles, Barriers and Fixes

    Web Accessibility Basics: Principles, Barriers and Fixes

    Not sure where to begin? These web accessibility basics show what to build, what usually breaks and how to fix it: design around four principles (POUR), aim for WCAG Level AA, and test early. These figures come from the WebAIM Million and Section508.gov’s web content overview. Reports and rules get updated, so check the source…