The Senate on Thursday passed a bill aimed at closing gender and demographic wage gaps, which would require employers with 25 or more employees to disclose pay ranges when posting a job opening or offering certain promotions or transfers.

The bill would also have companies with 100 or more employees file copies of their federally-required equal employment data report with the Massachusetts state secretary's office, which Sen. Paul Feeney said would help Bay State officials "measure" wage gaps in order to understand the causes and take future action.