W3C home > Mailing lists > Public > public-html-a11y@w3.org > December 2011

[Bug 14937] Replace poor coding example for figure with multiple images

From: <bugzilla@jessica.w3.org>
Date: Tue, 13 Dec 2011 08:19:34 +0000
To: public-html-a11y@w3.org
Message-Id: <E1RaNaI-0004kS-Ty@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=14937

Marco Kotrotsos <marco@mlabs.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marco@mlabs.nl

--- Comment #7 from Marco Kotrotsos <marco@mlabs.nl> 2011-12-13 08:19:32 UTC ---
Relevant discussion aside- To help with the discussion I am submitting a better
code example- based on the one already written at 4.5.11 "The figure element": 
http://dev.w3.org/html5/spec/the-figure-element.html#the-figure-element 

--- code ---

<figure role="group">
    <figcaption>The castle through the ages: 1423, 1858, and 1999
respectively.</figcaption>

    <figure role="group">
        <img src="castle-etching.jpg" alt="The castle has one tower, and a tall
wall around it.">
        <figcaption>Etching. Anonymous, ca. 1423.</figcaption>
    </figure>

    <figure role="group">
        <img src="castle-oil.jpg" alt="The castle now has two towers and two
walls.">
        <figcaption>Oil-based paint on canvas. Maria Towle, 1858.</figcaption>
    </figure>

    <figure role="group">
        <img src="castle-film.jpg" alt="The castle lies in ruins, the original
tower all that remains in one piece.">
        <figcaption>Film photograph. Peter Jankle, 1999.</figcaption>
    </figure> 
</figure>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 13 December 2011 08:19:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:25 UTC