Skip to main content

How to set Alt Text for a Photo

Alt text is a written description of an image on a page. Alt text is read aloud by screen readers for the visually impaired, displays if an image fails to load and is indexed by search engine bots to better understand your content. Adding alt text to images is key to web accessibility. Photo Center provides alt text for accessibility on your websites and apps.

Adding and Editing Alt Text

The alt text field appears next to the caption field since often they are the same, so it makes it easy for users to copy and paste into the alt text field.

pc_alt_text.png

Alt text is set globally for an image; you cannot contextually modify alt text such as for the story you add the image to.

Technical Details

In ANS, this value is stored in the alt_text attribute, as shown here:

{
  "_id" : "AAAAAAAAAAAAAAAAAAAAAAAAAI",
  "type" : "image",
  "owner" : {
    "id" : "your-organization"
  },
  "caption" : "This is the standard image caption.",
  "alt_text" : "This is alternate text for screen readers and SEO",
  "version" : "0.9.0"
}