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

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

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.be>
Date: Thu, 19 Feb 2009 10:19:33 +0100
Message-Id: <>
To: www-international@w3.org
Hi Martin,

At 02:33 18/02/2009, Martin Duerst wrote:
>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.

*What kind* of numbering may be a styling aspect, but the presence or 
absence of numbering isn't. That's what I was really after.

>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.

Screen readers get their data from the underlying application - in 
this case, the browser - and if the application doesn't have the 
numbers in the document tree, the screen reader isn't aware of them. 
Screen readers should have to re-implement all the document formats 
that the underlying applications claim to support.

Best regards,

Christophe Strobbe

>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#gene 
> rated>] 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

Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
tel: +32 16 32 85 51
Please don't invite me to LinkedIn, Facebook, Quechup or other 
"social networks". You may have agreed to their "privacy policy", but 
I haven't.

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Received on Thursday, 19 February 2009 09:20:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:30 UTC