Austin Gil
1 min readDec 27, 2022

--

Wow, lots to unpack there.

First off, using the term "div soup" for code snippets with 2 divs (which by the way was covered if you had read the article) is such an over-exaggeration, I actually laughed.

Your comment about clicking labels is just plain false. Every example has a clickable label that activates the associated input because they are connected with the for attribute. They don't need to wrap the input to get that same effect. I stopped using wrapping labels because there are actually some downsides to them. If you were specifically referring to the cards example, you really shouldn't wrap everything in a label because then screen-reader users would have a worse experience. Instead, I accomplished the same clickable feature with a more accessible approach (which by the way was covered if you had read the article). It's just untrue that using a wrapping label is better.

Your last point is my favorite. Despite the fact that using :has() is objectively simpler than the alternatives (which by the way was covered if you had read the article), you're saying developers should still use more complex HTML and CSS? Why? What a silly thing to say.

My suspicion is that you did not actually read the article, but skimmed the code snippets looking for opportunities to make snarky comments to feel better about yourself and show off your big brain. And I gotta say, it's really not a good look on you.

--

--

Austin Gil
Austin Gil

Written by Austin Gil

I want to help you build better websites. I create cool stuff for the web and share what I learn.

No responses yet