W3C home > Mailing lists > Public > www-validator@w3.org > January 2016

3rd Party Resources

From: Shaun Hogg <shaun.hogg@stripe4.co>
Date: Mon, 25 Jan 2016 10:10:10 +0000
Message-ID: <56A5F482.7060402@stripe4.co>
To: www-validator@w3.org
Hi All,

Often we get clients asking us to ensure that their markup is 100% W3C 
valid. A recent example is Print-Print (print-print.co.uk 
<https://www.print-print.co.uk/>). The client in question thinks that 
the site needs to be totally valid in order to perform to it's max. 
While I know that this is not technically correct in terms of SEO etc; 
we need to make sure that the client is happy.

Some of the issues, such as missing alt tags are the result of code 
passed from 3rd party companies. This site has a Feefo banner for 
example; which is passed through a JS snippet, but the rendered image 
does not have an Alt tag:- thus (rightly so) resulting in W3C Validator 

*Error*:An|img|element must have an|alt|attribute, except under certain 
conditions. For details, consultguidance on providing text alternatives 
for images <http://www.w3.org/wiki/HTML/Usage/TextAlternatives>.

 From line499, column13; to line499, column117

/>*? |

Another example could be the Google validator tag. This is a code 
snippet given out by Google to verify a sites ownership, yet it results 
in errors been rendered in the validator.

missing one or more of the following attributes:|itemprop|,|property|.

 From line846, column1; to line846, column94

|</script>?*<meta name="google-site-verification" 
content="tvpJfVDs6AQx0dwl_d-Iy2Yz5cu5W14RkcWcekUiH20" />*? ?<!|

The same can be seen for the Facebook verification tag.

*Error*:Attribute|xmlns:fb|not allowed here.

 From line18, column23; to line20, column80

|E 9]><!-->*? <html class="no-js" lang="en" 
xmlns="http://www.w3.org/1999/xhtml"? xmlns:og="http://ogp.me/ns#" 
xmlns:fb="http://www.facebook.com/2008/fbml">* ?<!--



|I would really appreciate any thoughts on this. While someone 
technically minded like myself can look at these errors and justify 
them; clients who discover the Validator and want their sites 100% valid 
just see errors.



Received on Monday, 25 January 2016 11:07:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:14 UTC