Legislators to vote on gay rights law