Quote:
Originally Posted by JSWolf
Alt text only displays if the images are not there. Alt text is also used for a program doing TTS to read since it cannot read the images.
|
Since the alt text is relevant to the content, the OP seems to want a way to make it visible. Using figure/caption technique suggested by @Karellen seems like a good idea. If the formatting of the images is consistent, this could likely be done by a regex to extract the alt text and insert it as a caption.
Code:
<figure class="center">
<img class="glyphw40" src="../Images/do_not_print_large_jobs.png" alt="The words 'Ocean Bride" very large and black, in parentheses, set in a collection of broken and mismatched letter forms. Monstrously ugly. Appropriately."/>
<figcaption>"The words 'Ocean Bride' very large and black, in parentheses, set in a collection of broken and mismatched letter forms. Monstrously ugly. Appropriately. "</figcaption>
</figure>
Note that adding the class center to figure centers both the image and the caption. You could wrap a <p class="center">around the <img> to center only the image as in the first attached image.