It's one of the factors, especially when you consider it not just as one of the factors ethically, but also because their input is valued and if they are not happy it means something might be operationally wrong (although of course there might be a tradeoff between productivity and worker happiness)