News for hackers. Stuff that matters.
Re:Using <details> for menus and dialogs (2019) by dragonwriter on Sunday April 25, 2021 @06:07AM (#26931598)
> On the other hand, <details> for menus and dialogs is a stretch, semantically.

Not really, for either menus or non-modal dialogs:

“The details element represents a disclosure widget from which the user can obtain additional information or controls.”

https://html.spec.whatwg.org/multipage/interactive-elements....

There are no comments on this comment yet.