[uf-discuss] hCard, i18n and screen readers
codedread at gmail.com
Tue Jan 11 10:19:39 PST 2011
I'm new to hCard. Let's say I have the following markup:
What is the proper way to mark this up such that it is identified as a
mobile phone number, but it is also i18n friendly (i.e. it does not
require me to put "CELL" in the text contents of the page).
This is what I think is one option:
<h3><abbr class="type" title="cell">Téléphone Mobile</abbr></h3>
However, it introduces the semantically incorrect 'abbr' element into
my markup. It would also introduce an undesirable tooltip when
hovering over Mobile Phone.
Similar questions go for ADR types, gender (when hCard is presumably
updated for vCard4), etc.
Someone just now pointed me to
which indicates that the following is another option:
<h3 class="type"><span class="value-title"
The extra span seems ... dirty, but I guess it can work. My only
question is whether screen readers interpret the title of the empty
span in any way.
More information about the microformats-discuss