If you're trying to hire for a $100k+ role, it should not be a problem to take an afternoon to look up job postings for similar roles and figure out an appropriate salary range.
To put it more simply: the socialist in me thinks it's good for workers -- the liberal in me thinks it's good for fairer competition in the labor market. Win-win.
My aversion to bureaucracy makes me hate the idea of the government adding more red tape, especially on something as trivial as poorly written job posts. I feel like we learned nothing from GDPR cookie banners.
But nonetheless, I don’t think your point is invalid.