NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To display alternative text for an image, enter the ac:alt attribute in the ac:image element as follows..Keep the alt text fairly short, as Confluence truncates short. Browsers truncate long alt text entries.

Code Block
<ac:image ac:alt="caDSR logo">
Info
titlePositioning alt text

Confluence deletes the alt text if you spell or punctuate it incorrectly. For best results, you should also insert it as shown above, right after ac:image.

...

An image inserted this way has alt text, as would be evident with the following image to one using the user of a screen reader.

caDSR logoYou can also add alt text by inserting the image using wiki markup. Refer to inserting an image on a page and changing the size.