Sub titulo Re: Site on extreme accessibility
scripsit Jim Moe:
Steve Pugh wrote:
>>
[...]; using <acronymwhere you should be using <abbr(WWW isn't
pronounced as a word and so isn't an acronym); [...]
Likely the gaffe is because the most used browser, IE, does not
support <abbr>.
I have no intentions of defending the bogus "site on extreme accessibility"
(which looks like malevolent bashing of accessibility, even if I keep saying
to myself "never ascribe to malevolence anything that can be conveniently
explained as stupidity or ignorance"), and I only wish to make technical
comments on <abbrsupport, so I've changed the Subject line.
IE lacked any support to <abbrup to and including IE 6, to the extent that
it does not even recognize the tags. After all, a browser could well conform
to HTML specs as regards to <abbr(and <acronym>) simply by parsing the
markup; no specific rendering or behavior is required. But IE just discarded
the tags, so you could not even use your own styling for the <abbrelement.
This changed in IE 7, which recognizes <abbrthough renders it as normal
text by default (which is quite sensible if you ask me, and even if you
don't). It shows the value of an eventual title="..." attribute as a
tooltip, as expected, since that's what it does to the attribute in all
elements. From the IE 7 perspective, <abbris much like <span>.
(Actually <abbrand <acronymare much like <awithout attributes, except
that <abbrand <acronymhave strange default renderings on some browsers
and might get even wilder if some implementor takes the "sample style sheet
for HTML 4"*) in the CSS 2.0 specification seriously. Since <ais much
shorter and avoids the twisty question "what's an acronym, BTW?", we could
use <a title="World Wide Web Consortium">WWW</aand use CSS for any styling
we like. I'm not entirely serious. :-) )
( *It has: ABBR, ACRONYM { font-variant: small-caps; letter-spacing:
0.1em }
which is a really bad joke.)
You can use
abbr { border-bottom: dotted 2px; }
if you want to have a simulated dotted underline on IE 7 as by default on
some other browsers.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/