Some UK schools are restricting the use of toilets both in lesson and break time.
When I was at school you raised your hand and asked to go, the teacher said yes, you went, you came back. End of story. And there were breaks between classes too, so you could nip in then. I never saw any problem with this. It all worked fine.
I assume schools in their ongoing battle to
subdue teach children have decided some children are abusing the privilege right to go to the toilet when they need to. As we all know, children are terrible at knowing when they need to go, and hopeless at planning, even as teenagers; and of course when children start menstruating that can strike at any time! Nothing worse than feeling that sudden trickle of blood and knowing you need the loo trip NOW!
My opinion, and what's the point of being an old woman online if you can't have opinions! Is that children should be allowed to go to the toilet when they damn well please. Will the entire class rush out to the loo at once? maybe; and here I shrug, because teachers...this is on you. It's your job to keep the class entertained and engaged enough to learn.
Children should want to be in your class, they should excitedly hope you are going to do that fun thing you do, tell a joke like you do, have a pop test with prizes, ask a class member to stand up and teach for five minutes, whatever your class loves you should be using to entrance them. Children should be hoping they don't need the loo in your class because your class is great! And headteachers should be supporting you in that, with time, with resources, and with faith in your teaching. And the government should be supporting all of that too!
Stop worrying about toilets. Start thinking about teaching so no one wants to miss it.