emojianlab

Write a Caption and Accessible Alt Text

Give an image description and a public caption their own jobs.

By David

Two people open a page about a pottery exhibition. One sees a photograph of a set of unglazed bowls. The other uses a screen reader and hears the title of the exhibition. A caption could tell both people that the bowls belong to an early firing. Alternative text could describe the bowls themselves and their visible arrangement. The two fields can work together without asking either reader to hear the same sentence twice.

Begin from the job of the image

Ask what the image contributes where it appears. It might show an object a reader is comparing. It might provide an example of composition. It might serve as decoration around text that already says what someone needs to know. The answer guides what information belongs in alternative text. Meaningful images need a useful text alternative. A purely decorative image on a web page can usually use an intentionally empty alt attribute so assistive tools can skip it. Follow the actual publishing interface and any accessibility requirements that apply.

A caption is visible to the audience beside the image. It can identify the work and give context people cannot see. A photograph of a square table might show cups and brushes. It does not tell a visitor that the demonstration starts at two. Write the time in the visible caption if the post is an invitation. Reserve the image description for the visual information that matters to that invitation. If the image itself is a schedule then ensure the dates and times are also available as ordinary text someone can read and search.

Draft a pair for a real exhibit note

Imagine the photograph. Three low bowls with unglazed surfaces sit in a row on a pale shelf. The bowl on the right has a dark firing mark near its base. The photograph appears on a page comparing early tests from the studio. Readers need to know which of the forms differ. The background wall adds no useful information to that comparison.

Write the alternative text. Three low bowls on a shelf. The right bowl has a dark patch near the base. That describes the visible evidence behind the comparison. There is no need to call it a photo in a context where the interface already identifies the image. Include its medium if it matters to the subject. If the test distinguishes an actual photo from a painted diagram then say which it is.

Write the caption. The first pieces from the new kiln shelf show different markings at their bases. The caption supplies a factual relationship that the viewer cannot safely infer from the visible line alone. If the maker has not confirmed why the marks appeared then mention the observation rather than inventing a cause. The reader needs the context and the image description to understand the example from different directions.

Work through two other image roles

A product image that needs a name and a choice

A shop lists a book in two cover colors. The visible title states the book name. The caption gives binding details. The image description can distinguish a dark green cover from a pale orange cover when that is the visible option being chosen. Avoid assigning an edition or price based on the color unless the product information establishes it. Use actual form options to let buyers select variants. The image description should help someone understand what the chosen picture shows.

If many similar images show the same book from different angles give each a purpose. The cover image may label the color. A close view may mention the raised lettering on the spine. The recording of texture can be valuable when a person is choosing an edition. A repeated generic phrase such as picture of book gives little information about why several images were included. Keep actual sales and availability facts in text everyone can read early in the page.

A poster that includes a written schedule

Read the poster and transcribe its important facts to ordinary text. Give the caption or surrounding block the venue and date and arrival instructions. The image description can say that the image is a workshop poster and describe any meaningful visual feature. If the information is entirely carried in adjacent text then avoid duplicating a long schedule inside the alternative field. If specific lettering is the example being taught then include it in the description with its purpose. A poster alone can be difficult to use on a small screen.

Provide enough detail for the reading context

A bridge photo in a map guide may need a description of the direction of its entrance rather than the color of the sky. A photo in a lesson on shadows may need the angle of light. A photo credit might be important in a caption without belonging in the description of the visual content. Compose each line around the question it answers. This is a more useful rule than trying to include every visible thing in a sentence. Ask why the reader needs to know the particular detail.

A concise description can be very effective when the image's purpose is straightforward. A chart needs an adjacent text explanation or a table if its relationships are richer than a few words. Give readers a way to reach the underlying values. Provide a caption that introduces the point of the chart. A short description can identify the chart subject and indicate that a detailed explanation follows. This protects all readers from guessing what a tiny axis label says.

Be careful about people and inferred details

Describe the visible information relevant to the image. If a fact such as someone's name or role is established by the publisher then use it with the appropriate approval. Avoid guessing how a person identifies based on their appearance. A scene can show a person holding up a print without providing enough evidence to say they made it. A caption can accurately credit the known maker. Distinguish what you see from what somebody told you. Both can contribute to a useful reading experience.

Write uncommon words plainly when they carry meaning. Decorative letters can make a contributor name harder to hear or search. A caption can keep a small familiar icon if the words remain intact. Use ordinary text in the alternative description so any essential noun is clear to an assistive tool. A character count can help you fit a platform's field. It cannot say whether a detail belongs in that field. Choose the relevant detail before cutting words for length.

Assemble a quick review the pair can pass

  1. Set the image beside its caption and alt text in a local draft.
  2. Read the caption first. Name the fact it supplies that the image cannot show.
  3. Read the alternative text in the surrounding page context. Name the useful visual information it adds.
  4. Check whether a reader can obtain any important dates and actions and contact information without reading the image.
  5. Save a preview and verify the actual alt field if the publishing service offers one.

Use that review before adding ornaments to a caption. A short break can be helpful if the public text is composed of distinct parts. It should still give a clear account if a destination changes the spacing. The characterization of the image belongs with the image. The caption can give the context and invite someone to act. If a piece of art is displayed in two different contexts write a description that serves each context rather than copying the old wording automatically.

Give future editors an understandable pair

Save both plain strings next to the image filename. Name the scene or work so someone can locate it without opening the content management system. A second editor can see which words belonged to the public note and which were used to convey visual facts. If the same photograph goes to a new event update the caption and check whether the description needs a different detail. A project is easier to maintain when the small text fields have regular homes.

A reviewer can make a helpful comment by naming the missing task. They might say that the caption needs the booking route or that the image description needs the arrangement of the bowls. That is more useful than asking for more descriptive language everywhere. An accessible pair can be concise when every line has a job. Write the factual difference that each person will need and check it in the place where they will read or hear it.

Give link images a meaningful name as well

A thumbnail can link to a particular item or a collection. If the thumbnail is the link's only content then the alternative needs to support the link's purpose. Make it clear where following it takes the reader. If the same link also contains ordinary text naming the destination then an empty alternative may be suitable for a redundant image. Check the actual behavior with keyboard focus. Put any visible contextual detail outside the label when a reader does not need it to choose the link.

Tools mentioned

More from Publishing

Build a Useful Hashtag List for a CommunityChoose tags that name real topics and make a series easy to follow.Announce a Changed Time in a Group ChatState the current schedule first and leave a short record of what changed.