Skip to main content

Do not use links in aria-described areas like hint text

Areas of GOV.UK component that use aria-described such as hint text are designed to be a single paragraph of text. Changing this can cause accessibility issues.

Typical example that causes barriers

This example can happen when a question is ‘one thing per page’ or if multiple things are on a page.

Contents

Hints (information between the input legend and the input field) must be simple without complex formatting or links. If extra formatting like lists and links are put in the hint area between an input legend and the input, a screen reader may not read them correctly.

Contents

Hints within input fields will not be read by the screen reader

Improved version

Contents

Simple hints will be read out as expected by screen readers. If the input needs significant guidance and links, it should be rewritten as a complex question.