News for hackers. Stuff that matters.
Re:Using <details> for menus and dialogs (2019) by deergomoo on Sunday April 25, 2021 @08:49AM (#26932307)
> The built in one almost always gets replaced with something that looks nicer and has more features like icon support and themeability

Then why don’t we improve the capabilities of the built in one?

I’ve always found this odd, JavaScript and CSS are constantly improving, and there’s a steady stream of new things to make development easier. But no-one seems to care about improving HTML, despite being by far the best focus of efforts.

Rich functionality via new/improved HTML tags would be accessible, performant, would work without JavaScript, and in many cases could be easily polyfilled.

There are no comments on this comment yet.