Schools find themselves in a difficult position over this.
I used to work in a school with a high percentage of disadvantaged children, and specifically a large proportion of Gypsy / Roma / Traveller children.
When preparing for an Ofsted inspection we knew to be due, we self[-assessed against the Ofsted criteria, as schools are required to. The criterion that attendance fell under was a limiting judgement - ie if we scored very low on that, then our overall level would be limited to our judgement for the criterion that included attendance (if that makes sense - like safeguarding: fail safeguarding, fail Ofsted, however good you are elsewhere). Our self assessment said - as the final report did - that teaching and learning were good, and behaviour was outstanding, but because our attendance percentage was low (because of the nature of our pupils), we would have ended up in special measures.
So we instituted all kinds of measures both to improve attendance, and to overtly evidence that we were doing everything that we possibly could to improve attendance. Masses of things - routines for chasing up absentees / those who were late, employing a specific TA to liaise with the GRT site, even in 1 family's case going down the legal route. Yes, and the dreaded 100% attendance certificates - awarded every half term, because we felt that short term bursts rather than a 'lost it by the second week of the year' - as well.
Our attendance did go up, and in the years since the efforts have continued, but not enough in the timeframe I'm talking about to get over the threshold for Ofsted. However, the inspector reviewed the evidence, and decided that the school had done everything it possibly could to improve the attendance. Instead of special measures, gave the school a good, which made a MASSIVE difference to the school in terms of numbers of local families choosing it, long term viability etc etc.
Attendance is high stakes for schools, because as far as I know the criterion including it is still a limiting judgement for Ofsted. It's like many things for schools - don't necessarily blame the school for e.g. SATs pressure, attendance certificates, look at the system (and the weight we attach to Ofsted grades when choosing and judging schools) that offers incentives, sometimes perverse ones, for them to behave int hat way.