Some lawmakers are taking heed. On Tuesday, California became the latest US state to require all employers with more than 15 staff to post a salary range for open positions, and for the state to track data on how salaries differ according to race, gender and ethnicity. Gen Z TikTokers, who had supported the law, cheered.