GoogleChromeLabs/howto-components

Accessible Custom Tags Without Javascript

Opened this issue · 0 comments

This article states:

"custom elements still require JavaScript to boot up"

But not necessarily. I can create and style a custom tag without JS, simply by entering it into the HTML.

<my-tag>

According to what i've read, it's valid HTML, and is interpreted as a span.

What are the accessibility concerns and solutions for such tags?