W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2008

RE: JavaScript and Screen Readers

From: Ryan Jean <ryanj@disnetwork.org>
Date: Tue, 19 Aug 2008 10:33:58 -0400
To: "'Benjamin Hawkes-Lewis'" <bhawkeslewis@googlemail.com>
Cc: "'David Woolley'" <forums@david-woolley.me.uk>, <w3c-wai-ig@w3.org>
Message-ID: <E1KVSJY-0004iB-Pn@bart.w3.org>

No, it will read the alt but not standard text.

And you are right about forcing it. It's the only way I could figure out to
still reload new information and have JAWS read it, inside the textarea tag.

Sincerely,
Ryan Jean
Assistant IT Specialist
The Disability Network
Flint, MI


-----Original Message-----
From: Benjamin Hawkes-Lewis [mailto:bhawkeslewis@googlemail.com] 
Sent: Tuesday, August 19, 2008 10:27 AM
To: Ryan Jean
Cc: 'David Woolley'; w3c-wai-ig@w3.org
Subject: Re: JavaScript and Screen Readers

Ryan Jean wrote:
> The funny thing is when I use "document.write()" or "innerHTML", the
screen
> reader will read the alt in the img tag but not the text.

What text? Do you mean text inside the img element? The img element has 
an empty content model and shouldn't have any text inside it.

Do you have a reduced test case that shows what you're talking about?

> The only way I
> worked around all this "document.write()" issue is to set everything in a
> textarea tag. The issue with that is it removes all HTML coding and you
lose
> images.

I don't really follow how this makes any sense as a workaround.

Sounds like you're getting JAWS to provide a more up-to-date rendition 
of the page by forcing it into forms mode.

--
Benjamin Hawkes-Lewis
Received on Tuesday, 19 August 2008 14:36:13 GMT

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