3 ms·
> Let's not get started on the fact that HTML is a terrible language for UIs This is why I'm hoping that future web front-end frameworks will output UI elemen
by amyjess 11y ago
> Let's not get started on the fact that HTML is a terrible language for UIs
This is why I'm hoping that future web front-end frameworks will output UI elements to a <canvas> instead of the DOM.
If a DOM-like scene graph is needed, it should be managed entirely by the framework and simply be an intermediate layer between the application code and the <canvas>.
- ctoth 11y agoAs a blind user and developer I am absolutely terrified by such a prospect. We've just started to get decent accessibility for the plethora of new web features with ARIA and similar. But if you render everything to graphics output directly to a canvas you lose any capability of ever talking to my screen reader. Text is awesome for both people and machines, let's not throw it out.
- immibis 11y agoHey, at least we'll get a bunch more mostly-pointless JavaScript features to support accessibility on canvases!