The legislation would require firms to provide information of differences in wages for male and female employees.