WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: internet explorer crashes when running jaws

for

Number of posts in this thread: 8 (In chronological order)

From: Despain, Dallas
Date: Wed, Dec 10 2008 3:15PM
Subject: internet explorer crashes when running jaws
No previous message | Next message →

Within the context of a large ajaxy web project, I found that our web pages were causing Internet Explorer 7 to crash when using our web pages with Jaws 9.0 (couldn't reproduce with Jaws 6.1 and there is no problem when JAWS is not ther.). I have tracked down the line of javascript that
causes the problem, and narrowed it down to a very simple test case:

top.location = "#" + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";

this line can be triggered by any event such as onload or onclick. Jaws keeps running, but Internet Explorer dies . I think it's a memory problem, so the length of the string you're adding (in my case "aaa...") will vary. On my machine, it seems to be a problem if the total length of the url gets over about 425

Has anyone ever seen this before?

Thanks,
Dalls

p.s.

more info below:

Once as I was testing, Visual Studio happened to capture the Internet Explorer error:

"A buffer overrun has occurred in iexplore.exe which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program.

For more details please see Help topic 'How to debug Buffer Overrun Issues'."

I've also tried other methods of modifying the location object such as:
//top.location.hash = toAdd;
//top.location = top.location.href + "#" + toAdd;
//top.location = top.location.href + "#" + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
//top.location.assign(top.location.href + "#" + toAdd);
//top.location = "#" + toAdd;

Here's the entire html file I'm using as my test case:

<html>
<head>
<script type="text/javascript">
function myFunction(evt)
{
top.location = top.location.href + "#" + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa }
</script>
</head>
<body onload="myFunction()">
<p>
I am a test
</p>
</body>
</html>

Dallas Despain | RightNow Technologies | Developer | 406-556-3454 | Salt Lake City, UT

From: Moore, Michael
Date: Wed, Dec 10 2008 3:30PM
Subject: Re: internet explorer crashes when running jaws
← Previous message | Next message →

I think that you need to reconsider your test environment. JAWS does not
offer ARIA support (active regions) prior to version 10 and Internet
Explorer does not support ARIA prior to version 8. If you are attempting
to achieve accessibility within an AJAX application without implementing
ARIA you are unlikely to achieve much success.

That being said, both JAWS 10 and IE demand considerable resources.
Good performance for JAWS requires a good video card - I know that is
not intuitive but it is true.

Mike

From: Aaron Cannon
Date: Wed, Dec 10 2008 5:15PM
Subject: Re: internet explorer crashes when running jaws
← Previous message | Next message →

I was not able to reproduce this on IE7 with Jaws 9.0 under Windows XP SP3 using the html you provided. The "a's" are appended to the address but the browser does not crash. Even if I increase the number of a's to well over a thousand, the browser still works fine.

Aaron

From: Despain, Dallas
Date: Wed, Dec 10 2008 11:05PM
Subject: Re: internet explorer crashes when running jaws
← Previous message | Next message →

Thanks for trying Aaron!

Also after I wrote this post, I called Freedom Scientific and they told me I had to upgrade to 10 before they'd talk to me. After doing that the problem went away anyway.

Thanks,

Dallas

Dallas Despain | RightNow Technologies | Developer | 406-556-3454 | Salt Lake City, UT

From: Despain, Dallas
Date: Wed, Dec 10 2008 11:10PM
Subject: Re: internet explorer crashes when running jaws
← Previous message | Next message →

You're probably right Mike. Thanks.

Dallas Despain | RightNow Technologies | Developer | 406-556-3454 | Salt Lake City, UT


From: Aaron Cannon
Date: Fri, Dec 12 2008 2:15PM
Subject: Re: internet explorer crashes when running jaws
← Previous message | Next message →

I would actually have to disagree somewhat with the assertion:
"If you are attempting to achieve accessibility within an AJAX application without implementing ARIA you are unlikely to achieve much success."

While I do believe that ARIA is a much better option, it is not always an impossible task to make a dynamic web application accessible to screen reader users. Of course, a lot depends on what the application needs to do, and many common AJAXish behaviors are impossible to make accessible without ARIA, but many other AJAX-based features can be made to work just fine.

Of course, it's difficult to get specific without knowing what you're actually trying to do, but I wouldn't just dismiss the possibility of making a dynamic application accessible to screen reader users without some investigation first.

Aaron


From: Benjamin Hawkes-Lewis
Date: Sun, Dec 14 2008 10:25AM
Subject: Re: internet explorer crashes when running jaws
← Previous message | Next message →

Aaron Cannon wrote:
> I would actually have to disagree somewhat with the assertion:
> "If you are attempting to achieve accessibility within an AJAX application without implementing ARIA you are unlikely to achieve much success."
>
> While I do believe that ARIA is a much better option, it is not always an impossible task to make a dynamic web application accessible to screen reader users. Of course, a lot depends on what the application needs to do, and many common AJAXish behaviors are impossible to make accessible without ARIA, but many other AJAX-based features can be made to work just fine.
>
> Of course, it's difficult to get specific without knowing what you're actually trying to do, but I wouldn't just dismiss the possibility of making a dynamic application accessible to screen reader users without some investigation first.

Agreed. See, for example:

http://juicystudio.com/article/improving-ajax-applications-for-jaws-users.php

http://joeclark.org/access/research/ice/iceweb2006-test-results.html

http://www.paciellogroup.com/blog/?p=65

--
Benjamin Hawkes-Lewis

From: Christophe Strobbe
Date: Sat, Dec 20 2008 6:40AM
Subject: Re: internet explorer crashes when running jaws
← Previous message | No next message

At 23:25 10/12/2008, Moore, Michael wrote:
>I think that you need to reconsider your test environment. JAWS does not
>offer ARIA support (active regions) prior to version 10 and Internet
>Explorer does not support ARIA prior to version 8. If you are attempting
>to achieve accessibility within an AJAX application without implementing
>ARIA you are unlikely to achieve much success.

Even if older versions don't support ARIA, that still doesn't imply
that it is OK to crash on ARIA code.
Upgrading to the latest versions of JAWS and Internet Explorer may
solve the issue for Dallas, but that doesn't mean it's been solved
for other users who haven't upgraded or can't upgrade.

Best regards,

Christophe

>(...)
>Mike
>
>