WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: code triggering WAVE

for

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

From: James Bailey
Date: Mon, May 10 2010 4:06PM
Subject: code triggering WAVE
No previous message | Next message →

Yahoo puts code at the bottom of pages they host and WAVE flags it for a missing alt attribute. By the way I wrapped it in an Ignore since I'm not sure about sending code to the list. The code is:

<!-- <script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?us1273524704" alt="setstats" border="0" width="1" height="1"></noscript> -->


--
James Bailey
Adaptive Technology Access Adviser, University of Oregon
1501 Kincaid St.
Eugene, OR 97403-1299
Office: 541-346-1076
= EMAIL ADDRESS REMOVED =

From: Jared Smith
Date: Mon, May 10 2010 5:42PM
Subject: Re: code triggering WAVE
← Previous message | Next message →

On Mon, May 10, 2010 at 3:05 PM, James Bailey < = EMAIL ADDRESS REMOVED = > wrote:
> Yahoo puts code at the bottom of pages they host and WAVE flags it for a missing alt attribute.

Correct. The javascript code
(http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js)
writes an image to the page which is not given alternative text. This
code is also invalid HTML.

Did you have a question or concern about this WAVE behavior or were
you just alerting us to the fact that the WAVE toolbar properly
evaluates the accessibility of the page after the scripted content has
been generated?

Jared

From: James Bailey
Date: Tue, May 11 2010 3:48PM
Subject: Re: code triggering WAVE
← Previous message | Next message →

> Yahoo puts code at the bottom of pages they host and WAVE flags it for a missing alt attribute. By the way I wrapped it in an Ignore since I'm not sure about sending code to the list. The code is:
>
> <!-- <script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.webhosting.yahoo.com/visit.gif?us1273524704" alt="setstats" border="0" width="1" height="1"></noscript> -->
>
>
> --
> James Bailey
>
>
> On Mon, May 10, 2010 at 3:05 PM, James Bailey < = EMAIL ADDRESS REMOVED = > wrote:
> > Yahoo puts code at the bottom of pages they host and WAVE flags it for a missing alt attribute.
>
> Correct. The javascript code
> (http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js)
> writes an image to the page which is not given alternative text. This
> code is also invalid HTML.
>
> Did you have a question or concern about this WAVE behavior or were
> you just alerting us to the fact that the WAVE toolbar properly
> evaluates the accessibility of the page after the scripted content has
> been generated?
>
> Jared
>

Sorry to be unclear. I wasn't even concerned with WAVE. I think I was hoping against hope that there was something that could be done about code inserted by a third party (the web host).

Since you brought up WAVE functionality, however, I will point out that the toolbar flags it while submitting the URL to the WAVE server does not. I presume that is some web anomaly.

James

From: Jared Smith
Date: Tue, May 11 2010 5:18PM
Subject: Re: code triggering WAVE
← Previous message | No next message

On Tue, May 11, 2010 at 2:49 PM, James Bailey < = EMAIL ADDRESS REMOVED = > wrote:

> I think I was hoping against hope that there was something that could be done about code inserted by a third party (the web host).

Nope. There isn't really a way to manipulate the 3rd party content. In
this case, the tracking image missing alt text is not a very serious
accessibility issue - it would generally be ignored by a screen
reader. I guess you might be able to apply additional scripting to add
an empty alt attribute to the image after it is injected into the
page, but I don't think this is necessary.

> the toolbar flags it while submitting the URL to the WAVE server does not. I presume that is some web anomaly.

The server version of WAVE (wave.webaim.org) evaluates that rendered
version of the page after CSS has been applied. For security reasons,
we cannot process external javascript through our web site. Javascript
is stripped out of these reports and javascript issues are generally
not reported. With the Firefox toolbar, the page is evaluated after
both CSS and javascript have been applied to the page, thus the
discrepancy.

Jared