Icon size is larger than expected

Last Updated : Sep 04, 2023 |
Prolog information

Condition

The icon size on Avaya Documentation Center is larger than expected, specifically in French, Spanish, German, Japanese, and Chinese (Simple & TW) languages. This issue occurs despite the alt text has the word 'icon‘ and its height set to about 11 or 12 points.
The icon size is larger than expected.

Cause

The word ‘icon’ in the alt text of the image makes the icon appear smaller than other images. However, you might still see the following issues:
  • Writer might miss adding an alt text to the image or miss adding ‘icon’ in alt element in the image.
  • When content in alt text is translated, the condition icon term is not met, therefore, the page displays the image larger.

Solution

  1. Check out a topic that has the icon in Oxygen XML Author.
  2. Select the image element of the icon.
  3. Add the word icon in the alt element.
    ADDITIONAL INFORMATION:
    For example, the Accept Voice Interaction icon.
  4. In the Attributes dialog box, type icon in the outputclass field.
    ADDITIONAL INFORMATION: The outputclass attribute.
    Note:
    If you reuse the image element, add the attribute in the source image topic and not in the target topic.
  5. Check in the topic and generate the Avaya Documentation Center output.
  6. Verify that the page displays the icon size correctly.