Responsible Web Components

Jeremy Keith has taken Dave Ruperts podcast web component and forked it to become a little more progressively enhanced. There’s more to do, as he points out, like applying an ARIA roles and extending it with <audio> rather than a link. If you fancy a go, Fork it.

…web components—or more specifically, custom elements—already allow us to extend existing HTML elements. That means we can use web components as a form of progressive enhancement, turbo-charging pre-existing elements instead of creating brand new elements from scratch. That way, we can easily provide fallback content for non-supporting browsers.

An excerpt from Responsible Web Components

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.