8/20/2026 at 6:10:02 PM
Popover, dialog, invoker commands, our entire production app uses these everywhere and it works really well! The fact that dialogs and popovers are rendered on the "top layer" and that nested popovers are also automatically stacked on top of each other and have 'cascading close' shows how well these standards were designed.The only hard thing is still to position a popover near the element that triggers it, such as when you want to create a context menu that has to render above/below the button that triggered it. There is anchor positioning in CSS now but support is still limited and I find it hard to wrap my head around.
LLMs are also terrible at these new standards. If they even know about them, they often think they're not baseline yet and they have almost zero training data compared to the giant mountain of weird JS and CSS that people had to use before the introduction of these standards.
by dajonker
8/20/2026 at 6:56:31 PM
> The only hard thing is still to position a popover near the element that triggers it, such as when you want to create a context menu that has to render above/below the button that triggered it. There is anchor positioning in CSS now but support is still limited and I find it hard to wrap my head around.I was going to suggest anchor positioning. I found it difficult to wrap my head around too, but once it clicks it's pretty simple. As a bonus, you can use it to position many other things than just popovers.
by nozzlegear
8/21/2026 at 8:27:38 AM
Baseline newly available. For Germany that means 80% vs the usual 90% (I wonder how the Internet looks for those 10% who use ie, Firefox 20 and Chrome 1 or whatever), which, considering that it doesn't really degrade well, makes it pretty much unusable for serious sites.by Semaphor
8/20/2026 at 11:21:39 PM
> LLMs are also terrible at these new standards. If they even know about them, they often think they're not baseline yet…It doesn’t have to be that way.
You could create a Skill [1] that tells the agent to use modern css; the newer models like Opus 5 are probably much better with modern css.
Google released a set of skills at I/O called Modern Web Guidance [2] that steer coding agents to use modern css and best practices.
[1]: https://www.skills.sh/paulirish/dotfiles/modern-css
[2]: https://developer.chrome.com/docs/modern-web-guidance/get-st...
by alwillis
8/21/2026 at 1:15:32 PM
Can we stop calling them skills? They're mostly just documents like any other. Call them cheat-sheets or guides.Wrapping an .md file in all this circus, with lingo carefully designed to hide the fact that under the hood you're really just dumping another text file into the LLM's context , helps nobody but people's AI psychosis.
But I guess "my LLM can use skills" sounds a lot cooler than "my LLM can read text files", so we'd rather keep pretending really hard.
by chmod775
8/21/2026 at 1:24:50 PM
Skill is the terminology the industry has adopted.by edgyquant
8/21/2026 at 1:58:33 PM
And people once called radio "the wireless", vacuum tubes "valve", and computer processors "the mill".Some terms and ideas are just shit, especially in the early stages of something new.
by chmod775
8/21/2026 at 1:18:50 PM
I have started hearing echoes of how LLMs are "conscious" on every forum I go. Strange times.by WelkinFolk
8/21/2026 at 9:13:06 AM
> LLMs are also terrible at these new standards.This seems like a common enough issue that it would be worthwhile publishing a "Markdown library" of "stuff HTML can do" that you can "call" from your AGENTS.md.
Edit: lol, a sibling commenter shows I am not the first to have this idea! https://developer.chrome.com/docs/modern-web-guidance/get-st...
(They made it a skill, which brings me to another thing I've had on my mind lately: that's annoying if you know when you start the harness that you will want it to read the skill. It's a roundtrip through the model to activate it. But maybe there's a way to fix that?)
(Edit2: Claude says if you activate the skill via /skill-name in the initial prompt, you get what I want)
by bjackman
8/20/2026 at 9:17:23 PM
> The only hard thing is still to position a popover near the element that triggers it, such as when you want to create a context menu that has to render above/below the button that triggered it.If you put something like this in your popover class, it will resolve to the button that called it when position-anchor is not set:
top: anchor(bottom);
I'm not sure how widely supported it is but I've been using it in Firefox/Chrome.
by doginasuit
8/21/2026 at 12:23:37 AM
All current browsers support anchor positioning including popover buttons being the implicit anchor. However, the anchor positioning polyfill does not support this, it requires an explicit anchor-name.by extra88
8/21/2026 at 8:42:30 AM
I believe CSS anchor is now widely supported.by meerita
8/20/2026 at 8:32:38 PM
> often think they're not baseline yetI'm not an LLM, but that was my immediate thought - how new does a browser have to be to support these and which browsers am I excluding by using these features?
by commandlinefan
8/20/2026 at 8:38:58 PM
Support is pretty good in general for these. Click any of the element links in the article and you get taken to the support grid.by jxf
8/20/2026 at 10:07:54 PM
> LLMs are also terrible at these new standards. If they even know about them, they often think they're not baseline yet and they have almost zero training data compared to the giant mountain of weird JS and CSS that people had to use before the introduction of these standards.I really wonder if AI coding is just going to lock us into 2024-ish era languages and libraries forever.
by Wowfunhappy
8/20/2026 at 10:17:18 PM
At least one thing to hold the torrent of churn back just a little. Silver linings..by actionfromafar
8/20/2026 at 10:29:28 PM
Yes. The maintenance costs of these models are very high. Something's gotta give soon.It's exactly like trying to acquire a bootleg of a movie, but all you can afford is a single blurry jpeg taken from the back row of a theater.
What's worse is you're an alien who wants to understand life on Earth by watching this single movie. That's how far away we are from AGI.
by sublinear
8/21/2026 at 12:22:10 AM
> LLMs are also terrible at these new standards.Skill issue? I mean, I wonder if adding a skill to use these newer standards can push it over the edge from the crappy JS it was trained on.
by jmpeax
8/20/2026 at 6:26:05 PM
I'm curious how many people are involved in the design of your app and what their concerns are.Testing for accessibility and on mobile devices has a tendency to derail the best intentions. What tools are you using for those concerns? I'm not asking because I need advice. I'm asking because I want to know what you or your team did.
by sublinear
8/21/2026 at 8:03:05 AM
[flagged]by maya335
8/20/2026 at 7:47:28 PM
[dead]by vee-kay