During a trip to Beijing this week, President Barack Obama announced major agreements with China, one to reduce carbon emissions and another to increase travel between the two countries .

But the visit was not without controversy. During a press conference on Wednesday with Obama and Chinese President Xi Jinping, Mark Landler, a White House correspondent for the New York Times, questioned China’s record on human rights and noted that some American media outlets, including his own organization, have experienced difficulty getting residency permits in China.

"I’m wondering in the spirit of these reciprocal visa arrangements that you’ve agreed to this week with business people and students, isn’t it time to extend that sort of right to foreign correspondents who seek to cover your country?" Landler asked.

Xi replied with a rare, unscripted response , telling foreign reporters they need to "obey China's laws and regulations." He went on to defend the country’s human rights record.

"Ever since the founding of the People's Republic of China, and especially over the last three decades and more of China's reform and opening era, China has made enormous progress in its human rights," Xi said, according to a translation provided by the White House. "That is a fact recognized by all the people in the world."

When we put the Chinese leader’s statement to the Truth-O-Meter, we found that human rights organizations were not as glowing in their assessments of China’s record on this issue.

"It’s very standard Chinese political rhetoric," said Sophie Richardson, the China director at Human Rights Watch in an interview with PolitiFact. "It may be very nice that President Xi wishes his statement is true, but to suggest among other things people in China and around the world uniformly agree is ludicrous."

Attempts to reach a spokesperson with the Chinese embassy were unsuccessful.

Some improvements

There is some good news. Experts and human rights advocates we spoke with say that improving economic conditions have indeed produced better living conditions for many Chinese citizens.

As it is, when Chinese leaders claim progress in human rights, they are mostly referring to "human welfare," said Patrick Keenan, an expert in human rights and international law at the University of Illinois.

"They're thinking about China's incredible economic growth and the ways that that economic growth has improved the lives of poor people in China," Keenan said. "China's growth hasn't helped everyone, of course, but it is true that poor people, on average, are better off than they were a generation ago."

The reform era of the 1970s that opened China’s doors to a degree to the rest of the world resulted in a vast economic expansion, especially in the urban centers. Some social freedoms followed, such as the ability to move or take different jobs.

However, such gains only accrued to certain sectors of the population. For example, according to Human Rights Watch, millions of farmers and herders who are Tibetan — an ethnic minority in China — have been subjected to a mass rehousing-and-relocation policy that forced them into socialist villages. And more generally, outside China’s rapidly growing cities, the economic gains have been less significant.

There are two other notable areas of progress, each with limits.

First, China has signed several international conventions and treaties pertaining to human rights. While there are clear examples of these agreements being ignored, the simple fact that China has agreed to them "is important because it creates an opportunity to make claims against the state," said Richardson of Human Rights Watch. All told, China has signed 10 of the 16 United Nations agreements pertaining to human rights.

However, in most cases, China has attached a stated "reservation" that says they won’t abide by parts of the agreement that interfere with state laws. For example, while China agreed to an anti-torture convention, it added that it would not recognize a clause that allows the United Nations to investigate suspected torture, thus eliminating the enforcement mechanism.

Second, Human Rights Watch notes some growth in civil society within China, such as new legal-aid services to victims of domestic violence, disabled children and other at-risk groups. These services often do not enjoy recognition from the state, though, and their leaders face imprisonment. Still, they represent seeds of change. "That degree of organization, participation and serving as a counter to the state is incredibly important," Richardson said.

A long way to go

Any acknowledgement that China has made gains on some issues comes with the caveat that the country is "starting off a much lower base than most," said Joshua Castellino, a law professor at Middlesex University in London and at the Irish Center for Human Rights.

"Against (progress), there remain major issues on political participation, freedom of religion, and the use of the death penalty," Castellino said.

On the death penalty, Human Rights Watch says China "leads the world in executions."

While the exact number isn’t known, it’s estimated at about 4,000 a year. Additionally, Amnesty International estimates 500,000 people are "currently enduring punitive detention without charge or trial, and millions are unable to access the legal system to seek redress for their grievances."

Many detained people are activists and political dissidents. China retains a one-party system, meaning citizens have no real choice or say in their government, and the Chinese Communist Party has authority over all judicial and legal proceedings in the country.

The Internet has created opportunities for activists to engage, communicate and inform. However, China has aggressively moved to rein in these efforts through widespread censorship and blocking outside content from reaching Internet users in China. (This is known as the "Great Firewall.") Additionally, the Chinese Communist Party has recently moved to make it easier to charge activists and Internet critics as part of a crackdown on free expression.

"Use of torture to extract confessions is prevalent, and miscarriages of justice are frequent due to weak courts and tight limits on the right to defense," according to Human Rights Watch.

Nobel Peace Prize recipient Liu Xiaobo is serving an 11-year sentence for non-violent protest against the state, while his wife remains under house arrest. Liu’s trial lasted 20 minutes, according to Amnesty International.

These types of human rights abuses are deemed necessary by the state to preserve "social stability," Human Rights Watch says.

Historically, China has used "re-education through labor" — forced labor camps — as a means of punishment. Officials have said they plan to abolish these camps, but so far it appears they have been replaced with other types of detention without trial.

In addition, the disabled face discrimination in employment and education opportunities, workplace safety is a major concern, migrant workers cannot get residence permits that allow them access to education and other social services, and women can be punished, including being forced to have abortions, for violating government family planning laws.

"In the U.S., Europe, and many other parts of the world, the idea of human ‘rights’ means things like freedom of religion, assembly, voting rights, anti-discrimination provisions to protect minorities and people with disabilities, and the like. On these measures, China is not doing well," Keenan said. "There is endemic local corruption, abuses of political opponents, restrictions on free expression and assembly, abuses of property rights, discrimination against people who are out of favor with the government, no real voting rights as that idea is understood in the West, and so on."

Our ruling

Chinese President Xi Jinping said, "China has made enormous progress in its human rights. That is a fact recognized by all the people in the world."

There is a grain of truth here: China’s rapid economic growth has lifted millions of its residents, though hardly all of them, out of extreme poverty.

Still, China remains an authoritarian state without truly free expression and democratic choice, and where political dissidents and those who practice civil disobedience face harsh penalties. Meanwhile, China executes thousands of people a year and imprisons or forces labor on hundreds of thousands of others with scant due process. Finally, many groups — ethnic minorities, the disabled, and migrant workers, to name a few — remain marginalized by the state.

It’s tough to claim "all the people in the world" recognize China has made "enormous gains" in human rights when groups that monitor human rights and other outside observers continue to find problems with China’s record.

We rate the statement Mostly False.