As L.G.B.T. Pride Month comes to an end, the massacre of 49 people at a gay nightclub in Orlando, Fla., cast a pall over this year’s celebrations to commemorate milestones for the community.

For many lesbian, gay, bisexual and transgender people, the killings were a painful reminder that despite successes like the Pentagon’s lifting the ban on military service by transgender people and the Supreme Court’s legalization of same-sex marriage, obstacles to acceptance and equality remain.

We asked L.G.B.T. leaders to reflect on the challenges the community still faces. Here is what they said:

Discrimination

“One of the main things we are doing is fighting against the post-marriage backlash,” said Mara Keisling, the executive director of the National Center for Transgender Equality.

That has happened mainly at the state level, where more than 200 anti-L.G.B.T. bills have been introduced so far this year, said Russell Roybal, the deputy executive director of the National LGBTQ Task Force.