Yes they want a diverse workforce, but I think the issue is more that they need a diverse workforce. We should probably examine the need part first. In most cases its a PR/ government requirement issue, which means that maybe this wouldn't be a goal if the PR and regulatory pressure didn't exist.
I don't know of a right way to get more women into the IT space, but the diversity requirements imposed on businesses don't seem to have the effect that seems to have been intended.
I'm sure the vast majority of companies want the exact same thing but there comes a point where you simply have to accept that we work in a significantly male dominated industry and to get to a point where more than 20% of your staff are female means you have to compromise somewhere in order to achieve that balance. Unfortunately that compromise isn't always going to be appropriate.