I have been on court duty when mothers were being prosecuted for not sending their children to court (no sign of the father), and listened to the stories behind the truancy, which are many and wide-ranging. One woman arrived in a wheelchair, having been threatened with custody if she didn't arrive to be sentenced. She had advanced MS and her two daughters were scared she would die when they were at school - she wasn't physically able to force them to attend. She was given a conditional discharge (should have been an absolute discharge), but was put through 4 weeks of high anxiety about her daughters going into foster care. She had a pre-sentence report written by a probation officer. The court admonished the school for complaining about peristent truancy without contributing to any of the multi-agency meetings that had been attempted to try and help the family prior to court action. Social services decided to use this poor woman to challenge the neglectful school and bring some awareness to the process. I don't know whether she got more help after this - I hope so.
Other parents (usually mothers, fathers always seem to be missing) haven't got the education or parental skills to manage their children's education, and don't have a clue how to effect a change. Schools could bring in parents to help them learn the necessary skills to support their children to stay in school, if they aren't working. By the time the children get to 13 or 14, it becomes so difficult, and children could be diverted into more meaningful activities that will prepare them for work and adult life. School doesn't have to be academic - it can be vocational, craft-based, use volunteers from the community and place teenagers in suitable work situations that will grab their interest, and give them work experience.
Middle-class parents can afford the fines and never seem to end up in court. Their children are probably struggling with school, too - it's not just persistent absence because they're on holidays - schools just fine them and there is no further action.
My parents saw their three daughters as undeserving of an education once we could read, write and type, as they believed we would meet prospective husbands and not need to earn a living! However, by the time I had left school, they realised that my young brother also hated school, and were left with a bit of a dilemma. He got a bit more attention.