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

RE: Fw: putting reader text in hidden <div> tags / adding pauses

From: Mike Scott <mscott@msfw.com>
Date: Mon, 3 Dec 2001 14:43:56 -0600
To: <w3c-wai-ig@w3.org>, "'Phill Jenkins'" <pjenkins@us.ibm.com>
Message-ID: <000001c17c3b$3abb4270$0b00000a@mikes>
>  Do you have a reference in the CSS spec that suggests that screen
readers
>  read out loud content styled with Visibility: Hidden?

The reference Charles indicated
(http://www.w3.org/TR/REC-CSS2/propidx.html) is the one I had seen. 

>  nor do I think screen readers should read anything marked hidden.

"Skip Navigation" links are perfect examples of items that we might want
hidden but definitely should be read by a screen reader. (Instead of the
current workarounds like invisible images or text set to the same color
as the background.) Also, there could be cases where dynamically hidden
elements (such as pop-up or expanding/collapsing menus) also should be
read.

-----Original Message-----
From: Charles McCathieNevile [mailto:charles@w3.org] 
Sent: Monday, December 03, 2001 10:44 AM
To: Phill Jenkins
Cc: w3c-wai-ig@w3.org; RandR@SEC.GOV; Mike Scott
Subject: Re: Fw: putting reader text in hidden <div> tags / adding
pauses

The display propperty is defined as referring to all presentation modes,
whereas the visilbility property only aspplies to visual modes,
according to the property index of CSS2
http://www.w3.org/TR/REC-CSS2/propidx.html

cheers

Charles

On Mon, 3 Dec 2001, Phill Jenkins wrote:

  Do you have a reference in the CSS spec that suggests that screen
readers
  read out loud content styled with Visibility: Hidden?  I couldn't find
one
  nor do I think screen readers should read anything marked hidden.

  WCAG CSS techniques don't mention it, but it does discuss "display:
none"
  at
http://www.w3.org/TR/WCAG10-CSS-TECHS/#style-info-not-in-color-alone

  Display property in CSS 2
  http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-display
  Visibility property in CSS2
  http://www.w3.org/TR/REC-CSS2/visufx.html#visibility

  Why would a screen reader want to read out loud something that the
author
  marked as hidden?

  Alt text on an invisible image is still the best choice because it is
  supported best.

  HPR 3.02 is currently available from
ftp://ftp.software.ibm.com/sns/hpr

  Regards,
  Phill Jenkins
  IBM Research Division - Accessibility Center
  11501 Burnet Rd,  Austin TX  78758    http://www.ibm.com/able



  Mike Scott <mscott@msfw.com>@w3.org on 12/02/2001 02:12:59 AM

  Sent by:  w3c-wai-ig-request@w3.org


  To:   <w3c-wai-ig@w3.org>
  cc:   <RandR@SEC.GOV>
  Subject:  Re: Fw: putting reader text in hidden <div> tags / adding
pauses



  For what it's worth, the about-to-be-released IBM Home Page Reader
version
  3.02 will no longer read text with Display: None (or Visibility:
Hidden).
  JAWS (at least as of 4.0.103) will read it if Display: None (or
Visibility:
  Hidden) is set in the <style> block or in an external style sheet, but
not
  if it is set in-line.

  According to the CSS specs, screen readers should NOT read content
with
  Display: None but should read content with Visibility: Hidden.

  >
  > The original senders address was not available but I thought this a
  > worthy question to toss out.
  >
  > Hi, I'm a web developer for a federal agency website and a newcomer
to
  > this list. We are experimenting with adding text for for screen
readers
  > to our home page and index pages that is hidden from the visual
  > browser window with the following coding:
  >
  > <div style="display:none;">reader text goes here. . . .</div>
  >
  > I have verified that Netscape 4.7, Explorer 5, and Opera 5.12 won't
  > show the hidden text visually but that IBM Home Page Reader will
  > read the text.  We haven't yet tested the coding with JAWS.
  > Is anyone else using this coding or can someone recommend another
  > approach?
  >
  > What prompted this experimentation was that in conversation with
some
  > of our staff using screen readers, we discovered that our home page,
  > with 70+ links, is overwhelming. Visually the organization is clear,
  > but the screen reader simply reads all the links one after the other
  > without the benefit of identifying main link headings. We want to
add
  > a more explanatory menu for screen readers with just the main links
to
  > our important index pages, uncluttered by secondary links that they
  > would find on the second level index pages anyway.
  >
  > Second question is: has anyone had success with adding coding that
  > provides a pause for screen readers between lists of links? Is that
  > important?
  >
  > Thanks in advance for any help.
  > <snipped>
  >
  > Bob Rand, Web developer
  > Securities and Exchange Commission





-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61
409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1
617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex,
France)
Received on Monday, 3 December 2001 15:44:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:58 GMT