DEV Community

Discussion on: Make the web more accessible with customized built-in elements

Collapse
 
steveblue profile image
Stephen Belovarich • Edited

Nothing has to be forever. Maybe a nicely worded open letter to Tim Cook about how Apple engineers are holding back accessibility on the web by mishandling this particular spec would help. That being said, post is edited to be more specific about WebKit.

Collapse
 
dakmor profile image
Thomas Allmer

thx :) so if you write that letter - you can also add my sign :)

Thread Thread
 
trusktr profile image
Joe Pea

I wanted to share an easy-to-use alternative that works well in place of customized builtins:

It is a lib, so I guess it is "polyfilled" forever at this point. It is easy to install though, and without the complications of "upgrading" element classes.

The class definition format is very similar, and it uses a has attribute instead of is attribute, and has takes a space-separated list so any number of functionalities (behaviors, defined with classes using the same life cycle methods as custom elements) can be instantiated on an element.