The House voted 236-173 to approve the Equality Act (H.R. 5), legislation that would amend the Civil Rights Act of 1964 to ban discrimination on the basis of sex, gender identity, and sexual orientation.