Earlier quoted context omitted.
HN is being payed by these companies for these posts. Surely it wouldn’t be too hard for HN devs to have a running list of states that require salary ranges to be posted, and check against that when the customer submits a request. Then it will make it easier as more and more states require the bare-minimum worker right of public salaries.
HN is not payed for these posts. Who’s Hiring posts are like all others: anyone can comment, and no one on HN ever pays the site operator for the right to post.
Most jobs have official job postings. It's those that need to carry the salary requirement.
If I'm telling a friend, Hey, there's an opening in my company, you wanna apply, I am not required to tell him the salary range. However, when I point him out to the job application page where he can get more official information on it and can apply for it, that should carry this information, or at least link to it.