In message <[EMAIL PROTECTED]>, Manu Sporny
<[EMAIL PROTECTED]> writes

>There only seems to be one issue with the current proposal:
>
>http://microformats.org/wiki/currency-issues#Problem

That's the issue of

        10 cents

having no whole-currency identifier. Some of the solutions there,
including my own, are sub-optimal, not least because their abuse of
"abbr" causes accessibility problems.

Since my last post on the matter, I have given this extra thought.


We could use:

        <abbr class="hmoney" title="USD 0.1">10 cents</abbr>

which has the problem that "GBP" is, itself, an abbreviation.


This could be expanded thus:

        <abbr title="10 cents">
           <abbr class="hmoney" title="USD 0.1">10 cents</abbr>
        </abbr>

though I have yet to ascertain the accessibility of that model.


My preference would be to use the previously-described
"[[title-trigger]] solution:

        <span class="hmoney title-trigger" title="USD 0.1">
           10 cents
        </span>

In the latter, the rule for the title is that it MUST contain only an
ISO 4217 currency code and a numeric value, (in either order) separated
by a space.


-- 
Andy Mabbett
_______________________________________________
microformats-new mailing list
microformats-new@microformats.org
http://microformats.org/mailman/listinfo/microformats-new

Reply via email to