Hacker News new | ask | show | jobs
by cercatrova 1342 days ago
Flutter web is one of them. It displays on a canvas element.

In the future with WASM, I expect the same thing, a Rust web app that also displays on a canvas for example.

1 comments

How are you going to address accessibility when rendering everything on a canvas element? What are search engines going to scrape?
Flutter builds a parallel accessibility tree in the DOM that screen readers and search engines scrape. It's kinda cool, you don't have to rely on HTML, CSS and JS as the application layer, use something else like WASM for that, but for the document layer, use HTML. In a way, it's like the original purpose of HTML is preserved, as I see many people on HN complain about how the DOM shouldn't be used for applications and should only be used for documents.