Webhelp Responsive. Use ALT content for zoomed images in pop-up window?
Post here questions and problems related to editing and publishing DITA content.
Webhelp Responsive. Use ALT content for zoomed images in pop-up window?
Hi,
For quality purposes, we often create inline images with a bigger size that are scaled down with the width attribute to make them fit within a line of text.
However, this enables a user to click on the image which is then shown in its original size in the modal.
Although this is acceptable behavior, we run into the following problem:
Normally, the ALT text of an image is added as a caption at the bottom of the zoomed image. Our inline images, though, are not supposed to get ALT information, i.e. they stay empty, because they are usually accompanied by a <uicontrol> element that already contains the necessary information.
We are in some kind of dilemma here, because on the one hand, it would be nice to use the ALT information in the modal. But on the other hand, a screenreader would read the ALT information AND the uicontrol content, which will eventually lead to text repeats within the documentation content.
Could there be a way to use the <uicontrol> information for the modal if the ALT element is empty?
Thanks,
Christina
For quality purposes, we often create inline images with a bigger size that are scaled down with the width attribute to make them fit within a line of text.
However, this enables a user to click on the image which is then shown in its original size in the modal.
Although this is acceptable behavior, we run into the following problem:
Normally, the ALT text of an image is added as a caption at the bottom of the zoomed image. Our inline images, though, are not supposed to get ALT information, i.e. they stay empty, because they are usually accompanied by a <uicontrol> element that already contains the necessary information.
We are in some kind of dilemma here, because on the one hand, it would be nice to use the ALT information in the modal. But on the other hand, a screenreader would read the ALT information AND the uicontrol content, which will eventually lead to text repeats within the documentation content.
Could there be a way to use the <uicontrol> information for the modal if the ALT element is empty?
Thanks,
Christina
oXygen XML Editor 25.1 build 2023070306
DITA OT 3.7.4
DITA OT 3.7.4
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service