W3C home > Mailing lists > Public > www-validator@w3.org > September 2012

Re: Resolve Twitter share button? The allowtransparency attribute on the iframe element is obsolete. Use CSS instead.

From: David Dorward <david@dorward.me.uk>
Date: Mon, 10 Sep 2012 10:10:33 +0100
Cc: <www-validator@w3.org>
Message-Id: <5D8F51C0-C3A2-4395-9229-C7DD79DCC3E9@dorward.me.uk>
To: Sam Vak <samvak07@gmail.com>

On 10 Sep 2012, at 09:17, Sam Vak <samvak07@gmail.com> wrote:
> When validating the site http://kalender2013.nl/ I get the following error:
> Error Line 17, Column 5889: The allowtransparency attribute on the iframe element is obsolete. Use CSS instead.
>  
> When looking at the issue I see this is generated from the Twitter button with the following code:
> <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://kalender2013.nl" data-text="Alle kalender in 2013!" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

No, it isn't. The error comes from the iframe pointing to facebook that appears immediately before that. The "allowTransparency" attribute is quite visible there.

> Is there anyway I can resolve the issue within the code?

Delete the obsolete attribute.

-- 
David Dorward
http://dorward.me.uk
Received on Monday, 10 September 2012 09:11:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 10 September 2012 09:11:19 GMT