Legally, no.
Morally and ethically, yes they do. And the consequences for breaking a moral or ethical 'rule' is loss of reputation, which is exactly what this post is doing to them. And if companies keep doing this kind of thing, as a society we might decide to make it a legal matter, like we did for minimum wage and protected classes.