W3C home > Mailing lists > Public > wai-xtech@w3.org > July 2007

Re: caption positioning & binding example using WAI-ARIA markup

From: Gez Lemon <gez.lemon@gmail.com>
Date: Wed, 11 Jul 2007 21:31:49 +0100
Message-ID: <e2a28a920707111331n1a754f1fv861348c7597b43a2@mail.gmail.com>
To: "Gregory J. Rosmaita" <oedipus@hicom.net>
Cc: public-xhtml2@w3.org, wai-xtech@w3.org

Hi Gregory,

On 11/07/07, Gregory J. Rosmaita <oedipus@hicom.net> wrote:
> move the description of the graphic BEFORE the graphic, so that it
> is crystal clear to readers that the caption and illustration are
> bound together;
> for an even stronger visual binding, why not place the caption and
> graphic together in a containing box?

Your proposal makes sense, but I'm not sure about the labelledby
relationship between the container div and the image. I would have
thought that the image would have the labelledby attribute,
referencing the caption in the paragraph that owns the image, and that
there should also be a describedby attribute to the paragraph. So the
resulting structure would be (content trimmed):

<div class="caption-and-img">
  <p aaa:owns="img1" id="d1">
    <strong id="c1">Caption ...</strong>: describes ...

    <img id="img1"
         alt="The contract model with accessibility API's"

    For more information see ...

Best regards,


Supplement your vitamins
Received on Wednesday, 11 July 2007 20:31:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:51:32 UTC