Re: You need AI/ML for that?
You don't say whether JS is required for these sites nor, if it is, whether 3rd party JS is required. In general I find that whatever other faults gov.uk sites may have (such as always apparently being in beta!) intrusive JS isn't one of them.
Until these issues are actually tested in court we don't actually know whether they're really legally enforceable or not. What, for instance, would happen if a fishing vessel couldn't get a connection for one reason or another and went to the harbour-master, not DEFRA*, to report the catch? What would happen in the event of a discrimination case brought on behalf of someone who couldn't use the benefits calculator?
*MAFF hasn't been its title for years.