Do not remove the link underline unless there is a strong visual cue.
The requirement (from the design system site)
Do not remove the link underline unless there is a strong visual cue.
Why it matters to users
Someone with colour blindness or low vision cannot spot a link inside a paragraph when only its colour differs. They miss the link to the form or the conditions the paragraph refers to, and go looking elsewhere.
How to fix it
Keep the underline on links inside body text, or use gup-link, and remove it only where another strong visual cue replaces it, such as bold text or a colour with at least 3:1 contrast against the surrounding text. Then scan again.
How we measure it
For links in running text (sharing a p or li with other words; not header/footer/nav, not standalone list navigation), pass on a computed underline or bottom border, else on a bold weight (600+) or 3:1 contrast against the surrounding text. Confidence is lowered when fewer than 3 such links are found.
The rule on the design system site