Gutenberg W3C validation #43212
solidcodes
started this conversation in
Developer Experience
Replies: 1 comment 1 reply
-
Regarding the 2nd error, "`Error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)" is commonly encountered that is being tracked at #38917 As for the first error, I ran your website through the validator and that error did not come up. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
This is my first time using Gutenberg.
Just 100% Gutenberg no templates.
I use twentytwentytwo theme.
The name of the site I created using Gutenberg is https://webmasterseoph.com/
and I validated it at W3C https://validator.w3.org/
I tried validating the site I created using Gutenberg and I got these weird errors.
Error: CSS: --wp--custom--spacing--medium: Invalid type: 4 * var(--wp--style--block-gap). At line 81, column 5201 le--block-gap)));--wp--custom-
and this is another error,
`Error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
From line 352, column 3; to line 352, column 31
↩↩ <style id="skip-link-styles">↩ .skContexts in which element style may be used:
Where metadata content is expected.
In a noscript element that is a child of a head element.
Content model for element body:
Flow content.`
I hope the team of Gutenberg programmers will make Gutenberg ERROR FREE in W3C validaiton.
Thank you very much in advance.
Beta Was this translation helpful? Give feedback.
All reactions