Skip to content

How it works

The crawler parses the <img> inside an <a>; it extracts the src (for image indexing), the alt (for accessibility and anchor text), and the target href (for link authority transfer).

graph LR
  A["&lt;a href='/target/'&gt;"] --> B["&lt;img src='photo.jpg' alt='descriptive text'&gt;"]
  B --> C[Crawler extracts href]
  B --> D[Crawler extracts alt]
  B --> E[Crawler extracts src]
  C --> F[Link authority flows to /target/]
  D --> G[Anchor text signal: 'descriptive text']
  E --> H[Image indexed under 'descriptive text']
  style F fill:#E8F5E9
  style G fill:#E8F5E9
  style H fill:#E8F5E9

The alt attribute is the bridge between three separate systems: the accessibility tree (screen readers), the link graph (anchor text), and image search (as the image's textual description). One attribute, three consumers.