Re:Named element IDs can be referenced as JavaScript globals
by WorldMaker on Tuesday September 27, 2022 @01:34PM
(#32998454)
As the article points out, this initiative was an 90s IE one and the Gecko team (Firefox, post-Netscape) were against it.
The simplest possible syntax is to make named elements available globally, and if that clashes with future additions to the DOM API then well that's a problem for some future idiots to worry about.
as a strategy it worked pretty well, unfortunately