A taxi driver must ask passengers if they are suffering from plague or smallpox.

This is part of the Public Health (Control of Disease) Act 1984, sections 33 and 34: Public Conveyances. The taxi driver has a right to refuse anyone who may have a notifiable disease, or they may elect to transport you and then immediately disinfect their vehicle (unlike a bus driver, who must refuse you altogether)….