Jump to content

The scrolling attribute on the iframe element is obsolete. Use CSS instead.


Go to solution Solved by Marc,

Recommended Posts

Posted

I believe I reported this a couple of years ago, or made a suggestion to upgrade this, but it is still an issue. Whenever someone shares an article on my site the iFrame tags that are embedded insert this obsolete html tag: scrolling="no"

I am not sure about other sites, but with mine we share lots of the articles, so this error is an issue with SEO, and you can see examples of it here:

https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.celiac.com%2Fforums%2Ftopic%2F156801-do-anti-diarrheal-medications-help-during-recovery%2F 

Is this something you are aware of, and working on?

Posted

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

  • 1 month later...
  • 4 weeks later...
  • Solution
Posted

This issue has been resolved in 4.7.0 which has recently been released. Please upgrade to that version to resolve this, and of course, let us know if you are still seeing any issues.

Posted

I have updated my site to 4.7, yet the scrolling="no" is still present, and the error is still there:

https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.celiac.com%2Fforums%2Ftopic%2F157194-long-haul-covid-from-celiac-disease%2F

A look at view source for:
https://www.celiac.com/forums/topic/157194-long-haul-covid-from-celiac-disease/#comment-1100737

Shows:

 
<iframe allowfullscreen="" class="ipsEmbed_finishedLoading" data-embedauthorid="28795" data-embedcontent="" data-embedid="embed1807498815" scrolling="no" src="https://www.celiac.com/applications/core/interface/index.html" style="overflow: hidden; height: 400px; max-width: 502px;" data-embed-src="https://www.celiac.com/articles.html/no-greater-risk-of-covid-19-or-severe-covid-19-in-celiac-disease-patients-r5863/?do=embed"></iframe>
   
Posted (edited)

I did a small test, and it seems that simply removing:
scrolling="no

seems to eliminate the errors, and I see no downside to this approach. Do you have any concerns with using this approach?

Edited by sadams101
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...