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

Re: display:none in aural media

From: Yuu Morita <VET06031@nifty.com>
Date: Tue, 19 Feb 2002 21:41:20 +0900
Message-ID: <009f01c1b942$bbd31ec0$9815a8c0@barchitects.com>
To: "Dave Raggett" <dsr@w3.org>, "Jonny Axelsson" <jax@opera.no>
Cc: <www-style@w3.org>
Does aural UA speech the following P element?

 @media aural {
  p { display:none; }
 }
 <p>This is a paragraph.</p>



----- Original Message -----
From: "Dave Raggett" <dsr@w3.org>
To: "Jonny Axelsson" <jax@opera.no>
Cc: <www-style@w3.org>
Sent: Tuesday, February 19, 2002 8:18 PM
Subject: Re: display:none in aural media


> The display and aural properties are deliberately independent
> so that you can independently choose whether some element should
> be rendered visually or aurally. For example you may want to
> suppress the visual rendering of a paragraph which is to be
> spoken.
>
> On Tue, 19 Feb 2002, Jonny Axelsson wrote:
>
> > 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
> >
> >
>
> Regards,
>
> -- Dave Raggett <dsr@w3.org> or <dave.raggett@openwave.com>
> W3C Visiting Fellow, see http://www.w3.org/People/Raggett
> tel/fax: +44 122 586-6240 (or 7351) +44 771 213 7629 (mobile)
>
>
>
Received on Tuesday, 19 February 2002 07:44:11 GMT

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