[uf-discuss] hAudio issue: position

Andy Mabbett andy at pigsonthewing.org.uk
Thu Jan 10 15:35:09 PST 2008


The recommended use of "position" in hAudio:

   <http://microformats.org/wiki/haudio#Complete_Album_Example>

is contrary to the good practice, semantic use of ordered lists ("OL").

The mark up on the wiki:

   <div class="item">
      <span class="position">1</span>.
      <span class="fn">Sanity</span>
      (<abbr class="duration" title="PT5M48S">5:48</abbr>)
    </div>
    <div class="item">
     <span class="position">2</span>.
     <span class="fn">Highway To Hell</span>
     (<abbr class="duration" title="PT3M39S">3:39</abbr>)
  </div>

should be:

  <ol>
    <li class="item">
      <span class="fn">Sanity</span>
      (<abbr class="duration" title="PT5M48S">5:48</abbr>)
    </li>
    <li class="item">
     <span class="fn">Highway To Hell</span>
     (<abbr class="duration" title="PT3M39S">3:39</abbr>)
    </li>
  </ol>

leaving no numerals to be marked up.

-- 
Andy Mabbett


More information about the microformats-discuss mailing list