Title: w3s html errors
Last modified: February 1, 2022

---

# w3s html errors

 *  Resolved [kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/)
 * (@kbelimpassakis)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/w3s-html-errors/)
 * hello there!!i am using the free version of your plugin for a couple of sites
   and after the latest updates we noticed a few errors appearing in w3s html check
   tool.
    Unfortunately it is essential to solve them asap since our sites have 
   to be compliant with wcag 2.1 and show no errors in the checker. All errors are
   the same (Error: Element style not allowed as child of element body in this context.(
   Suppressing further errors from this subtree.) However we are not aware how this
   can be fixed. Any suggestions? Thank you for your kind help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fw3s-html-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15315349)
 * [@kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/) I’ve changed
   the divs in the banner to span. Let me know if this works for you.
 * [https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/banner-WCAG-div-=-span](https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/banner-WCAG-div-=-span)
 * We’ll be testing it as well, if accepted, it will probably get merged in 6.2.
 *  Thread Starter [kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/)
 * (@kbelimpassakis)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15315897)
 * Dear Rogier,
 * thank you for your prompt reply.
    i installed it from github.
 * span seems to do the trick, however there is still one error regarding the style
   of the banner which is loading outside the header.
 * Can u plz have a look?
 * thank u
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15316746)
 * Hi [@kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/),
 * If I check; [https://validator.w3.org/nu/?doc=https%3A%2F%2Fyfanta.gr](https://validator.w3.org/nu/?doc=https%3A%2F%2Fyfanta.gr)
   I see warnings, no more errors.
 * Could you show me where I can find it?
 * regards Aert
 *  Thread Starter [kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/)
 * (@kbelimpassakis)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15323113)
 * hi there!
    i found the line in string locator and removed it from there i added
   it in custom css
 * .cmplz-hidden{display:none!important;}
 * wp-content/plugins/complianz-gdpr-banner-WCAG-div-span/cookie/class-cookie-admin.
   php
 * line 1843
 * i dont know if this is the right way to fix it
 * please advise
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15327767)
 * Hi [@kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/),
 * That seems to be about the inline style. Can you post the exact error here? And
   is it an error or a warning?
 *  Thread Starter [kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/)
 * (@kbelimpassakis)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15335911)
 * [https://jewelleryforus.com/](https://jewelleryforus.com/)
 * hi there
 * on the sote above i have not made any changes
 * it is the first error appearing
 * [https://validator.w3.org/nu/?doc=https%3A%2F%2Fjewelleryforus.com%2F](https://validator.w3.org/nu/?doc=https%3A%2F%2Fjewelleryforus.com%2F)
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15342074)
 * Hi [@kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/),
 * It’s on our backlog. This doesn’t directly affect WCAG. We will have a look to
   change the format,
 * regards Aert
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15343133)
 * I’ve made an adjustment which should resolve the style error as well:
 * [https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/banner-WCAG-div-=-span](https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/banner-WCAG-div-=-span)
 *  Thread Starter [kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/)
 * (@kbelimpassakis)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15350664)
 * ΤΗΑΝΚ you
    just checked and it is working no errors shown
 * thanks again

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘w3s html errors’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [kbelimpassakis](https://wordpress.org/support/users/kbelimpassakis/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/w3s-html-errors/#post-15350664)
 * Status: resolved