W3C home > Mailing lists > Public > www-style@w3.org > February 2002

Re: display:none in aural media

From: Jonny Axelsson <jax@opera.no>
Date: Tue, 19 Feb 2002 12:03:26 +0100
To: www-style@w3.org
Message-Id: <XR1C7J51SM8RLOWTC8HEFDZYFA06.3c7230fe@falcon>
19.02.02 09:09:20, "Yuu Morita" <VET06031@nifty.com> wrote:

>Hi everyone,
>
>There is an element with which display:none was applied.
>In this case, does a screen reader reproduce this element?
>
>For example,
> <p style="display:none">string w/ display:none</p>
>
>This P element is not displayed on visual UA. Well then, 
>how is it treated on aural UA?
>I hope it is not reproduced on aural UA too, because CSS2 
>spec. said in 19.3, "To be sure to suppress rendering of 
>an element and its descendants, use the 'display' property."
>
>* http://www.w3.org/TR/REC-CSS2/aural.html#speaking-props


This is my reading too. In an aural style sheet there are only two values of 
interest, none and anything else.

If you conversely *do* want to speak something that is not displayed 
visually, you could use a @media rule:

  some-selector {display:none}
  @media aural {some-selector {display: inherit} }

As for the other CSS properties I consider visibility: hidden and 
volume: silent to be similar in a visual respectively aural context.


Jonny Axelsson
Documentation,
Opera software
Received on Tuesday, 19 February 2002 06:01:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:13 GMT