That said, good call on pointing out the "Gov.uk design system"—searching for this brought up a lot of good talks, which might be part of what I'm remembering:
https://obyford.com/posts/inclusive-forms/ https://www.designsystemtalks.com/talks/accessibility-in-the... https://www.youtube.com/watch?v=wprWuTvhec4