W3C home > Mailing lists > Public > www-international@w3.org > January to March 2009

Re: Armenian numbering: findings, recommendations and request to CSS

From: Martin Duerst <duerst@it.aoyama.ac.jp>
Date: Wed, 18 Feb 2009 10:33:02 +0900
Message-Id: <6.0.0.20.2.20090218102750.0414edb0@localhost>
To: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>, www-international@w3.org
At 20:05 09/02/17, Christophe Strobbe wrote:

>Is it really a good idea to generate heading numbers through CSS? It's very convenient for authors, but heading numbers are not really a styling aspect (as opposed to content).

What kind of numbering you use is very much a styling aspect.
And if you want to do the actual sequence number in content,
I don't know whether it's possible to express the number style
via CSS (that would mean that e.g.
    <h1 style='number-style: upper-roman;'>3. My Title</h1>
would be rendered something like
    III. My Title


>As far as I know, screen readers don't pick up heading numbers generated through CSS.

That's definitely bad, and may be a good reason to not do heading numbers
with CSS for the moment, but it shouldn't affect the long-term design of CSS.

Regards,    Martin.

>(This is not surprising: CSS 2.1 says: "Generated content does not alter the document tree. In particular, it is not fed back to the document language processor (e.g., for reparsing)." <http://www.w3.org/TR/CSS21/generate.html#content>. The CSS 2.0 spec said the same thing, at <http://www.w3.org/TR/CSS2/generate.html#content>. Of course, the fact that IE 5 through 7 didn't/don't support generated content with counter increments
>[<http://msdn.microsoft.com/en-us/library/cc351024(VS.85).aspx#generated>] didn't help either, because IE is what most screen reader users use.)



#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp     
Received on Wednesday, 18 February 2009 02:10:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:19 GMT