DEV Community

Discussion on: Why can't we solve accessibility with a one line script tag?

Collapse
 
jcolag profile image
John Colagioia (he/him)

One of the reasons that I cringe every time I hear "the browser is now basically the operating system" is exactly this. That mentality encourages developers to stop thinking about the web like documents, and instead dream of the days when they'll just draw arbitrary pixels to the screen in real time and dynamically decide which will respond to clicks, instead of (as you point out) just using a button.