W3C home > Mailing lists > Public > public-html@w3.org > June 2010

use of figure/figcaption

From: Steven Faulkner <faulkner.steve@gmail.com>
Date: Tue, 8 Jun 2010 09:52:22 +0100
Message-ID: <AANLkTin2n0IWdyAQmBedyd_yAaVuk4Y0v1A4OCGvh19I@mail.gmail.com>
To: HTMLWG WG <public-html@w3.org>
Please correct me, but i would have thought that a primary use case
for the figure/figcaption elements would be to mark up images such as:
http://www.flickr.com/photos/dunechaser/134672022/

example:
<figure>
<img src="http://farm1.static.flickr.com/45/134672022_684792c559.jpg>
<figcaption>Inventor of the World Wide Web, director of the World Wide
Web Consortium (W3C),
Knight Commander of the British Empire.</figcaption>
</figure>


this seems at odds with the figure element as specified:
"The element can thus be used to annotate illustrations, diagrams,
photos, code listings, etc, that are referred to from the main content
of the document, but that could, without affecting the flow of the
document, be moved away from that primary content, e.g. to the side of
the page, to dedicated pages, or to an appendix."
http://dev.w3.org/html5/spec/grouping-content.html#the-figure-element

As in the case above the image IS the main content of the document.

Am i reading the spec incorrectly or is the spec incorrect or is the
use in the example incorrect?
-- 
with regards

Steve Faulkner
Technical Director - TPG Europe
Director - Web Accessibility Tools Consortium

www.paciellogroup.com | www.wat-c.org
Web Accessibility Toolbar -
http://www.paciellogroup.com/resources/wat-ie-about.html
Received on Tuesday, 8 June 2010 08:53:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:18 UTC