Overview of alt text

Credit for the following goes to  https://webaim.org/techniques/alttext/ .

Add alt text in the Insert Image dialog

Confluence supports adding alternative text in the Image Properties dialog box.

  1. In the page you want to change, click Edit
  2. Select the image. The image properties panel appears. 
    Image properties menu
  3. Click Properties. The Image Properties dialog box appears. 
    Image Properties dialog box
  4. In the Alt text field, enter alt text. Until CONFSERVER-34728 has been fixed, avoid using the following special characters in alt-text:

    Do not add text in the Title text field.

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.

<ac:image ac:alt="caDSR logo">

Until CONFSERVER-34728 has been fixed, avoid using the following special characters in alt-text:

  • forward slash (/)
  • colon (:)
  • question mark (?)
  • double quote (")
  • semi colon (;)

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.

caDSR logo