news.volyx.in

HTML Can Do That (chrisburnell.com)

1020 points by encyclopedism · 7 days ago · 231 comments on HN

Article summary

The article highlights various dynamic functionalities that can now be achieved with HTML alone, without the need for JavaScript. It showcases features such as popovers, dialogs, and grouped details, as well as native elements like input types for color, date, and range pickers. The article also notes the limitations and accessibility issues of some of these features. The author encourages exploration of these features while keeping in mind their potential drawbacks.

Main themes

  • HTML features
  • JavaScript alternatives
  • Accessibility
  • Single Page Applications
  • Native elements
  • Web development best practices

What commenters say

  • Some commenters argue that HTML features like datalist are not suitable for production use due to their limitations and lack of support for fuzzy filtering or typo mitigation.
  • Others note that the native date picker still has poor performance in practice, despite robust browser support.
  • The use case for the 'hidden until found' feature is debated, with some suggesting it could be useful for revealing additional notes or content on search.
  • There is a discussion about the trade-offs between using Single Page Applications (SPAs) and traditional multi-page websites, with some arguing that SPAs can be annoying and others noting that they can be made to work well with proper implementation.
  • Some commenters express frustration with websites that require excessive JavaScript and third-party scripts, and advocate for simpler, more document-like websites.
  • The potential for using HTML features to reduce reliance on JavaScript is seen as a positive development by some, while others note that JavaScript is still necessary for many use cases.
  • The importance of accessibility and proper implementation of HTML features is emphasized by several commenters.