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

[Bug 10455] Mint a describedby attribute for the img element

From: <bugzilla@jessica.w3.org>
Date: Tue, 31 Aug 2010 07:10:45 +0000
To: public-html-a11y@w3.org
Message-Id: <E1OqKzV-00078E-Dl@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10455





--- Comment #50 from Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>  2010-08-31 07:10:44 ---
Note with HTML+RDFa and rel="longdesc" defined as relating a long description
to the link context, you could do:

<img src="foo.jpg"
     alt="{Short alternative}"
     id="image"
     about="#image"
     rel="longdesc"
     resource="long-description.html">

or

<img src="foo.jpg"
     alt="{Short alternative}"
     id="image">

<a href="long-description.html"
   rel="longdesc"
   about="#image">Image description</a>

or

<img src="foo.jpg"
     alt="{Short alternative}"
     id="image">

<span resource="long-description.html"
      rel="longdesc"
      about="#image"></span>

-- 
Configure bugmail: http://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, 31 August 2010 07:10:46 UTC

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