4 ms·
Good points, but surely all that knowledge could be encoded once into some CSS attributes, rather then rewritten every time for every JavaScript framework on ev
by wtbob 10y ago
Good points, but surely all that knowledge could be encoded once into some CSS attributes, rather then rewritten every time for every JavaScript framework on every site?
- scrollaway 10y agoA "correct" fix would be to build stylable core UI elements from the chrome itself. Leave the accessibility to the browsers (and by extension their UI toolkit). For this, you need a standard `<menu>` element, which is in HTML5.1: https://w3c.github.io/html/interactive-elements.html#the-menu-element https://w3c.github.io/html/interactive-elements.html#the-men...
- Piskvorrr 10y agoCould be. And polyfilled for the monstrosity that is IE. That's a huge pie in the sky - whereas with JS, that's something which has already been here for at least a decade.