Use of <abbr> in microformats
Home / Site Building & Testing / Use of <abbr> in microformats
Some microformats use the title attibute of the <abbr> tag to mark-up, for example:
| Code: |
|
<abbr class="dtstart" title="2006-09-15T19:30:00+01:00">7:30pm </abbr> |
and:
| Code: |
|
<abbr class="latitude" title="37.408183">N 37° 24.491</abbr> |
Does this seem OK, or can anyone see any problems?
How would assistive technology render them?
_________________
--
Andy Mabbett
Birmingham, England
The reason <abbr> is used, in my opinion not particularly semantically, is simply to accommodate the Safari browser, which has lamentable support for the <object> element that they originally wanted to use. (See Tantek Celik's explanation of this http://tantek.com/... )
While we've all of us made accommodations for the majority browser, it makes me feel a little queasy that semantics are being compromised to accommodate a very minority browser like Safari - particularly when that's in active development and could be fixed (Dave Hyatt certainly seems responsive when people request changes to help its Standards support - see the excellent response to the ACID 2 test http://en.wikipedia.org/... )
<cynicism>I wonder if the movers and shakers in the microformats world are primarily Safari users? </cynicism>
_________________
www.brucelawson.co.uk
Web Evanglist, Opera, WaSP Accesibility Task Force
Study the Web Standards Curriculum
International Lothario (retired)
However, the good thing about Microformats is that they are based on the class attribute and not the tag name. My understanding is that you could use this instead:
| Code: |
| <span class="dtstart" title="2006-09-15T19:30:00+01:00">7:30pm
</span> |
_________________
My CV type thing and my Life of Ben (Blog). Nigel Peck's Accessify Forum Requirements.
Last edited by Ben Millard on 21 Sep 2006 12:10 pm; edited 1 time in total
| Cerbera wrote: | ||
My understanding is that you could use this instead:
|
Sadly (inexplicably?) not so:
http://microformats.org/...
http://microformats.org/...
_________________
--
Andy Mabbett
Birmingham, England
_________________
My CV type thing and my Life of Ben (Blog). Nigel Peck's Accessify Forum Requirements.
Tantek's page shows that he believes "25 January 2005" is an abbreviation of "20050125". I disagree.
I think they should have used the object element, and Safari should damn well implement the html spec properly.
But I think My Bloody Valentine are tuneful, and Pui Fan Lee is a sex goddess, so my judgement might be impaired.
_________________
www.brucelawson.co.uk
Web Evanglist, Opera, WaSP Accesibility Task Force
Study the Web Standards Curriculum
International Lothario (retired)
| brucelawson wrote: |
| But I think My Bloody Valentine are tuneful, |
'Loomer' is a brilliant song.
Edit: But 'When you sleep' is better.
_________________
Jim O'Donnell
work: Royal Observatory Greenwich
play: eatyourgreens
| pigsonthewing wrote: | ||
Interesting debate, so far, thanks, but what about:
|
I can see no reason why assistive technologies would render them any differently to any other <abbr> that they rendered, unless that particular assitive technology was aware of microformats.
_________________
Nigel Peck / MIS Web Design
Last edited by Nigel Peck on 21 Sep 2006 11:06 pm; edited 2 times in total
| pigsonthewing wrote: |
| Neither can I - so, how would that be? |
A screen reader might read the characters out.
For your examples it wouldn't be very beneficial for the user, especially in the case of the time. '2006-09-15T19:30:00+01:00' being read out is not much use to the user.
If the assitive technology being used was aware of microformats then I suppose it would depend on the particular data item. For the latitude in your example I suppose a screen reader could identify the data as that while reading it out and possibly offer further functions such as connecting to a map service? The time could be formatted locally?
_________________
Nigel Peck / MIS Web Design
| pigsonthewing wrote: |
| Use of <abbr> in microformats |
FYI, this discussion is, in turn, being discussed here <http://microformats.org/...> (et seq)
_________________
--
Andy Mabbett
Birmingham, England
_________________
Nigel Peck / MIS Web Design
All times are GMT
You cannot post new topics in this forumYou cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



