W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2003

Re: extending CSS is unnecessary Re: Abbreviations and Acronyms: [techs] Latest HTML Techniques Draft

From: Charles McCathieNevile <charles@w3.org>
Date: Fri, 12 Dec 2003 09:15:13 -0500 (EST)
To: Christoph Päper <christoph.paeper@tu-clausthal.de>
Cc: www-html@w3.org, w3c-wai-gl@w3.org
Message-ID: <Pine.LNX.4.55.0312120858370.31065@homer.w3.org>

On Fri, 12 Dec 2003, Christoph Päper wrote:

>*Charles McCathieNevile*:
>>
>> <ruby class="acron">
>> <rb>NATO</rb><rt>North Atlantic Treaty Organisation</rt></ruby>'s
>
>That's not really better than
>
>  <acronym title="North Atlantic Treaty Organisation">NATO</acronym>'s.

It is certainly not worse, and it is part of XHTML 1.1 and current drafts of
XHTML 2, screen presentation can be done with widely implemented CSS1, and
audio presentation can be done with not-so-widely implemented CSS2, in a way
that provides relatively simple flexibility for users.

>A UA should know to do the right thing when encountering
>
>  <acronym>NATO</abbr>'s
>
>or
>
>  <abbr>NATO</abbr>'s.

Yep. But they don't...

>Because a UA can never know all initialisms, acronyms and other abbreviations
>of every language,

exactly.

>a author should be able to help it out---outside the
>mark-up. It's quite similar to automatic hyphenation.

Exactly. The main point of my mail was to suggest that we could specify what
is required in existing CSS, which seems like a big win.

I could have said

  ...<acronym class="accron">NATO</acronym>'s strategy for the <acronym
  class="init">UN</acronym>...

but it means I need to speak the content of the attribute for acronyms, and
that starts to reduce the flexibility and increase the number of things I
rely on. (There is a premise that raw XML is not a hard thing to deal with if
you style it...) This is a small point though.

Using ruby instead of a specific acronym or abbreviation element with a title
attribute makes it more flexible, and easier to specify particular
presentation. As noted elsewhere, different people have different ideas about
how to pronounce the same acronym, or whether something really is an acronym,
so I thought it would be more useful to have the pieces up front.

Cheers

Chaals
Received on Friday, 12 December 2003 09:16:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:26 GMT