Error: Element style not allowed as child of element div in this context.
-
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.
- The topic ‘Error: Element style not allowed as child of element div in this context.’ is closed to new replies.