If you want to create a button from scratch, you must first create the universe(madcampos.dev)
237 points by treve 1 day ago | 124 comments
tl;dr: Summary not available
HN Discussion:
  • Reinventing native OS/HTML widgets wastes effort and produces worse accessibility outcomes
  • Native elements are insufficient for complex UI needs, forcing reimplementation
  • ~The article's example code has event-handling bugs, which ironically reinforces its point
  • Accessibility standards and lawsuits can drive worse outcomes than using standard HTML
  • Browser vendors (Apple/WebKit) blocking custom element extension exacerbates the problem