- From: Gregory J. Rosmaita <oedipus@hicom.net>
- Date: Thu, 26 Mar 2009 20:38:28 +0000
- To: public-xhtml2@w3.org
CORRECTION: DEL note that the only way to bind a P with a list is to use aria-labelledby as illustrated below... INS note that the only way to bind a list to a P without nesting the list in the P is to use aria-labelledby as illustrated below... <!-- P with accompanying list --> <p>The ingredients for a martini are:</p> <ul> <li>2 parts gin (or vodka)</li> <li>one-half part white dry vermouth;</li> <li>one olive (optional)</li> </ul> <!-- repair for P with accompanying list: addition of ARIA --> <p id="p3">The ingredients for a dry martini are:</p> <ul aria-labelledby="p3"> <li>2 parts gin (or vodka)</li> <li>one-half part white dry vermouth;</li> <li>one olive (optional)</li> </ul> OPTION 2: <!-- P with accompanying list --> <p>The ingredients for for microwave fudge are:</p> <ul> <li>1 stick of butter</li> <li>1 cup of confectioner's sugar;</li> <li>half a cup of powdered cocoa;</li> <li>a quarter cup of milk; and</li> <li>3 drops of pure vanilla extract</li> </ul> <!-- repair for P with accompanying list: addition of ARIA --> <p id="p3">The ingredients for microwave fudge are:</p> <ul aria-labelledby="p3"> <li>1 stick of butter</li> <li>1 cup of confectioner's sugar;</li> <li>half a cup of powdered cocoa;</li> <li>a quarter cup of milk; and</li> <li>3 drops of pure vanilla extract</li> </ul> -------------------------------------------------------------- I've taken more out of alcohol than alcohol's taken out of me. -- Sir Winston Churchill -------------------------------------------------------------- Gregory J. Rosmaita: oedipus@hicom.net Camera Obscura: http://www.hicom.net/~oedipus/ Oedipus' Online Complex: http://my.opera.com/oedipus/ --------------------------------------------------------------
Received on Thursday, 26 March 2009 20:39:05 UTC