NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

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

Alternative text must be included for every image posted on the wiki.. Keep the alt text short; browsers truncate long alt text. In addition, describe the important aspects of the image in the text.

Add alt text in the

...

Insert Image dialog

Confluence 5 supports adding alternative text in the insert Insert Image dialogwindow.

  1. Open the page on which you want to see the image.

...

  1. Select  Plus sign indicating Insert menu in ConfluenceImage Added> Files and Images.
  2. Select the image to insert.

...

  1. Click the image to display the image properties menu.

...

  1. Image pop-up menuImage Added
  2. Click Properties.
    The Image Properties dialog box appears.
  3. Enter Alt text in the Alt text field. The Title is not required.

    Image Properties dialog boxImage Added

Add alt text in the XHTML

To enter alt text in the XHTML, enter the ac:alt attribute in the ac:image element as follows..

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 in the precending preceding example, right after ac:image.

An image inserted this way has alt text, which is evident to the user of a screen reader for the following image. Display the image properties in the browser to view the alt text.

...