Question: do villagers need light to breed?
Answer: Yes, its one of the conditions, they need directly a skylight on them. It's the doors not the villagers that need light. But lack of light could mean some of the doors aren't valid, which would prevent breeding.