Is the Hong Kong facemask ban a human rights violation?

A facemask ban is the latest move by the authorities in Hong Kong to deal with the violence that has rocked the city in recent months. 

But some people are saying the ban violates people's human rights and are asking whether it is legal.