# Alt text examples

> Image alt text from 10 real pages including Apple, IKEA, NASA, the BBC and Wikipedia, with counts of descriptive, empty and missing alt, and what to copy.

Canonical: https://scaplet.com/examples/alt-text

Examples Examples · Page markup

Image alt text from 10 real pages including Apple, IKEA, NASA, the BBC and Wikipedia, with counts of descriptive, empty and missing alt, and what to copy.

10

real examples

Nov 2, 2026

captured

5

templates

Scaplet Editorial Team

editor

In one line

Alt text is the alt attribute on an img element: a short description for people who can't see the image, and a signal Google uses to understand it. We counted img elements in the served HTML of 10 real pages. Of 733 images, 591 have descriptive alt, 63 have an empty alt and 79 have none. Five pages left gaps.

## Across 10 captures

Counted from the captured files

5 of 10

Decorative empty alt

5 of 10

Long alt

5 of 10

No empty alt

5 of 10

No missing alt

10 examples

## Real alt text examples, _fetched_.

Each one was fetched from the live site on the date shown, with a link to the source. Filter by pattern or industry.

Allrecipes [allrecipes.com ↗](https://www.allrecipes.com/) captured Nov 2, 2026

Excerpt
alt text

```
<img src="https://www.allrecipes.com/thmb/kTu69n-oPHFzwd2m3tG4mOobUDs=/800x533/filters:no_upscale():max_bytes(150000):strip_icc()/257061-pozole-rojo-mexican-pork-and-hominy-stew-PICS-5857-beauty-4x3-crop-fd92d9b4ee624ac6 <img src="https://www.allrecipes.com/thmb/kTu69n-oPHFzwd2m3tG4mOobUDs=/800x533/filters:no_upscale():max_bytes(150000):strip_icc()/257061-pozole-rojo-mexican-pork-and-hominy-stew-PICS-5857-beauty-4x3-crop-fd92d9b4ee624ac6 <img data-src="https://www.allrecipes.com/thmb/kQtc5jyUgjfJNOT1YohMpkuZb9Y=/240x160/filters:no_upscale():max_bytes(150000):strip_icc()/9505-tiramisu-toffee-dessert-4x3-0d32939b62fe4c139410243f872803c4.jpg" width="240" he <img src="https://www.allrecipes.com/thmb/kQtc5jyUgjfJNOT1YohMpkuZb9Y=/240x160/filters:no_upscale():max_bytes(150000):strip_icc()/9505-tiramisu-toffee-dessert-4x3-0d32939b62fe4c139410243f872803c4.jpg" width="240" height= <img data-src="https://www.allrecipes.com/thmb/qVNBphIe3L5RoaQ_TM1q2hTUOYc=/240x160/filters:no_upscale():max_bytes(150000):strip_icc()/20389-pumpkin-dessert-VAT-hero-4x3-1-e722fca6f6f748259615bfaf1d3d5a76.jpg" width="240 <img src="https://www.allrecipes.com/thmb/qVNBphIe3L5RoaQ_TM1q2hTUOYc=/240x160/filters:no_upscale():max_bytes(150000):strip_icc()/20389-pumpkin-dessert-VAT-hero-4x3-1-e722fca6f6f748259615bfaf1d3d5a76.jpg" width="240" hei
```

Numbers

Images

130

Descriptive alt

130

Empty alt

0

No alt attribute

0

Longest alt

159 characters

- 130 img elements in the served HTML
- 130 images with descriptive alt text, averaging 64 characters

**Why it works.** All 130 img elements on the homepage have descriptive alt, none empty, averaging 64 characters. The longest is 159.

**Copy this.** Give every content image its own description, written for that photo and not reused across a grid.

- Publisher
- No missing alt
- No empty alt
- Long alt

Apple [apple.com/iphone/ ↗](https://www.apple.com/iphone/) captured Nov 2, 2026

Excerpt
alt text

```
<img src="/v/iphone/home/cl/images/overview/select/iphone_duo__l92ve9hb9yqu_large.jpg" onload="window.__lp?.(event)" alt="iPhone Duo, Star White color, angled to the left, inner display with display screen showing an ima <img src="/v/iphone/home/cl/images/overview/select/iphone_duo__l92ve9hb9yqu_large.jpg" alt="iPhone Duo, Star White color, angled to the left, inner display with display screen showing an image of a dessert, iPhone Duo, S <img src="/v/iphone/home/cl/images/overview/select/iphone_18_pro__feg8kpsix2ie_large.jpg" onload="window.__lp?.(event)" alt="iPhone 18 Pro, Burgundy color, side angle, partial front exterior, all-screen design display, a <img src="/v/iphone/home/cl/images/overview/select/iphone_18_pro__feg8kpsix2ie_large.jpg" alt="iPhone 18 Pro, Burgundy color, side angle, partial front exterior, all-screen design display, action button, volume up/down b <img src="/v/iphone/home/cl/images/overview/select/iphone_air__behibcx1cfde_large.jpg" onload="window.__lp?.(event)" alt="iPhone Air in Sky Blue finish, partial-screen display and side angle shows - Action button, volume <img src="/v/iphone/home/cl/images/overview/select/iphone_air__behibcx1cfde_large.jpg" alt="iPhone Air in Sky Blue finish, partial-screen display and side angle shows - Action button, volume button and side button. Back
```

Numbers

Images

69

Descriptive alt

66

Empty alt

0

No alt attribute

3

Longest alt

287 characters

- 69 img elements in the served HTML
- 66 images with descriptive alt text, averaging 111 characters
- 3 images with no alt attribute at all

**Why it works.** Describes product, color and angle, for example "iPhone Duo, Star White color, angled to the left". 66 of 69 images have alt, averaging 111 characters, though 3 have none.

**Copy this.** Name the product, color and angle, then audit for images that slipped through with no alt at all.

- Tech
- Some missing alt
- No empty alt
- Long alt

BBC [bbc.com/news ↗](https://www.bbc.com/news) captured Nov 2, 2026

Excerpt
alt text

```
<img sizes="(min-width: 768px) 50vw, 100vw" srcSet="https://ichef.bbci.co.uk/ace/standard/240/cpsprodpb/d676/live/22e22510-d65b-11f1-87c6-9305d604abed.jpg.webp 240w,https://ichef.bbci.co.uk/ace/standard/320/cpsprodpb/d67 <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/6ea1/live/d9896430-d625-11f1-93e1-3b657b665bcf.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/6ea1/live/d9896430-d625-11f1-93e1-3b657b665bc <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/9fb5/live/43875670-d640-11f1-be6d-936c6c4b19c2.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/9fb5/live/43875670-d640-11f1-be6d-936c6c4b19c <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/3a7f/live/ad865b20-d64f-11f1-a701-fddedf244c16.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/3a7f/live/ad865b20-d64f-11f1-a701-fddedf244c1 <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/ce75/live/a6edaf70-d618-11f1-93e1-3b657b665bcf.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/ce75/live/a6edaf70-d618-11f1-93e1-3b657b665bc <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/1694/live/d0cd8590-d64a-11f1-b441-2b33b063138f.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/1694/live/d0cd8590-d64a-11f1-b441-2b33b063138
```

Numbers

Images

40

Descriptive alt

20

Empty alt

0

No alt attribute

20

Longest alt

186 characters

- 40 img elements in the served HTML
- 20 images with descriptive alt text, averaging 82 characters
- 20 images with no alt attribute at all

**Why it works.** A counter-example: on the /news page, 20 of 40 img elements have no alt attribute in the served HTML. The other 20 average 82 characters.

**Copy this.** Every img needs an alt attribute: a description, or alt="" when the image is decorative.

- Media
- Some missing alt
- No empty alt
- Long alt

IKEA [ikea.com/us/en/ ↗](https://www.ikea.com/us/en/) captured Nov 2, 2026

Excerpt
alt text

```
<img alt="A HOLMSTA armchair in the living room" src="https://www.ikea.com/ext/ingkadam/m/e82b6a35842b604/original/PH194422.jpg" srcset="https://www.ikea.com/ext/ingkadam/m/e82b6a35842b604/original/PH194422.jpg?f=xxxs 24 <img alt="A HOLMSTA armchair in the living room" src="https://www.ikea.com/ext/ingkadam/m/e82b6a35842b604/original/PH194422.jpg" srcset="https://www.ikea.com/ext/ingkadam/m/e82b6a35842b604/original/PH194422.jpg?f=xxxs 24 <img alt="A white NYMÅNE table lamp in the bedroom" src="https://www.ikea.com/ext/ingkadam/m/343a7141e2edfea0/original/PH207937.jpg" srcset="https://www.ikea.com/ext/ingkadam/m/343a7141e2edfea0/original/PH207937.jpg?f=xx <img alt="A white NYMÅNE table lamp in the bedroom" src="https://www.ikea.com/ext/ingkadam/m/343a7141e2edfea0/original/PH207937.jpg" srcset="https://www.ikea.com/ext/ingkadam/m/343a7141e2edfea0/original/PH207937.jpg?f=xx <img alt="A white STILREN vase" src="https://www.ikea.com/ext/ingkadam/m/38dbf0e16b638f61/original/PE949711-crop002.jpg" srcset="https://www.ikea.com/ext/ingkadam/m/38dbf0e16b638f61/original/PE949711-crop002.jpg?f=xxxs 2 <img alt="An antique stain pine HÄGERNÄS table and 4 chairs" src="https://www.ikea.com/ext/ingkadam/m/47495c9f0f2638c9/original/PE960596.jpg" srcset="https://www.ikea.com/ext/ingkadam/m/47495c9f0f2638c9/original/PE960596
```

Numbers

Images

114

Descriptive alt

76

Empty alt

0

No alt attribute

38

Longest alt

262 characters

- 114 img elements in the served HTML
- 76 images with descriptive alt text, averaging 54 characters
- 38 images with no alt attribute at all

**Why it works.** Uses a repeatable shape: product name plus room, as in "A HOLMSTA armchair in the living room". But 38 of 114 images on the US homepage have no alt attribute.

**Copy this.** {Product name} in the {room}. Then check your templates for images without alt.

- Ecommerce
- Some missing alt
- No empty alt
- Short alt

Lonely Planet [lonelyplanet.com ↗](https://www.lonelyplanet.com/) captured Nov 2, 2026

Excerpt
alt text

```
<img src="https://d2vbr83hnyiux1.cloudfront.net/image/975050285728/image_9jcdoidifh35j8j105h414pm5a/-FWEBP-Ro:5,w:1536,h:849,n:default" alt="People enjoying the Ljubljanica River on boats and paddleboards in the center o <img src="https://d2vbr83hnyiux1.cloudfront.net/image/975050285728/image_arsu3h32015f18hvl2cuj6al6a/-FWEBP-Ro:5,w:1920,h:1080,n:default" alt="GettyImages-2170774668.jpg" width="1920" height="1080" sizes="100vw" srcSet="h <img src="https://d2vbr83hnyiux1.cloudfront.net/image/975050285728/image_ik8h24cv9h7phe5gg3fiug7i7j/-FJPG-Ro:5,w:800,h:600,n:default" alt="Dream Trips of Europe Book Photoshoot" width="800" height="600" sizes="(max-width <img src="https://d2vbr83hnyiux1.cloudfront.net/image/975050285728/image_0615mfq5f90rpa58uah5av3k4j/-FJPG-Ro:5,w:800,h:600,n:default" alt="MONTSERRAT. CARIBBEAN. FEBRUARY 2026. Ackime Meade can be found everyday, along C <img src="https://d2vbr83hnyiux1.cloudfront.net/image/975050285728/image_sh66kcfsmt6rfc3ejv6gkk8733/-FJPG-Ro:5,w:800,h:600,n:default" alt="Farm Coast" width="800" height="600" sizes="(max-width: 768px) 100vw, (max-width: <img src="https://d2vbr83hnyiux1.cloudfront.net/image/975050285728/image_djo5jrsbb13f77l6nt7iodok1v/-FJPG-Ro:5,w:800,h:600,n:default" alt="App Landing Page 09/22/2026" width="800" height="600" sizes="(max-width: 768px) 1
```

Numbers

Images

85

Descriptive alt

85

Empty alt

0

No alt attribute

0

Longest alt

236 characters

- 85 img elements in the served HTML
- 85 images with descriptive alt text, averaging 38 characters

**Why it works.** All 85 images have alt, averaging 38 characters, and some name the scene. One in the capture is just a file name: "GettyImages-2170774668.jpg".

**Copy this.** Describe the scene a traveler would see, and never leave the upload file name as the alt.

- Travel
- No missing alt
- No empty alt
- Short alt

NASA [nasa.gov ↗](https://www.nasa.gov/) captured Nov 2, 2026

Excerpt
alt text

```
<img fetchpriority="high" width="60" height="50.58" alt="NASA Logo" src="https://www.nasa.gov/wp-content/themes/nasa/assets/images/nasa-logo@2x.png" srcset="https://www.nasa.gov/wp-content/themes/nasa/assets/images/nasa- <img fetchpriority="high" width="60" height="50.58" alt="NASA Logo" src="https://www.nasa.gov/wp-content/themes/nasa/assets/images/nasa-logo@2x.png" srcset="https://www.nasa.gov/wp-content/themes/nasa/assets/images/nasa- <img src="https://assets.science.nasa.gov/dynamicimage/assets/science/cds/general/images/2023/04/2/27946391011_d40ff10573_h.jpg?w=1024" alt="NASA Explores Potential Commercial Servicing for Hubble Telescope" class="hds-m <img width="1024" height="577" src="https://www.nasa.gov/wp-content/uploads/2026/10/1-closeup-of-teghaza-001-mars-meteorite.jpg?w=1024" class="hds-media-background z-100" alt="A rose-colored rock on a white background." <img width="1024" height="270" src="https://www.nasa.gov/wp-content/uploads/2026/10/1-pia26816-pano-resized-for-web-feature.jpg?w=1024" class="hds-media-background z-100" alt="A panoramic view of a barren, rocky landscap <img src="https://assets.science.nasa.gov/dynamicimage/assets/science/missions/tracer/TRACERS_Vantor%20Image.jpg?w=1024" alt="NASA’s TRACERS First Results Offers Peek into Violent Magnetic Process " class="hds-media-back
```

Numbers

Images

73

Descriptive alt

41

Empty alt

32

No alt attribute

0

Longest alt

204 characters

- 73 img elements in the served HTML
- 41 images with descriptive alt text, averaging 58 characters
- 32 images with an empty alt attribute (marked decorative)

**Why it works.** 73 images, none missing: 41 descriptive (58 characters on average) and 32 empty. Article images use the headline as alt, and the logo says "NASA Logo".

**Copy this.** Use alt="" on images that repeat nearby text, so every img still has the attribute.

- Government
- No missing alt
- Decorative empty alt
- Short alt

National Geographic [nationalgeographic.com ↗](https://www.nationalgeographic.com/) captured Nov 2, 2026

Excerpt
alt text

```
<img alt="National Geographic Logo - Home" class="Image Logo GlobalFooter__Copyright__Logo Logo__lg" data-mptype="image" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/>
```

Numbers

Images

20

Descriptive alt

1

Empty alt

19

No alt attribute

0

Longest alt

31 characters

- 20 img elements in the served HTML
- 1 image with descriptive alt text, averaging 31 characters
- 19 images with an empty alt attribute (marked decorative)

**Why it works.** A reminder that served HTML isn't the whole page: 20 img elements, 19 with empty alt and one footer logo, "National Geographic Logo - Home", on a 1x1 placeholder.

**Copy this.** Check the rendered DOM as well as the source if your images load with JavaScript.

- Media
- No missing alt
- Decorative empty alt
- Short alt

Smithsonian Magazine [smithsonianmag.com ↗](https://www.smithsonianmag.com/) captured Nov 2, 2026

Excerpt
alt text

```
<img src="/static/smithsonianmag/img/smithmag-logo-horizontal-white.98dddd9f3f4d.svg" alt="Smithsonian Magazine white logo" width="255" height="30"/> <img src="https://th-thumbnailer.cdn-si-edu.com/E9lx2fEeWN8-4pWBiubQDJylcCg=/750x500/filters:focal(1500x1129:1501x1130)/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/3b/3d/3b3d7ca5-6943-4b8d-ae60-67 <img src="https://th-thumbnailer.cdn-si-edu.com/4NhfYYTtt6v0gEbw4pvyguNxuT4=/450x300/filters:no_upscale():focal(1000x686:1001x687)/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/b6/1c/b61c3921-c39e-4 <img src="https://th-thumbnailer.cdn-si-edu.com/H8d1B8__uIefY5e89fnhyV3b8us=/314x210/filters:no_upscale()/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/74/5a/745a7e72-cd2f-4276-9c2c-218611cec177/abo <img src="https://th-thumbnailer.cdn-si-edu.com/g3tj0b2d-l-snV9h7wmEsITzGAU=/450x300/filters:no_upscale():focal(1500x1029:1501x1030)/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/be/09/be09ca75-f434 <img src="https://th-thumbnailer.cdn-si-edu.com/dvn2u2BhXZkM2HqA8YQIvrIR-_g=/450x300/filters:no_upscale():focal(1500x1129:1501x1130)/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/3b/3d/3b3d7ca5-6943
```

Numbers

Images

52

Descriptive alt

51

Empty alt

1

No alt attribute

0

Longest alt

259 characters

- 52 img elements in the served HTML
- 51 images with descriptive alt text, averaging 64 characters
- 1 image with an empty alt attribute (marked decorative)

**Why it works.** 51 of 52 images have descriptive alt, averaging 64 characters, including the logo ("Smithsonian Magazine white logo"). The one empty alt is the only exception.

**Copy this.** Aim for near-complete coverage: a description on every content image and alt="" on only the odd decorative one.

- Media
- No missing alt
- Decorative empty alt
- Long alt

The Guardian [theguardian.com/international ↗](https://www.theguardian.com/international) captured Nov 2, 2026

Excerpt
alt text

```
<img alt="Dave Schilling" src="https://i.guim.co.uk/img/uploads/2017/10/06/Dave-Schilling,-L.png?width=98&amp;dpr=1&amp;s=none&amp;crop=1%3A1" class="dcr-1eant3z"/> <img alt="Illustration of pink circles, turning red towards the centre, where a boy sits looking towards a crowd of people coming from the left" src="https://i.guim.co.uk/img/media/9b9a5d58f3fba9a074cceae9c3f72bcabc1e6cf <img alt="Man in blue jeans and white t-shirt, holding red and blue ball in his left hand." src="https://i.guim.co.uk/img/media/04ba0f986fb0902b007d564d85c9ddd8b40a2add/1484_831_2777_2777/master/2777.jpg?width=98&amp;dpr <img alt="Emma Beddington" src="https://i.guim.co.uk/img/uploads/2020/03/20/Emma_Beddington,_R.png?width=98&amp;dpr=1&amp;s=none&amp;crop=1%3A1" class="dcr-1eant3z"/> <img alt="Flames engulf the Eagle's Nest mountain lodge at night, with fog filling the valley below." src="https://i.guim.co.uk/img/media/db43ab223a2b877b7acf51b94708744928c7f1cc/569_49_614_614/master/614.jpg?width= <img alt="The Experts memory illustration Credit: Guardian Design; Photographer/Agency" src="https://i.guim.co.uk/img/media/bd899045b6939df839c5bd882b26a6ed2649acb0/0_0_5000_4000/master/5000.png?width=98&amp;dpr=1&amp;s=
```

Numbers

Images

110

Descriptive alt

108

Empty alt

1

No alt attribute

1

Longest alt

473 characters

- 110 img elements in the served HTML
- 108 images with descriptive alt text, averaging 77 characters
- 1 image with an empty alt attribute (marked decorative)

**Why it works.** 108 of 110 images have descriptive alt, from author names ("Dave Schilling") to sentences about an illustration. The longest runs 473 characters.

**Copy this.** Name the person on byline photos and describe what's visible in news images; keep it to a sentence or two.

- Media
- Some missing alt
- Decorative empty alt
- Long alt

Wikipedia article [en.wikipedia.org/wiki/Lighthouse ↗](https://en.wikipedia.org/wiki/Lighthouse) captured Nov 2, 2026

Excerpt
alt text

```
<img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en-25.svg" style="width: 8.75em; height: 1.375em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en-25.svg" width="140" height="11" style="width: 8.75em; height: 0.6875em;"> <img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/95ca927aa17ed514998820cf13e1eff3ba2fb13a" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; <img resource="https://en.wikipedia.org/wiki/File:P_parthenon.svg" src="//thumb.wikimedia.org/wikipedia/commons/thumb/f/f4/P_parthenon.svg/40px-P_parthenon.svg.png?utm_source=en.wikipedia.org&amp;utm_campaign=parser&amp; <img resource="https://en.wikipedia.org/wiki/File:Nuvola_apps_kcmsystem.svg" src="//thumb.wikimedia.org/wikipedia/commons/thumb/7/7a/Nuvola_apps_kcmsystem.svg/40px-Nuvola_apps_kcmsystem.svg.png?utm_source=en.wikipedia.or <img resource="https://en.wikipedia.org/wiki/File:Waves_in_pacifica_1.jpg" src="//thumb.wikimedia.org/wikipedia/commons/thumb/4/45/Waves_in_pacifica_1.jpg/40px-Waves_in_pacifica_1.jpg?utm_source=en.wikipedia.org&amp;utm_
```

Numbers

Images

40

Descriptive alt

13

Empty alt

10

No alt attribute

17

Longest alt

33 characters

- 40 img elements in the served HTML
- 13 images with descriptive alt text, averaging 15 characters
- 10 images with an empty alt attribute (marked decorative)

**Why it works.** Mixed on the Lighthouse article: 13 short alts (15 characters on average, 33 at most), 10 empty and 17 with none. Logos match their visible text: "Wikipedia".

**Copy this.** For logos, make alt match the visible wordmark. Don't copy the 17 images with no alt attribute.

- Reference
- Some missing alt
- Decorative empty alt
- Short alt

Side by side

## Smithsonian Magazine vs BBC.

Two captures that solve the same job differently. Numbers come from the captures.

Smithsonian Magazine smithsonianmag.com

```
<img src="/static/smithsonianmag/img/smithmag-logo-horizontal-white.98dddd9f3f4d.svg" alt="Smithsonian Magazine white logo" width="255" height="30"/> <img src="https://th-thumbnailer.cdn-si-edu.com/E9lx2fEeWN8-4pWBiubQDJylcCg=/750x500/filters:focal(1500x1129:1501x1130)/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/3b/3d/3b3d7ca5-6943-4b8d-ae60-67 <img src="https://th-thumbnailer.cdn-si-edu.com/4NhfYYTtt6v0gEbw4pvyguNxuT4=/450x300/filters:no_upscale():focal(1000x686:1001x687)/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/b6/1c/b61c3921-c39e-4 <img src="https://th-thumbnailer.cdn-si-edu.com/H8d1B8__uIefY5e89fnhyV3b8us=/314x210/filters:no_upscale()/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/74/5a/745a7e72-cd2f-4276-9c2c-218611cec177/abo <img src="https://th-thumbnailer.cdn-si-edu.com/g3tj0b2d-l-snV9h7wmEsITzGAU=/450x300/filters:no_upscale():focal(1500x1029:1501x1030)/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/be/09/be09ca75-f434 <img src="https://th-thumbnailer.cdn-si-edu.com/dvn2u2BhXZkM2HqA8YQIvrIR-_g=/450x300/filters:no_upscale():focal(1500x1129:1501x1130)/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer_public/3b/3d/3b3d7ca5-6943
```

- 52 img elements in the served HTML
- 51 images with descriptive alt text, averaging 64 characters
- 1 image with an empty alt attribute (marked decorative)

BBC bbc.com

```
<img sizes="(min-width: 768px) 50vw, 100vw" srcSet="https://ichef.bbci.co.uk/ace/standard/240/cpsprodpb/d676/live/22e22510-d65b-11f1-87c6-9305d604abed.jpg.webp 240w,https://ichef.bbci.co.uk/ace/standard/320/cpsprodpb/d67 <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/6ea1/live/d9896430-d625-11f1-93e1-3b657b665bcf.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/6ea1/live/d9896430-d625-11f1-93e1-3b657b665bc <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/9fb5/live/43875670-d640-11f1-be6d-936c6c4b19c2.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/9fb5/live/43875670-d640-11f1-be6d-936c6c4b19c <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/3a7f/live/ad865b20-d64f-11f1-a701-fddedf244c16.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/3a7f/live/ad865b20-d64f-11f1-a701-fddedf244c1 <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/ce75/live/a6edaf70-d618-11f1-93e1-3b657b665bcf.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/ce75/live/a6edaf70-d618-11f1-93e1-3b657b665bc <img sizes="25vw" srcSet="https://ichef.bbci.co.uk/news/240/cpsprodpb/1694/live/d0cd8590-d64a-11f1-b441-2b33b063138f.jpg.webp 240w,https://ichef.bbci.co.uk/news/320/cpsprodpb/1694/live/d0cd8590-d64a-11f1-b441-2b33b063138
```

- 40 img elements in the served HTML
- 20 images with descriptive alt text, averaging 82 characters
- 20 images with no alt attribute at all

| Smithsonian Magazine | BBC |
| Images | 52 | 40 |
| Descriptive alt | 51 | 20 |
| Empty alt | 1 | 0 |
| No alt attribute | 0 | 20 |
| Longest alt | 259 characters | 186 characters |

Pattern library

## 5 patterns to _copy_.

Templates we wrote from what the examples have in common. Replace the placeholders in braces.

01

### Informative photo

A photo that adds content to the page. Say what is in it, in the context of the surrounding text.

Our template

```
<img src="/images/{file}.jpg" alt="{Subject} {doing what}, {setting}">
```

02

### Product image

Shop and catalog pages. Product, variant and view or setting, never a list of keywords.

Our template

```
<img src="/images/{sku}.jpg" alt="{Product name}, {color}, {angle or room}">
```

03

### Decorative image

Dividers, background flourishes and images that repeat text next to them. Keep the attribute, leave it empty.

Our template

```
<img src="/images/{flourish}.svg" alt="">
```

04

### Linked image

An image that is the only content of a link or button. Describe where it goes, not what it looks like.

Our template

```
<a href="/{destination}"><img src="/images/{icon}.svg" alt="{Destination or action}"></a>
```

05

### Logo

A logo that is the brand name. Match the visible wordmark.

Our template

```
<img src="/images/logo.svg" alt="{Brand}">
```

_01_Worth knowing

## What 10 pages do with alt

We fetched each page on 2 November 2026 from India and counted every `img` element in the served HTML. We used the US or international version where a site has one, such as IKEA's `/us/en/` and The Guardian's `/international`, and some sites vary [markup](/glossary/structured-data) by region. Images added later by JavaScript, and CSS background images, are not counted.

### Missing is not the same as empty

NASA and National Geographic have no img without the attribute. Five pages (Apple, BBC, Wikipedia, IKEA, The Guardian) have at least one.

### Length varies a lot

Per-page averages of descriptive alt run from 15 characters on the Wikipedia article to 111 on Apple.

### Templates leak

Lonely Planet's capture includes an alt that is only a file name, and IKEA leaves 38 of 114 images without alt.

img elements by alt status, captured 2026-11-02
| Page | Images | Descriptive alt | alt="" | No alt attribute |
| allrecipes.com | 130 | 130 | 0 | 0 |
| apple.com/iphone | 69 | 66 | 0 | 3 |
| bbc.com/news | 40 | 20 | 0 | 20 |
| en.wikipedia.org ([Lighthouse](/glossary/lighthouse)) | 40 | 13 | 10 | 17 |
| ikea.com/us/en | 114 | 76 | 0 | 38 |
| lonelyplanet.com | 85 | 85 | 0 | 0 |
| nasa.gov | 73 | 41 | 32 | 0 |
| nationalgeographic.com | 20 | 1 | 19 | 0 |
| smithsonianmag.com | 52 | 51 | 1 | 0 |
| theguardian.com/international | 110 | 108 | 1 | 1 |

_02_Your call

## What Google and the W3C say

Google's image guidance calls [alt text](/glossary/alt-text) the most important attribute for giving an image metadata, and says it uses alt text together with computer vision and the page content. It asks for useful, information-rich text that uses keywords appropriately and warns against filling the attribute with keywords. It gives no length limit. Google finds images in the `src` of an `img` element and doesn't index CSS background images.

If this fits

### Write a description

- The image adds information the text doesn't
- It is the only content of a link or button (describe the destination)
- It is a product, a person or a scene a reader would want named

Or

### Use alt=""

- The image is purely decorative
- Its text or meaning already appears next to it
- It repeats a headline or caption beside it

Google's own progression for one image

```
<!-- Bad: no alt --> <img src="puppy.jpg"/> <!-- Better --> <img src="puppy.jpg" alt="puppy"/> <!-- Best --> <img src="puppy.jpg" alt="Dalmatian puppy playing fetch"/>
```

The W3C's alt decision tree covers the other half: decorative images, and images whose content is already in nearby real text, get an empty alt attribute. That is what NASA does on its decorative images, and it is why `alt=""` in the table above is not an error.

**Inline SVG**Google says to use a `title` element inside an inline `svg` instead of `alt`, because `alt` belongs to the `img` element.

_03_How it works

## Check it on your own site

This counts the img elements in the served HTML, the same way the table above was built. We ran both commands against nasa.gov and got the same 73 images and 32 empty alts as the capture.

1. 1

### List images with no alt attribute

Run the first command below. Anything it prints is an image with the attribute missing, not an empty one.
2. 2

### Count empty alts

Run the second command. These should all be decorative images you can justify.
3. 3

### Read the rendered page too

In DevTools, run `document.querySelectorAll('img:not([alt])').length` in the console to catch images added by JavaScript.

Run against your own URL

```
# images with no alt attribute curl -sL https://example.com/ | grep -o '<img[^>]*>' | grep -vi ' alt=' # empty alts curl -sL https://example.com/ | grep -oi '<img[^>]*alt=""' | wc -l
```

**Check the rest of the page**Alt text is one part of a page. The free audit at /site-audit reads status codes, canonicals, structured data and [Core Web Vitals](/glossary/core-web-vitals).

Sources · 12

## Every fact, linked and dated.

Official docs first, then every capture with the date we fetched it.

- google.com
- w3.org
- allrecipes.com
- apple.com
- bbc.com
- ikea.com
- lonelyplanet.com
- nasa.gov

1. 01 [Google image SEO best practices](https://developers.google.com/search/docs/appearance/google-images) developers.google.com · checked 2026-11-01
2. 02 [An alt decision tree (W3C WAI Images Tutorial)](https://www.w3.org/WAI/tutorials/images/decision-tree/) w3.org · checked 2026-11-01
3. 03 [Allrecipes alt text](https://www.allrecipes.com/) allrecipes.com · checked 2026-11-02
4. 04 [Apple alt text](https://www.apple.com/iphone/) apple.com · checked 2026-11-02
5. 05 [BBC alt text](https://www.bbc.com/news) bbc.com · checked 2026-11-02
6. 06 [IKEA alt text](https://www.ikea.com/us/en/) ikea.com · checked 2026-11-02
7. 07 [Lonely Planet alt text](https://www.lonelyplanet.com/) lonelyplanet.com · checked 2026-11-02
8. 08 [NASA alt text](https://www.nasa.gov/) nasa.gov · checked 2026-11-02
9. 09 [National Geographic alt text](https://www.nationalgeographic.com/) nationalgeographic.com · checked 2026-11-02
10. 10 [Smithsonian Magazine alt text](https://www.smithsonianmag.com/) smithsonianmag.com · checked 2026-11-02
11. 11 [The Guardian alt text](https://www.theguardian.com/international) theguardian.com · checked 2026-11-02
12. 12 [Wikipedia article alt text](https://en.wikipedia.org/wiki/Lighthouse) en.wikipedia.org · checked 2026-11-02

Questions

## Asked a lot.

3 questions people ask next, answered from the sources on this page.

_01_ How long should alt text be?

Google's image guidance gives no character limit. It asks for useful, information-rich text. In our 10 captures, per-page averages for descriptive alt run from 15 to 111 characters, and the longest single alt is 473 characters on The Guardian.

_02_ Should decorative images have an alt attribute?

Yes, an empty one. The W3C's decision tree says purely decorative images get an empty alt attribute, and so do images whose content repeats nearby text. Five of the 10 pages we captured use alt="" this way.

_03_ Does alt text help SEO?

Google says it uses alt text along with computer vision and the page content to understand an image, and calls it the most important attribute for image metadata. It also warns that [keyword stuffing](/glossary/keyword-stuffing) in alt makes for a poor experience and may look like spam.

## Keep learning

[All examples](/examples)

[Examples 404 page examples](/examples/404-page) [Examples Breadcrumb schema examples](/examples/breadcrumb-schema) [Examples Canonical tag examples](/examples/canonical-tag) [Examples FAQ schema examples](/examples/faq-schema)

Profiles of sites in this gallery
[Apple AI crawler access](/domains/apple.com)

More examples
[404 page examples](/examples/404-page) [Alt text examples](/examples/alt-text) [Breadcrumb schema examples](/examples/breadcrumb-schema) [Canonical tag examples](/examples/canonical-tag) [FAQ schema examples](/examples/faq-schema) [H1 tag examples](/examples/h1-tag) [Hreflang examples](/examples/hreflang) [llms.txt examples](/examples/llms-txt) [Meta description examples](/examples/meta-description) [Product schema examples](/examples/product-schema) [robots.txt examples](/examples/robots-txt) [Schema markup examples](/examples/schema-markup) [Sitemap examples](/examples/sitemap) [Title tag examples](/examples/title-tag)

Terms on this page
[Structured data](/glossary/structured-data) [Lighthouse](/glossary/lighthouse) [Alt text](/glossary/alt-text) [Core Web Vitals](/glossary/core-web-vitals) [Keyword stuffing](/glossary/keyword-stuffing)

Free · 2 minutes

## Seen the examples? _Now check your own site._

The free audit reads your robots.txt, title tags, meta descriptions, structured data and status codes, and lists what to fix.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
