Riverdocs is currently focusing on providing an end-to-end document conversion service.
This information is provided to assist existing software users only.

Server Edition – image accessibility

Fixing an accessibility issue in an image

Let's look at how you fix an issue – for example, the warning <img> missing alt text. The alt text is the short description of an image that displays when you mouse over it in the browser. The screenreader applications used by visually impaired users read these alt texts.

The accessibility principle behind alt text is that all images should have text equivalents in order to make the page intelligible via screenreaders.

During conversion, when the Converter detects missing alt texts it automatically searches for image captions and inserts these as alt texts if they are analysed as suitable. Where no suitable caption is detected, an accessibility issue warning for missing alt text is displayed. You need to insert alt texts for those images. Even invisible images such as transparent GIFs used as spacers, or coloured shapes used only for layout purposes, should be given an equivalent such as alt=" ". RiverDocs provides a Decorative image option to insert such blank alts.

Accessibility Issues list pane and Accessibility Issue Description pane.

After conversion, the Accessibility Issues pane on the right of the screen lists the issues on a per page and total (All) basis.

To correct the first alt text issue, you

  1. Click the issue warning <img> missing "alt" text" in the Accessibility Issues list, which highlights and selects the relevant image in the Editing pane. In this case, it is the first in a group of butterfly images.

  2. Click the Insert/Edit Image button.
    The Insert/Edit Image dialogue box is displayed. At this stage, the image's location displays in the Image URL text box, but the Alt Text box is empty.

    Insert-Edit Image dialogue box

  3. Decide on a suitable alt text by inspecting the image and/or reading the relevant part of the document – in this case, the paragraph of text for image 1 tells you that the butterfly is a Small Tortoiseshell. As the text describes the butterfly's habits rather than its appearance, the name will be sufficient as an alt text, especially as it is so descriptive.

  4. Enter the name, "Small Tortoiseshell" in the Alt Text box.


Length of alt texts: The alt text should describe objectively the main significant content of the image in 150 characters or less, and should not be a filename or placeholder text such as "empty". However, if the image is only used as a layout element, e.g. a coloured rectangle or one of a row of dots, add a blank alt text (alt = " ") by simply typing a single space (without enclosing it in inverted commas).
Any important words depicted in the image should also appear in the alt text description. If you wish to write more than 150 characters, you can create an HTML page containing a longer description and enter its URL in the Long Desc text box – but do not omit the alt text. Do not include filenames (names with extensions such as .doc or .jpg) in your alt text.


Insert-Edit Image dialogue box
You have now fixed the alt text issue. You use a similar procedure for all the other warnings involving missing text properties.

Long Desc

Long descriptions of images may be necessary for accessibility when the image is a detailed map or diagram that is not described fully in the web page where it appears. For long descriptions, you should create a text equivalent – a separate HTML page that describes the image in text, and insert the URL of the page in the Long Desc text box.

To ensure full accessibility compliance, it is also recommended that you inspect the other images – those that did not generate warnings – during the editing session to verify that the automatically inserted alt texts are suitable.

You can verify your changes as you edit by clicking the Accessify button, which runs a fresh web accessibility check and repair on the current page by re-testing it against the WCAG 1.0 rules. This can be left until the end of the document, because the check is triggered automatically each time you move to a new page, and it is easy to locate and view issues on previous pages by just clicking them in the All list. As you fix issues, they are removed from the list.

Recheck and update accessibility issues

If you have introduced any new issues accidentally while editing, clicking the Accessify button also adds those to the list, so in such cases, new warnings will display. Sometimes a new alt text is not suitable and the warnings change to reflect that – for example, alt texts that are too long or that contain filenames or forbidden characters will trigger new accessibility warnings.

 

 

Support - Logo