And repairability forces tradeoffs of its own in other product qualities that people care a great deal about. The frustration people feel over the USA's crappy warranty and consumer protection policies is real and well deserved, but the repair thing is red herring from actually fixing that. In general legislation should focus on goals not means, means change rapidly and different people will desire different tradeoffs, that's what markets are actually good at figuring out. They don't have goals themselves, but they're good at optimizing towards goals and then dynamically adjusting over time.
I don't think the "right to repair" groups are all astroturfers and PR campaigns themselves, as well as companies that stand to profit I'm sure there are a few tinkerers who genuinely want it and a much bigger group that just hasn't thought deeply about it, but it's still frustrating to see all this energy finally boil up and end up in something that could be actively harmful to some stuff people like and misses the chance to actually internalize another set of costs and make everything work better. "Right to have dealt with for a time proportional to price paid" doesn't at all roll off the tongue as well but it'd be much better law.
Edit: I hope people will not get too bogged down with lack of implementation details here, this post is not a research paper and I could have been more precise (and maybe doing such a thing would genuinely be a worthwhile exercise). Objections have been raised about accidental breakage for example, and I got confused by one reply, while I think the price should remain external for that one but can see an argument that the availability for an extra time period should not. Ie., if you break it then the manufacturer isn't on the hook for the cost (though you can insure) but the manufacturer should still be required to deal with it at cost for an extended time, maybe even after the main coverage period ends. The main take home I wanted to argue was that "repairability" is just one tool in the box, and at least in the legislation attempts I've seen there doesn't seem to be acknowledgement that features like security, worse active matter to dead matter ratios, and durability can all be negatively impacted by "repairability". Implementation details would absolutely have to be carefully examined and argued about, but I stand by the goal being that products "last a reasonable time" and should never be a lottery for the public.
None of us should have to wonder about invisible failure rates and repair/replace costs of any sort when browsing the aisle in a store or pages online, that should be the responsibility of whomever is making it. They're the ones best placed to price it in, and to work and innovate to make that price lower or the value higher in whatever way they deem fit.