On 1/7/08 11:52 AM, "Andy Mabbett" <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, ryan
> <[EMAIL PROTECTED]> writes
>
>> On Jan 6, 2008, at 12:30 PM, Andy Mabbett wrote:
>>> In message <[EMAIL PROTECTED]>, Katrina <[EMAIL PROTECTED]>
>>> writes
>>>
>>>> I want to specify a work-related telephone number, but I just want to
>>>> label it 'Phone:'. The closest I can find to do this is the abbr,
>>>> however, work is not an abbreviation of 'phone'.
>>>>
>>>> eg. <abbr class="type" title="work">Phone</abbr>
>>>>
>>>> Q2. Would it be possible to do something like this, instead?
>>>> <span class="type" title="work">Phone</span>
>>>
>>>
>>> We could - if there is sufficient support - adapt the recently-
>>> proposed
>>> "sub-microformat" pattern, so that:
>>>
>>> <foo class="tel-work">5555555</a>
>>>
>>> becomes parsed as a "work-type" 'phone number.
>>
>> I don't think we want to do this, because it puts human-readable data
>> ("work") in a spot that's no longer visible.
>
> Except that, as the OP stated, that it's a work number is clear from the
> context.
>
> In any case, how is that different from:
>
> <abbr class="dtstart" title="2008-01-07">7 Jan</abbr>
>
> where "2008" is "hidden"?
title attribute is displayed in tool-tips and thus is at least semi-visible
and thus human verifiable.
class attribute is not.
<http://microformats.org/wiki/faq#Q._Should_human_readable_data_go_into_clas
s_names.3F>
Tantek
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss