HTML Can Do That(chrisburnell.com)
979 points by encyclopedism 2 days ago | 226 comments
tl;dr: Modern HTML natively supports features that previously required JavaScript, including popovers, modal dialogs, exclusive accordions via `<details name="">`, invoker commands (`command`/`commandfor`), lazy loading, `hidden="until-found"`, and native form controls like color/date/range pickers, meters, and datalists. The author demos each with code snippets, but cautions that browser implementations vary and accessibility support for several features (form controls, datalist, until-found) remains poor, so use with care.
HN Discussion:
  • Native popovers, dialogs, and invoker commands work great in production with well-designed standards
  • Datalist is insufficient for strict input requirements, echoing article's caution about limitations
  • These HTML features enable moving away from heavy JS frameworks and SPAs toward SSR
  • ~Native date input lacks format control, highlighting real gaps in browser implementations
  • ~Contenteditable and similar advanced features remain too inconsistent across browsers for serious use