Definition list as image caption
Jakob
jakov at gmx.at
Tue Jun 26 02:19:09 EDT 2012
Am 25.06.2012 um 23:18 schrieb John MacFarlane <fiddlosopher at gmail.com>:
> Pandoc has for some time supported the following convention.
> A paragraph containing just an image (and nothing else) gets
> treated as a figure, with the alt text as the caption.
> (If you don't want this, you can defeat it by including
> a nonbreaking space or empty comment in the paragraph alongside
> the image.
I think the alt-text should be used to describe what's on the image, like "a monkey with a banana in his hand" so the blind and the markdown reader knows what is on the image. The image caption however could say someting like "Male monkey *frank* in his new area: when kept in nature-like areas, the monkeys show much fewer stress symptoms".
In my opinion the title tag of the img element should be thrown away and be replaced by a structure like this:
(as it should be now):
"<figure>
<img alt='a monkey with a banana' title='Male monkey *frank* in his new area' />
<img alt='graph showing stress levels of male monkeys in blue and those of female in red as well as a pictogram of an aggressive monkey' title='blood levels of cortisol in male and female monkeys t different times of the day in nature-like areas' />
<figcaption>when kept in nature-like areas, the monkeys show much fewer stress symptoms</figcaption>
</figure>"
(as i think it should be in the future):
"<figure>
<pic><img alt='a monkey with a banana'/><pictitle>Male monkey *frank* in his new area</pictitle></pic>
<pic><img alt='graph showing stress levels of male monkeys in blue and those of female in red as well as a pictogram of an aggressive monkey'><pictitle>blood levels of cortisol in male and female monkeys t different times of the day in nature-like areas</pictitle></pic>
<figcaption>when kept in nature-like areas, the monkeys show much fewer stress symptoms</figcaption>
</figure>"
More information about the Markdown-Discuss
mailing list