1 of 5
Danny Johnston, File, Associated Press
In this file photo taken Feb. 5, 2015, Arkansas State Sen. Bart Hester, R-Cave Springs presents a bill to the a Senate at the Arkansas state Capitol in Little Rock, Ark., to prevent local governments from passing their own anti-discrimination laws.

LITTLE ROCK, Ark. — Little Rock officials have voted to require companies contracting with the city to not discriminate based on sexual orientation or gender identity, challenging a new Arkansas law criticized as anti-gay.

The city's board on Tuesday approved the ordinance, which prohibits the city and its vendors from discriminating against lesbian, gay, bisexual and transgender people.

Arkansas earlier this year became the second state to bar local governments from adopting anti-discrimination ordinances that include gender identity or sexual orientation. The law doesn't apply to a city or county ordinance that only applies to its employees.

Little Rock officials say they believe their measure complies with the state law.