hidden text in stylesheet

  • From: "Bart Simons" <bart.simons@xxxxxxxx>
  • To: "jaws mailinglist" <jfw@xxxxxxxxxxxxx>
  • Date: Mon, 5 Apr 2004 17:29:54 +0200

Hello all,

I wonder what JAWS is supposed to do with text that is hidden by means of
CSS. I found an article in the FS knowledge base but have an aditional
question below
(http://www.hj.com/fs_support/BulletinView.cfm?QC=565)
<quote>
Any elements that use a style with "visibility:none" or "display:hidden" are
not included in the JAWS rendering. However, if the page has elements shown
when the page first loads, but then dynamically hides these elements without
user intervention after the page loads, JAWS will not detect that this has
occurred and may still show the hidden content. Conversely, if a page hides
content when it first loads but then dynamically shows this content after
the page loads,
JAWS will not announce the new content.

The safest course of action when developing Web pages is to hide anything in
the HTML when the page first loads that should not be shown. Then, only hide
or display content when the user interacts with the page (e.g., by clicking
a link or item with an OnClick attribute). When the user clicks text, links,
images, and so on, JAWS asks Internet Explorer for the HTML again, and
updates the page.
</quote>

This is true as long as the stylesheet is linked via
<link href="stylesheet.css" rel="stylesheet" type="text/css"
title="stylesheet" />
but when the import method has been used
<style type="text/css">
@import url(stylesheet.css);
</style>
JAWS ignores the stylesheet completely. This means that text that is meant
to be hidden, will be shown in the Jaws output.
I am not a CSS specialist. Is this what they mean by hiding dynamically
after the page loads?

Is this the supposed behaviour? can we take this into account as a long term
solution? we build websites and are looking for the best help for JAWS
users. If it is a bug, we can ignore this difference between the linking
method and the import method. The last version I tested is 5.0.621 (= the
first 5.0 release without update). if this behaviour will not change we can
do nice things with it, but we want to avoid to have to rebuild the site
when Jaws" behaviour changes with a next release.

An example page is
http://www.usabilityaward.nl/
This page is in Dutch but if you read the text
"Let op: U leest dit bericht ofwel omdat u ons css bestand niet kunt inladen
of omdat u niet beschikt over een browser die aan de standaarden voldoet.
Lees
de ontwerp notities voor meer informatie."
then this is not what the author meant. This text in English: you read this
message because your browser does not support CSS. This of course is not
true as I am reading this in IE6.

Thanks in advance for any help

Kind regards,
--
Bart Simons
Web Accessibility Specialist
ASCII - European e-government content solutions
Rue de Trèves, 49-51, Trierstraat
Bruxelles, B-1040 Brussel
Phone: +32.2.235.00.46
E-mail: bart.simons@xxxxxxxx

--
To post a message to the list, send it to jfw@xxxxxxxxxxxxx
To unsubscribe from this mailing list, send a message to 
jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line.
Archives located at: //www.freelists.org/archives/jfw

If you have any concerns about the list, post received from the list, or the 
way the list is being run, do not post them to the list. Rather contact the 
list owner at jfw-admins@xxxxxxxxxxxxxx

Other related posts:

  • » hidden text in stylesheet