Open cookiecrook opened 8 years ago
Example accessibility specific mixin from Polymer / Web Components land https://elements.polymer-project.org/elements/iron-a11y-keys-behavior
This may be covered by one of the above but I'd also throw in something like https://html.spec.whatwg.org/multipage/interaction.html#run-synthetic-click-activation-steps. Very handy that defining an onclick on button
gets triggered by enter or space. I'd love to have this for custom elements.
There is a shared desire for additive behaviors, taking the form of multiple proposals.
The biggest challenge here is that, despite mix-ins being common in JavaScript frameworks, there is no precedent for this in DOM or another web standard, so we want to be cautious that any proposal fits well within the Web Platform.