Writing Alt Text for Technical Images and Diagrams
A connector photo labeled “SFF-8087” may still leave out a detail the reader needs: does the cable exit straight or at a right angle? If the angle is visible and relevant, say so in the alt text. Alt text provides a short alternative for people using screen readers and appears when an image fails to load. For an informative image, it should convey what the reader would otherwise learn by looking at it.
Start with the image’s job on the page
The same photo can call for different alt text depending on where it appears. On a product page whose heading already names the connector, “Right-angled SFF-8087 plug with latch facing upward” may capture what the image adds. In a comparison of connector families, the useful detail may be how the plug’s shape differs from another model. Describe the image’s role on that page, not everything in the frame.
Ask what would be lost if the image disappeared. An equipment photo might show port position, label orientation or a cable’s route through a rack. A diagram might explain which components connect; a test-result screenshot might show a measured value or failure location. If nearby text already covers everything the image conveys, the image may be decorative. In that case, an empty alt attribute, alt="", is usually better than repeating a caption or paragraph.
Keep claims the image cannot support out of the alt text. A cable’s jacket alone cannot establish its supported data rate, conductor construction or certification. Put those details in the specifications, with evidence, rather than turning the alt text into a sales claim or a list of keywords.
Describe the distinction that matters
Technical images can show several features at once. Choose the one that affects how the reader understands the subject, and describe its position or relationship clearly. “Internal SAS plug with a right-angle cable exit” says more than “SAS connector.” But do not infer an exact standard from an ambiguous view. If the markings and mating face are hidden, describe what is visible or check a reliable part record before naming the connector.

Photos of hardware and assemblies
For cable and connector photos, check which end is shown, along with the mating face, latch or key position, and the direction the cable exits. Include dimensions only when the image communicates them, such as through a labeled scale. In a side-by-side photo, “Two fiber connectors side by side, with LC smaller than SC” identifies the comparison. If tiny markings are illegible at the displayed size, the photo does not establish what they say.
Diagrams, charts and screenshots
For a simple diagram, state the connection or sequence: “Two storage hosts connect to separate switches, which connect to one array.” A complex topology needs a different approach. Give it concise alt text identifying its purpose, then set out the connections, labels and exceptions in adjacent text or a structured list. Do the same for pinout tables and dense test plots: details readers need to inspect individually belong in HTML text or a table, not a crowded alt attribute.

For a graph, report what the data shows rather than writing “line graph.” Put exact readings in nearby text or an accessible table when they matter. For a diagnostic screenshot, identify the relevant result and status instead of reciting the menus. Do not guess a precise measurement from a cropped or low-resolution value.
Keep alt text concise without discarding meaning
No universal character limit makes alt text effective. A straightforward product photo may need only a short sentence. A detailed diagram may need brief alt text plus an explanation outside the image. In either case, give priority to the detail that helps someone use the page.
- Too vague: “Cable image.”
- Too speculative: “Certified 100 Gb/s cable ready for every switch.”
- More useful: “QSFP-style plug beside its labeled port on a switch.”
Skip “image of” or “photo of” unless the wording matters; assistive technology generally identifies the element as an image. Include visible text when it carries the point, such as a port label or test status. If a caption immediately repeats the proposed alt text, avoid making a screen-reader user hear the same information twice. The caption can provide context while the alt text supplies a separate visual detail.
Check the final page, not just the image file
Write alt text for the image’s placement, not just its media-library entry. A description reused across pages may become misleading when the same photo appears first on a product page, then in a comparison or troubleshooting guide. Review it alongside the published crop, heading, caption and nearby prose.
- Hide the image temporarily and read the page. What information is missing?
- Draft one sentence that conveys it without adding unverified specifications.
- Check that sentence against the displayed crop. Remove anything that is not visible.
- Check nearby text for duplication; use empty alt text if the image adds nothing.
- For a dense figure, put detailed labels, measurements or connection paths in adjacent HTML text.
Suppose a cable-routing diagram shows a test instrument connected to a switch through a patch panel, with ports labeled P1 and P2. “Cable routing diagram” misses the route, while transcribing the whole figure into the alt text may be unwieldy. “Test instrument connects to switch port P2 through patch-panel port P1” captures the path. Put any cable lengths or test settings printed on the diagram in nearby text.