[whatwg] [HTML5] 3.10.9. The |abbr| element

Lachlan Hunt lachlan.hunt at lachy.id.au
Thu Nov 2 16:34:36 PST 2006


Jonathan Worent wrote:
>> e.g.
>>
>> You could mark up the first occurance as like this
>>
>>    <abbr title="As Far as I Know">AFAIK</abbr>
>>
>> Then, later in the document, you could use it without the title attribute
>>
>>    <abbr>AFAIK</abbr>
>>
>> and a UA could allow the user to discover the expansion.  This idea is 
>> already somewhat supported in the current draft, but requires that it 
>> references the defining term of a previously marked up <dfn>, rather 
>> than just another occurrence of the same abbreviation.  IMHO, that part 
>> of the spec needs fixing.
> 
> Would <dfn><abbr title="As Far as I Know">AFAIK</abbr></dfn> satisfy this?

No.

* It's inconvenient having to type an extra <dfn> element.
* You may not be defining the actual meaning of the term and,
* According to the current spec, <abbr>AFAIK</abbr> can refer to a <dfn> 
who's *defining term* is "AFAIK", but in your example, the defining term 
is "As Far as I Know".

-- 
Lachlan Hunt
http://lachy.id.au/



More information about the whatwg mailing list