Live data from Hacker News

WebAssembly Studio

webassembly.studio

21–30 of 231 posts

Re: WebAssembly Studio

#21

The "Create New Project" dialog has serious accessibility problems when used with a screen reader. The buttons are clickable divs, not actual HTML buttons or even marked up with proper ARIA. I haven't yet ventured any further into the app. Given that the app is a WebAssembly development environment, my first guess was that it was built in WebAssembly itself, with a custom UI framework. But in fact, it's plain React,…

..

I mean, this is exactly what aria attributes are for, right?

Re: WebAssembly Studio

#22

The "Create New Project" dialog has serious accessibility problems when used with a screen reader. The buttons are clickable divs, not actual HTML buttons or even marked up with proper ARIA. I haven't yet ventured any further into the app. Given that the app is a WebAssembly development environment, my first guess was that it was built in WebAssembly itself, with a custom UI framework. But in fact, it's plain React,…

..

This already exists, and many developers don't use it.

Re: WebAssembly Studio

#23

The "Create New Project" dialog has serious accessibility problems when used with a screen reader. The buttons are clickable divs, not actual HTML buttons or even marked up with proper ARIA. I haven't yet ventured any further into the app. Given that the app is a WebAssembly development environment, my first guess was that it was built in WebAssembly itself, with a custom UI framework. But in fact, it's plain React,…

..

> There should be a way to signal to browser a div will be used for a button or whatever and I believe people would be happy to use such a solution.

That solution already exists: replace "div" with "button"

Re: WebAssembly Studio

#24

The "Create New Project" dialog has serious accessibility problems when used with a screen reader. The buttons are clickable divs, not actual HTML buttons or even marked up with proper ARIA. I haven't yet ventured any further into the app. Given that the app is a WebAssembly development environment, my first guess was that it was built in WebAssembly itself, with a custom UI framework. But in fact, it's plain React,…

I'm guilty of this more often than I should be. I think the reason I sometimes reach for divs over buttons or other semantic elements is because I've been burned by default browser behavior treating them special when I just want a dumb box with a dumb click handler - no default styling that I need to override, no need to call .preventDefault(), no need to worry about the matrix of OS+browser+device that each treats a button slightly differently, etc etc...

Some of this fear may be unfounded or now obsolete but years ago it wasn't fun fixing bugs clients ran into due to silly issues caused by these kinds of things.

Re: WebAssembly Studio

#25
post #23

Earlier quoted context omitted.

..

> There should be a way to signal to browser a div will be used for a button or whatever and I believe people would be happy to use such a solution. That solution already exists: replace "div" with "button"

[deleted]

Re: WebAssembly Studio

#27
post #19
post #18

Earlier quoted context omitted.

As much as people bemoan the complexity of Webpack, it's far superior to the (IMO) spaghetti code of gulp that inevitably results. I'll choose Webpack and npm scripts every time.

Today, I would probably choose something higher level than meddling around with Webpack directly.

For smaller projects I agree. For larger projects, it's worth spending an hour or two on a custom Webpack config tuned to the project's needs IMO. In most cases it doesn't even take nearly that long.

Re: WebAssembly Studio

#29

Jokes about the [Birth and Death of JavaScript]( https://www.destroyallsoftware.com/talks/the-birth-and-death... ) aside, I love the concept of WASM and that we're making the web a more robust compile target. One of the big limitations in my mind is that I still don't know of that many people using it in production at scale. Is there a list, or well known set of examples (other than Figma), who are using WASM in prod…

[deleted]

Re: WebAssembly Studio

#30
I hope wasm gets serious attention by the Bazel team. I've personally been thinking of it as "the JVM done the right way". Still lots of progress needs to be made but it's very exciting to have another cross-platform multi-language VM.
Post reply on HN