Everyone is feeling how dire our industry is right now with AI decimating our jobs and an influx of bloated libraries and frameworks. But it’s not all bad news, and I’d love to bring some of the good stuff back into the light.

Let’s talk about things that have actually improved in our industry – like tools, libraries, native features and apps. I also turned to the Fediverse to ask about everyone else’s “good things”.

:has(), :only-child(), :empty(), and other CSS Improvements

:has() and its other new selector siblings have completely changed the way I’ve used CSS. I use a lot less classes and can add a lot more interactivity. Having a list of sibling links dim when hovering over one of them? It’s easy now! Need to make content conditionals depending on if an image is added or not? Easy!

The CSS team has been killing it with all of the great releases in the past couple of years. Subgrid, Masonry grid, popovers, dialogs, scroll-driven animations – I literally can’t name all of the amazing things that CSS has come out with in the past few years that have also drastically reduced my Javascript dependencies. Speaking of…

More CSS, Less JS

Thanks to popovers and invoker commands for mobile menus and dialogs, details for accordions, and soon styling for selects – there’s never been less need for Javascript. I’ve been able to switch out my mega menus, mobile menus, and video/image lightboxes with only a tiny bit of JS to handle media types or add a bit of extra accessibility.

We’ll never fully get away from Javascript, but we can improve a website’s performance dramatically by reducing it.

Accessibility is more visible and important than ever

Over the past few decades, accessibility has had a long, long uphill battle for legitimacy. The fight isn’t nearly over yet, but I’ve been so happy to see that it’s now in the main conversation, and more clients have been asking for accessible sites and haven’t needed as much education as to what it is and why. I’m happy it’s being implemented more and more even though it took legislation and lawsuits to help us bring to light how important it is. Even Lighthouse and Google will penalize you for basic accessibility issues!

There are so many great tools out there now to help with building accessible websites – WCAG and Wave are still my favs, and Firefox has some fantastic tools built into their inspector!

Still unchanging goodies: no libraries or builds needed here!

Complicated web development is frustrating and for no real good reason. We still don’t need build packages or multiple Javascript libraries and dependencies to build websites. Good ol’ semantic HTML and CSS does just fine. It’s also the fastest and most performant way to load a website. I want to scream into the void when I see someone talking about using AI to hook into X, to output Y, to compile and push to Z. Thankfully there are still those of us who like to KISS (Keep It Simple, Stupid).

The true costs of complicated build processes are many: it’s harder to find devs to come after; more bugs are introduced; more resources are used; and slower, buggier, websites are produced.

I pour one out for my fellow Luddites here.

What has everyone else been excited about?

I asked on Mastodon (full thread here) what they think has improved in past few years in web development.

Our industry is so vast and varied, I love that there’s something for everyone! Here’s a few of my faves:

Amber Weinberg

Amber is a freelance front-end developer specializing in semantic and accessible custom WordPress themes. She works with agencies and other freelancers to bring their designs to life using custom ACF flexible layout builds - making them more performant and less buggy while allowing the client easy customization without breaking the design system.