Massachusetts enacted an equal pay law set to take effect on July 1, 2018. The law prevents companies from barring salary discussions by employees. It also contains new ways to compare the work of employees to determine whether their pay is equal. Other states are considering similar equal pay laws.