An alt Decision Tree Using Only :has()
I use the CSS :has() pseudo-class to provide an interactive alt text decision tree (from the W3C WAI Tutorial) that uses no script. It is progressively enhanced, so browsers without support for :has() still get all the content.
![](https://rdl.ink/render/https%3A%2F%2Fup.raindrop.io%2Fuser%2Favatars%2F160%2F563%2F7%2Flogo.png?mode=crop&width=18&height=18&dpr=2)