WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: code triggering WAVE

for

From: James Bailey
Date: May 11, 2010 3:48PM


> 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 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