3 ms·
So SPAs would stop using a elements, style buttons like links, and attach handlers to those. I don't think you'll be able to accomplish what you want.
by Spivak 3y ago
So SPAs would stop using a elements, style buttons like links, and attach handlers to those. I don't think you'll be able to accomplish what you want.
- caditinpiscinam 3y agoThey could get rid of links, but that would break search engine indexing. This wouldn't be an issue for legitimate SPAs like Gmail, but would be disastrous for content-based sites. More likely is that they'd keep <a> elements but hide them from the user. Either way, my proposal would make sites that eliminated or hid <a> elements stop working by default, which would disincentivize hostile UX practices.