yes but that’s also what makes it regressive
The alternative is not Walmart paying stickers $50K/yr. The alternative is no or fewer Walmart jobs in locales with these laws. IMO, that makes things worse, not better, for prospective Walmart employees.
I also feel like where I live is none of my employer’s business, provided I can do the job. Maybe I’d make an exception for fire or police, but even there I’d rather not make the employer totally paternalistic.