Skip to main content

Add the Alt Element

You can use the alt element for both images and videos. The alt element can be translated and it only applies where you have added it. This approach is useful when you reuse an image or video in many topics, but you want the description to be different, depending on the context of the topic. If you want to switch image for different languages, add the alt element to override the image description for affected topics.

Aim to provide a text description as if you were explaining it to someone with a visual impairment. Try to include a keyword or synonym for your page. Do not use images for "keyword stuffing".

Note

If an image does not have a description or an alt element, the image title is used instead. By default, the title property is set to the image file name.

  1. Add the image or video to the topic and then select it.

  2. Select the mediaobject element in the Element Structure Menu and choose Go to element.

    Paligo editor showing that the mediaobject element is selected in the element structure menu. This reveals a dropdown menu. A callout arrow points to the Go to element option on the dropdown menu.
  3. Press Alt + Enter ⏎ (Windows) or Command ⌘ + Enter ⏎ (Mac) to display the Element Context Menu.

  4. Enter alt and select it from the menu.

    ALT_Option_small.jpg

    Paligo adds an alt element above the image or video (but inside the mediaobject element).

    An image in a topic. Above the image, there is an alt tag, which shows the word "alt" by default. A callout arrow is pointing at the alt tag.
  5. Enter the description in the alt element.

    alt-text-rover-on-surface-of-mars.jpg
  6. Select Save. Save icon.