The UK government has been accused of breaching the human rights of more than 2,000 patients with learning disabilities and autism who remain detained in hospitals.

The Equality and Human Rights Commission (EHRC) has launched a legal challenge against health secretary Matt Hancock over the government’s “repeated failure” to move hundreds of people out of institutional care.