|
|
|
|
|
by deergomoo
1339 days ago
|
|
I feel this way too. JavaScript is overused in part because HTML is very much lacking for the types of websites people expect and want to build today. By sticking to a rather small selection of semantic and layout primitives with some form fields sprinkled on top, we’re forcing all the responsibility onto the individual developer. Which leads to poor performance, poor accessibility, incalculable man-hours wasted building the same things over and over. Why isn’t there a <gallery> element that I can slot child items into and style with CSS? Or a <lightbox> element to view those items in a larger size? Or tabbed control groups? These things have existed since long before people could build rich apps on the web, and having them built into the user agent would give so much power back to the user in terms of customisation and accessibility. It’s like HTML still lives in a world where the web is solely for documents. |
|