Jump to content

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


Go to solution Solved by Marc Stridgen,

Recommended Posts

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?

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

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>
   
Link to comment
Share on other sites

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
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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