News for hackers. Stuff that matters.
Re:Emerging Rust GUI libraries in a WASM world by flohofwoe on Thursday April 27, 2023 @05:57AM (#35725708)
If the web API zoo wouldn't be so random it would all be easier. Pretty much all problems on the web (including the Javascript framework churn) are caused by the DOM being too high level, too inflexible and generally too 'black-boxy' to do anything interesting.

Accessibility could be fixed easily if there would be a web accessibility API. There's basically an entire 'middle layer' of web APIs missing, current APIs they are either low level (like WebGL/WebGPU) or too high level (like the DOM).

Re:Emerging Rust GUI libraries in a WASM world by zkldi on Thursday April 27, 2023 @07:15AM (#35726334)
you're almost describing flash

i mean, it sucked, but it was kind of that middle layer.

Re:Emerging Rust GUI libraries in a WASM world by danShumway on Thursday April 27, 2023 @11:48AM (#35729874)
> Accessibility could be fixed easily if there would be a web accessibility API

It does have one. The DOM is the web accessibility API. A really big point of the DOM is that you don't get to make multiple interfaces, you have to make one interface that works for everyone, which forces you to provide some degree of feature parity between those interfaces.

The web accessibility API is "you have to describe your interface to us in pure text, because that format is more likely to be accessible."