How do I render interactive html5 in the terminal?

I want a quick interface that can display some information and let me click on different parts of the information for details. I felt like keeping this inside the terminal.

After a bit of reading it feels like details element in HTML’5 would be a nice approach for – because it avoids coding.

Unfortunately neither lynx, nor w3m, nor the glow markdown renderer support this.

Is there any command-line browser / renderer that support HTML 5?

Workarounds

I could implement this in curses – since this supports clicks, but this feels like work.

I could implement this in emacs, since emacs supports folding… which is probably what I’ll do… but it’s not very self contained.

kitty is a terminal emulator that extends the terminal protocol to support images and fonts. It looks like there is a enough interest in this for a chromium-based browser, awrit to have been implemented in it… so maybe I could use that. But it seems kitty-specific.