Details
-
Suggestion
-
Resolution: Fixed
-
2
-
Description
Issue Summary
If a value is set for the alt property of an image that's embedded within a page, Confluence will display the alt property name and it's value within the rendered HTML code. However, if no value is set for the alt property, then Confluence will not display anything for the alt property, including it's title.
Ideally, the alt property is outputted but with no value so that screen readers will not break when trying to process an embedded image.
Steps to Reproduce
For a given image embedded within a Confluence page:
- Edit the page.
- Select the image and click on Properties.
- Click on Title.
- Leave the Alt text field blank.
- Save the page.
Desired Results
If you right click on the page to view the rendered HTML and locate the image tag containing the image, there should be a reference to the alt property within the image tag like this:
<img class="confluence-embedded-image" height="250" src="/conf/download/attachments/10059777/157%26MY_IMAGE.JPG?version=1&modificationDate=1573766869993&api=v2" title="My Title" alt="">
Actual Results
If you right click on the page to view the rendered HTML and locate the image tag containing the image, you'll notice that there's no reference of the alt property within the image tag:
<img class="confluence-embedded-image" height="250" src="/conf/download/attachments/10059777/157%26MY_IMAGE.JPG?version=1&modificationDate=1573766869993&api=v2" title="My Title">
Attachments
Issue Links
- is related to
-
CONFSERVER-32163 Improve usability of Confluence for the visually impaired
- Gathering Interest