The legislation would include transgender people as a protected group.