5 ms·
And am sure this will happen. At some point websites will start shipping rendering with webasm. I am it keen on the details but a well done one could use a canv
by mbrumlow 8y ago
And am sure this will happen. At some point websites will start shipping rendering with webasm. I am it keen on the details but a well done one could use a canvas to do the rendering.
As a anadotal. We can already fo to websites that run vms and emulate old operating systems. I dont this it is far fetched to run a web browser in a web browser.
- deleted 8y ago[deleted]
- wvenable 8y agoUnfortunately that destroys accessibility. If you want to support accessibility, then you need a more complicated rendering target than something like a canvas.
- amelius 8y agoWith modern ML, that is not true. For example, a browser could easily run OCR on the frame-buffer and read it out loud. In fact, the approach would be more general, since a lot of text is already embedded in images on a lot of websites (think also about ads).
- realityking 8y agoIf you look at any platforms accessibility APIs, there’s a lot more to it than just exposing text. The simplest example: how do you indicate a graphic or piece of text is a button or link? How do I set the alternate text if it’s a graphical button.
- amelius 8y agoThe render engine still has to do that. But that isn't much different from how it works now, where the website has to provide the necessary information. Besides, nobody says we can't have a protocol for some additional accessibility information.
- ljm 8y agoAnd then somebody says "how about we abstract this into some kind of markup language?" and we've come full circle.
- amelius 8y agoA common markup language would be great! As long as we use it in a way that keeps us far away from compatibility problems.
- jononor 8y agoYou only get away from compatibility problems if either: 1. No-one uses it 2. There is only 1 implementation, and it is never updated
- wvenable 8y agoBut you have to make it extendable because you can't predict every possible use-case. So some kind of Extensible Markup Language, perhaps.
- ljm 8y agoMaybe we make a sort of 'hyper' extension that comes with all kinds of baked in behaviours, so that we don't have to implement that behaviour ourselves when we deserialise it.
- wvenable 8y agoThat's a good idea. Maybe we need a series of standards but all based on some kind of Standard Generalized markup.
- geezerjay 8y ago> For example, a browser could easily run OCR on the frame-buffer and read it out loud. And then we wonder where all the software bloat comes from.
- Anarch157a 8y agoIn other words: "Print the file, send the printed sheets by fax to the remote office, once received, OCR them and save to a file" Not to mention that there's no such thing as "Easily run OCR", considering how many weird fonts there are, and that they could be rendered in such small size as to make it difficult even for humans to tell them apart.
- orbitur 8y agoIt will for a bit. The people who build UI frameworks in wasm will either make it a priority or they'll add it later. It sucks but this is the way we're heading. I'm not sure web devs will even be writing HTML in 5 years beyond adding a canvas tag.