Agree, and I'm guilty as well. It seems this is often motivated with "these things are base building blocks that affect framework architecture and are hard to fix later" which is true, but so are UX and accessibility concerns.
Perf etc is also important, but balance is way off.
I'm kind of getting fed up with frameworks prioritizing performance, data-fetching and server-side rendering capabilities over basic UX necessities. It should be a high-priority that frameworks focus on making the web accessible and preventing, if not blocking, bad practices.