• Resolved mondendev

    (@mondendev)


    Your plugin causes this error on W3C validator:

    Error: Element style not allowed as child of element div in this context.

    #1 I know there already was this exact issue report and that you “resolved” it by sweeping it under the rug with “Unfortunately, there’s no way to fix that since that’s our forms are created.”.

    #2 There IS a way you can fix this. You can simply do it via data attributes and js and I’m sure you can do it THE CORRECT WAY as all other plugins somehow manage to do stuff.

    #3 No errors on W3C validator is one of Themeforest theme submission requirements so it’s SUPER NOT COOL to just leave this error in your code for us developers (people who drive the customers to you by including your plugin in our themes) which creates risk of rejection for us.

    Fun fact: this is the ONLY error in my entire theme. That should mean something to you.

    To conclude. When I submit my theme I’ll link to the post where you “resolved” the issue and, in case Themeforest guys demand that the error is removed, I’ll remove your plugin from my theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    Please send over the URL for the MailPoet forum post that was previously resolved for this. I was searching the MailPoet forum for “Error: Element style not allowed as child of element div in this context”, but this thread was the only one I was seeing. Searching www.ads-software.com as a whole, and Googling, I was seeing lots of other results, but was coming up short for MailPoet results.

    Also, where are you getting that error with the WC3 validator — was this for a page containing a MailPoet form, or something different?

    Thread Starter mondendev

    (@mondendev)

    @kellymetal here:
    https://www.ads-software.com/support/topic/w3c-validation-error-26/

    I’m getting the error wherever MailPoet form is present because it does exactly whet the error on W3C says, it prints out style tags with CSS in the middle of the page which is forbidden.

    https://prnt.sc/20y3xpf

    It’s present on normal pages, gutenberg pages, elementor pages. Regardless of location. The code mustn’t do that.

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there @mondendev,

    Thank you for sending that over.

    I see there’s an open post for that on our feedback board here as well:
    https://mailpoet.canny.io/feature-requests/p/remove-inline-styles-from-forms

    I’ve filed an internal report with the developers as well.

    We currently have no ETA on when that might be changed, however it is on their radar.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error: Element style not allowed as child of element div in this context.’ is closed to new replies.