Re: [html-techs-tf] caption vs alt

Sailesh wrote:

> As per my understanding, the proposal is for Using figcaption to label
> an image and doing away with the alt only when a figure has a single
> image and a figcaption ... not multiple images within the figure.

Yes, I apologise, I was not really talking about the proposed technique, 
but about possible misinterpretations that designers could make of it. 
Assuming that <figcaption> can label an <img> within the <figure> might 
lead to this kind of misuse.


> But it will not be exposed as a list of images so list markup is better.

Both can be combined: a list inside the <figure> with its own 
<figcaption>, so the group has a label.

>> Maybe it is not critical, but there are some use cases. For example, you
 >> can write several articles with illustrations and use CSS to
 >> automatically number them in the <figcaption>

> Are you suggesting there is more content than an image and a
> figcaption inside the figure?

No, only <figure> elements with just an <img> and a <figcaption>. For 
example, in a technical book with screenshots, <figure> can be the 
perfect element to allow this auto-numbering, create a "table of 
illustrations", etc.

Regards,
Ramón.

Received on Wednesday, 15 January 2014 20:25:47 UTC