If I was working on web standards, I would focus on trying to make the browser able to do as much as possible without JavaScript. Having to use JS to post a form dynamically for example is extremely overkill and a security problem. If we could avoid it more often, we could use CSP headers and disable it on a lot more security critical sites. If doing accessibility is a problem without JS, well then there's a great thing to get started on fixing. Just read this article this morning which I think highlights the problem: https://www.newsweek.com/cyber-attack-websites-affected-1272... I think it's really cool that browsers are VMs that can run Doom now but I really think we need to come back and focus on the basics again: HTML as hand-editable documents you read, more interface components, accessibility tools. Not sure the Gemini protocol (https://en.wikipedia.org/wiki/Gemini_(protocol) will succeed but I understand and loved the spirit of it.
This is essentially what we're working on at Open UI (https://open-ui.org/). Many of the primitives this page uses (e.g. `popover`) were incubated in Open UI, and were designed to essentially extract & encode common problems in the web. Developers shouldn't have to spend months writing libraries or patterns for their UI.
I concur. When one considers how much time, effort, and frustration has been poured into the tens of thousands of re-implementations of the same handful of patterns, most of which are poor on some level, the mind boggles. The ROI on better web UI fundamentals is incredibly high. Even if people ultimately just bolt JS onto them anyway it'd still be a massive win.
Forms already work without JS. What part of the stack would you want to enable posting a form without reloading the page?
It doesn't. If you allow file uploads you run into an obvious problem. If the uploader hits the maximum file size limit, the connection is closed because you can only send a response after processing all of the input and the entire reason behind the maximum file size limit is to stop people from uploading massive files. So what you do is check the file size with Javascript first so you can tell users that they are over the limit.
O yes, someone give us links that only replace a part of the page (or add a new part) and cookies that only live in a tab (like sessionStorage does). That would be a dream come true.
Now you know why google is incentivized to create a browser
To push ads faster.
1 reply
and block the blockers?
Trying to imagine a world where ActiveX won
HTMX has entered the chat.
