• Hi,
    Our JetPack Reddit social share button is causing two W3C errors we need to resolve.

    Error: The scrolling attribute on the iframe element is obsolete. Use CSS instead.
    From line 872, column 1480; to line 872, column 1688
    t_button"><iframe src="https://www.reddit.com/static/button/button1.html?newwindow=true&width=120&url=http…Fcaatunis.net%2Fevents%2F&title=Events" height="22" width="120" scrolling="no" frameborder="0"></iframe>
    Error: The frameborder attribute on the iframe element is obsolete. Use CSS instead.
    From line 872, column 1480; to line 872, column 1688
    t_button"><iframe src="https://www.reddit.com/static/button/button1.html?newwindow=true&width=120&url=http…Fcaatunis.net%2Fevents%2F&title=Events" height="22" width="120" scrolling="no" frameborder="0"></iframe>

    Could you advise? Thanks in advance.

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Thanks for the report. These are indeed known validation errors, which we’ll fix in a future Jetpack update.

    You can follow our progress here:
    https://github.com/Automattic/jetpack/issues/1071

    It’s worth noting, though, that these attributes are currently supported by all popular browsers. If you wanted the error to disappear, I’d suggest switching to another doctype like HTML4, instead of HTML5.

Viewing 1 replies (of 1 total)

The topic ‘Reddit share button generates W3C errors’ is closed to new replies.