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

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 the QA contact for the bug.

Received on Tuesday, 31 August 2010 07:10:47 UTC