This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 956 - Parser doesn't recognize alt tag before src
Summary: Parser doesn't recognize alt tag before src
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.7.0
Hardware: Other other
: P2 minor
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
Depends on:
Reported: 2004-12-16 04:49 UTC by Steve Shockley
Modified: 2004-12-20 03:16 UTC (History)
0 users

See Also:


Description Steve Shockley 2004-12-16 04:49:25 UTC
This line passes the validator:

<img src="" border="0" 
width="87" height="23" alt="Add to Cart"></a>

But this line complains there's no alt tag:

<img alt="Add to Cart" src="" 
border="0" width="87" height="23"></a>

Note that the url above will soon change to, in 
case you get a 404.
Comment 1 Olivier Thereaux 2004-12-20 03:16:53 UTC
As far as I know the parser does not care about attribute order. I have taken
the page you mention, shuffled the attributes around as the bug report said, and
always got positive validation as a result.