- From: Gregory J. Rosmaita <oedipus@hicom.net>
- Date: Thu, 26 Mar 2009 20:33:32 +0000
- To: public-xhtml2@w3.org
aloha! as per action item 65, here are 2 groups of examples of a list in a P as well as a list following a P; note that the only way to bind a P with a list is to use aria-labelledby as illustrated below... since i prefer my martinis extra dry, i added vermouth to my theoretical martini, but if the first grouping is insufficient to illustrate the point, i have also provided a second option, a fudge-based example... gregory. PS: for an extra dry martini (recommended) one simply waves the cork of the vermouth bottle over the chilled martini glass after it has been filled with gin or vodka, and the drink is neither shaken nor stirred. PPS: since i really like martinis, i added a third ingredient to the example so that i have a real list and not merely a couplet. -------------------------------- OPTION 1: Martini-Based Examples -------------------------------- <!-- prose list --> <p>The ingredients for a dry martini are: 2 parts gin or vodka; one-half part white dry vermouth; and an olive (optional).</p> <!-- P with nested UL --> <p> The ingredients for a martini are: <ul> <li>2 parts gin (or vodka);</li> <li>one-half part white dry vermouth;</li> <li>one olive (optional)</li> </ul> </p> <!-- 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: Fudge-Based Examples ------------------------------ <!-- prose list --> <p>The ingredients for the recipie are: one stick of butter (melted); 1 cup of confectioner's sugar; one half cup of powdered cocoa; one quarter cup of milk and three drops of pure vanilla extract.</p> <!-- P with nested UL --> <p> The ingredients for microwave fudge are: <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> </p> <!-- 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> ------------------------------------------------------- One martini is all right, two is too many, three is not enough. -- James Thurber ------------------------------------------------------- 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:34:08 UTC