Anti-discrimination and equal-pay laws have been on most countries’ books for decades. In 2017 Britain started forcing big companies to publish wage-gap data; the eu and Japan have followed.