Alt text describes what appears in an image for screen-reader users; captions state title, year, medium, dimensions, and credit; file names and nearby text add context. Use each field for one job, keep wording specific, and add all details during upload.
Alt text - describe the image
Alt text is a short written description attached to an image. Its main audience is people using screen readers, but it also appears when an image fails to load. For artwork or photography, describe the subject, composition, and visible details without turning the field into a marketing line.
A useful alt text answers four questions: what is shown, who or what is in it, what happens in the frame, and what mood or setting matters. For a portrait, mention pose, clothing, and background. For an abstract painting, mention colors, shapes, texture, and arrangement. Keep it one or two sentences. If the image is purely decorative, an empty alt attribute is acceptable.
Examples:
- Portrait: "Black-and-white photograph of a woman seated at a desk, looking left, with a window behind her."
- Landscape: "Color photograph of a rocky coastline at low tide, with wet sand and a distant lighthouse."
- Painting: "Oil painting of a red chair in a blue room, with visible brushstrokes and strong shadows."
Captions - facts viewers expect
A caption is visible text under or beside the image. It should carry the factual record of the work. Use a consistent order so visitors can scan a portfolio quickly.
Include:
- Title of the work
- Year made
- Medium or process
- Dimensions or print size
- Edition, if relevant
- Credit, copyright, or client name, if relevant
- Location or series name, if relevant
A caption does not need to repeat the full alt text. It should be precise and neutral. "Untitled, 2024, gelatin silver print, 20 x 24 inches" is better than a vague line such as "A beautiful moment from my recent series."
Titles and file names
The image title and file name are separate from alt text and caption, but they support both. The title can be artistic, while the file name should be readable and stable.
Before upload, rename files from camera defaults to something descriptive:
- Good:
portrait-woman-desk-2024.jpg - Good:
coastline-low-tide-lighthouse.jpg - Avoid:
IMG_4821.jpg - Avoid:
final-final-v3.jpg
Use lowercase letters, hyphens, and simple words. Do not stuff a file name with repeated search terms. A clear file name helps you manage assets and gives search engines a small clue about the image content.
Accessibility beyond alt text
Alt text is one part of an accessible portfolio. Keyboard users should be able to move through galleries without a mouse, and focus states should be visible. Text should have enough contrast against its background, especially for captions placed over images. Buttons, filters, and lightbox controls need clear labels rather than icon-only controls.
Use semantic HTML for galleries: a list of figures with figcaption is easier for assistive technology than a pile of divs. If a lightbox opens, it should trap focus while open and return focus to the triggering thumbnail when closed. Motion such as parallax, autoplaying video, or animated transitions should respect reduced-motion settings.
Do not rely on color alone to show state. A selected filter should have text or an icon, not only a color change. Provide captions or transcripts for audio and video. Keep tap targets large enough on mobile, and test the portfolio with a screen reader such as NVDA, VoiceOver, or TalkBack. A simple audit is to navigate the site using only the Tab key and listen to how each image is announced.
Descriptive text and search
Search engines cannot see an image the way a person does. They use alt text, captions, nearby page text, file names, and structured data to understand what is shown and why it matters. For an artist or photographer, this means descriptive text can help a portfolio appear for relevant searches, but only when it is honest and specific.
Write for a human first. Name the subject, medium, place, or series when it is true. If a page shows a series of night photographs of buses, say that in the surrounding text. If an image is a ceramic vase, use words such as ceramic, glaze, form, and studio. Avoid generic filler such as "beautiful image" or "high quality photo."
Search visibility also depends on page speed, image size, and clear page structure. Alt text is one signal among many. It should describe the image, not chase every possible keyword.
Common mistakes
- Writing alt text that repeats the caption word for word
- Leaving camera-generated file names unchanged
- Keyword stuffing, such as listing ten unrelated search terms in alt text
- Using "image of" or "picture of" at the start of every alt text
- Hiding important information only inside the image
- Adding alt text to decorative borders or icons
- Forgetting to update text when replacing an image
- Making captions so long that the factual details are hard to find
- Testing only on desktop and ignoring keyboard or screen-reader use
A good test is to read the alt text aloud without seeing the image. If it gives a fair idea of what is shown, it is probably useful.
A short upload routine
Use this checklist every time you add portfolio images:
- Rename the file with a short descriptive name
- Write alt text that describes the visible image
- Add a caption with title, year, medium, and size
- Check that the image title matches your records
- Add credit or client details when needed
- Review the page on mobile and with a screen reader if possible
- Save the text in your archive so it can be reused consistently
This routine takes a few minutes per image and prevents the common problem of a polished portfolio with missing or inconsistent information. Keep the same field order across the site, and update text whenever a work is renamed, reprinted, or shown in a new context.