wouldn't it just be better to start a new html5 without JS trend? It can the defector standard for document based web! A lot of modern CSS options to build nav menus now days[1]:
Form submit etc to send network traffics are all available, JS is only needed when you wanna do something cute like network call (AJAX) or change dom elements without refreshing the page. And come up with kluge such as allowing js to change the route with in the domain.
You'd have to ditch a bunch of CSS, too. JS always gets mentioned, but it's hardly the biggest problem I tend to have when landing on random pages. I'd guess 60+% of the time it's one of:
Form submit etc to send network traffics are all available, JS is only needed when you wanna do something cute like network call (AJAX) or change dom elements without refreshing the page. And come up with kluge such as allowing js to change the route with in the domain.
Footnotes: 1.https://1stwebdesigner.com/pure-css-navigation-menus/