You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The validator currently shows an error when using <section><search>
Element search not allowed as child of element section in this context. (Suppressing further errors from this subtree.)
Contexts in which element search may be used:
... Where flow content is expected.
Content model for element section:
... Flow content.
@edent Haha I just came here to report this because of your blog.
The following replicates the error - as far as I can see according to the HTML specification (as of right now) this is valid, but the validator complains.
Activity
edent commentedon Sep 23, 2023
The validator currently shows an error when using
<section><search>Which seems rather contradictory!
(Search support has arrived in Safari 17)
jribbens commentedon Sep 26, 2023
@edent Haha I just came here to report this because of your blog.
The following replicates the error - as far as I can see according to the HTML specification (as of right now) this is valid, but the validator complains.
what1s1ove commentedon Apr 19, 2024
Hi everyone! Any news on this?
I'm facing an issue with my CI setup that involves validating .html files. Due to this error, I'm unable to start using a new tag 🥲
stephanboeni commentedon Jun 20, 2024
The example from https://html.spec.whatwg.org/multipage/grouping-content.html#the-search-element throws an error.
Element search not allowed as child of element header in this context.