WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: help with 508 compliant javascripts and mouse-overs

for

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

From: PK9519@aol.com
Date: Mon, Jan 28 2002 4:15PM
Subject: help with 508 compliant javascripts and mouse-overs
No previous message | Next message →

I have a web page which has javascript and mouseovers--I am not familiar with
javascript but it references a link to a javascript page:

<script type="text/javascript" language="JavaScript" src="main.js"></script>
<link rel="stylesheet" href="/css_pc.css" type="text/css">
<script language="JavaScript">if
((navigator.platform=='MacPPC')&&(navigator.appVersion.substr(17,8) != "MSIE
5.0")) { document.write('<link rel=stylesheet href="/css_mac.css"
type="text/css">') }</script>
<script type="text/javascript" language="JavaScript">
function launchSplash(){
zPopWindow('splash.asp','Splash',600,500,1);
}
</script>


However it seems to be the mouseovers that are causing the Home Page
Screenreader to crash with script error messages. How can I make this
compliant without creating a text only page?


---
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/


From: Mark Rew
Date: Tue, Jan 29 2002 5:17AM
Subject: Re: help with 508 compliant javascripts and mouse-overs
← Previous message | No next message

The short answer is that you can not. Mouseovers scripts is based on a single
type of access technology, the mouse. When we tried having mouseover
javascripts we had to provide a image map that was described well by the alt
tags. Ultimately we removed the javascripts all together because of
performance problems. Also, the mouseover Javascripts added to the
maintneance over-head of the site. With careful redesign we now have a site
that is much easier to maintain, loads much quicker, and has a simpler
interface to navegate.

Mark Rew
----- Original Message -----
From: < = EMAIL ADDRESS REMOVED = >
To: < = EMAIL ADDRESS REMOVED = >
Sent: Monday, January 28, 2002 6:15 PM
Subject: help with 508 compliant javascripts and mouse-overs


> I have a web page which has javascript and mouseovers--I am not familiar
with
> javascript but it references a link to a javascript page:
>
> <script type="text/javascript" language="JavaScript" src="main.js"></script>
> <link rel="stylesheet" href="/css_pc.css" type="text/css">
> <script language="JavaScript">if
> ((navigator.platform=='MacPPC')&&(navigator.appVersion.substr(17,8) != "MSIE
> 5.0")) { document.write('<link rel=stylesheet href="/css_mac.css"
> type="text/css">') }</script>
> <script type="text/javascript" language="JavaScript">
> function launchSplash(){
> zPopWindow('splash.asp','Splash',600,500,1);
> }
> </script>
>
>
> However it seems to be the mouseovers that are causing the Home Page
> Screenreader to crash with script error messages. How can I make this
> compliant without creating a text only page?
>
>
> ---
> To subscribe, unsubscribe, or view list archives,
> visit http://www.webaim.org/discussion/
>
>



---
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/