I am building a image slider with custom html elements. It is supported by the most of browsers but there is also an library for those that doesn't "document-register-element.js"
It works as expected.
The question i have is, is this is valid?
For example i have this custom element in HTML
<cp-slider></cp-slides>
In the javascript it is registered as an HTML Element
document.registerElement('cp-slider', {prototype: proto});
Here https://validator.w3.org/ it shows is as an error. But it doesn't check the JS of the file. So should i avoid custom DOM elements? Or in the "real validation (by google perhaps for SEO)" it wont be an issue?
Thank you!