A campaign image can look like an obvious doorway to a product page. If that image is the whole link, its accessible name must tell someone who cannot see it where the link goes. “Purple bottle on a table” describes the picture; “Shop the Night Serum” identifies the destination.
When the image is the whole link
In this constructed example, the image is the only content of the link. Its alt supplies the link name:
<a href="/products/serum">
<img
src="serum.jpg"
alt="Shop the Night Serum"
>
</a>
Name the actual destination or action, using the same language as the page. You don't need to add “link” or “image of”: the browser exposes the role. If a creative contains a promotion or other essential information, put that information in real text as well; a destination name alone doesn't communicate the offer. W3C's functional images guidance explains why the alternative describes the function in this context.
When image and text share one link
If a visible label already names the same destination, put the image and text inside one link. When the image adds no information beyond that label, give it an empty alternative so the name isn't repeated:
<a href="/products/serum">
<img src="serum.jpg" alt="">
Shop the Night Serum
</a>
That empty alt is appropriate because the text is inside the same link. A separate image link with alt="" needs another naming source, such as aria-labelledby. The neighboring link text alone does not name it. W3C describes this failure and recommends combining adjacent image and text links. If the image conveys information the text doesn't, include that information in the link's text or supply an appropriate alternative instead of treating it as decorative.
Check the computed name
In the browser, inspect the actual link element and open the Accessibility pane in developer tools. Check that its role is link and its computed name is “Shop the Night Serum” in either example. Tab to the link, confirm focus is visible, and activate it to verify the destination. Repeat on the rendered page after any change to the markup or locale.
If the name is empty, inspect the link's contents and image alt. If it differs from the visible label, check for aria-label or aria-labelledby: these can override the name derived from link content. W3C's accessible-name guidance covers the naming order. A computed name check is a focused check, not a complete accessibility audit; use a screen reader as well to check the experience in context.