This week a pull request was made on the Chromium project that, in certain situations, blocks Javascript from loading on 2G connections.
Currently the Gutenberg editor doesn’t work without Javascript; it doesn’t even have a noscript tag.
Chrome for Android may start disabling Javascript on slow connections, which would mean Gutenberg doesn’t work.This may be a non-issue: the suggestion is that there would be an ‘intervention bar’ asking the user if they want to load Javascript for a site so users would be able to make sites work.
But, the whole concept is interesting and gives an idea of how things could evolve in the future. For instance Flash used to be ‘click to play’ and is now being phased out. Of course I don’t think Javascript will be removed – Google use it all over the place – but it is a strong argument for progressive enhancement and not relying too heavily on Javascript.
I think WordPress, the editor, can probably get away with it. Users can install the WordPress app, or allow the Javascript download for the editing experience. But for themers and plugin developers; it’s a good reason to make sure the core reading experience works without Javascript.
Note: I have created a Gutenberg Issue suggesting a noscript tag is added. I think there should be at least a message explaining why the page is blank.
Was it good/ useful/ a load of old rubbish? Let me know on Mastodon, or BlueSky (or Twitter X if you must).
Link to this page
Thanks for reading. I'd really appreciate it if you'd link to this page if you mention it in your newsletter or on your blog.