I don’t know if you want the correct answer or to debate the question.
This is my opinion.
The legal rights of a carer are the same as they would be to any citizens in this country.
This means the carer will have the protection of all the policies, procedures and government acts they would , if they were supporting an individual fortunate enough not to have dementia.
If we look at:
The Health and Safety at Work Act 1974 (HASAWA) lays down wide-ranging duties on employers. Employers must protect the 'health, safety and welfare' at work of all their employees, as well as others on their premises, including temps, casual workers, the self-employed, clients, visitors and the general public.
Some people will be employed to care for people who wish to hit them.
This is dealt with by risk assessment and training.
There are also a host of policies and procedures to deal with this but they do not discriminate against people with dementia.