Overview
Checkboxes and radio buttons always require a label. Helper text can provide additional context and is the preferred place for links.
Because the label also acts as a control, placing links inside it can create usability and accessibility issues. In specific cases, links in labels may be necessary and can be used intentionally.
Recommended pattern
Keep the label focused on the choice and place supporting information and links in the helper text. This keeps the interactive areas separate and makes the relationship between the choice and supporting information clear.
Why
Clicking or tapping a label selects the checkbox or radio button. A link inside the label therefore creates two competing interactions in the same area. This can lead to accidental activation and may create additional challenges for assistive technology.
Example
Alternative pattern
In some cases, the label needs to read as a single, continuous piece of text. Since a label is required but helper text is optional, placing the link within the label can be appropriate when separating the text would make the message unclear or incomplete.
This is a less preferred pattern and should only be used when there is a clear reason to do so.
Example
When using links in labels:
- Keep the number of links to a minimum
- Make the link text clearly distinguishable
- Ensure the interaction works as intended with keyboard and assistive technology
- Use the pattern consistently within the same context
Interaction
The label and control represent a single selection. Clicking or tapping the label selects the checkbox or radio button.
Helper text provides additional information but does not change the selection behaviour.
When a label contains a link, the link becomes a separate interactive target within an otherwise selectable area. This is why the recommended pattern keeps links outside the label.
Content guidelines
Labels
Labels are required and should clearly describe what the user is selecting.
Keep labels concise and meaningful. Write the label so it makes sense as the name of the choice, rather than as supporting information.
Helper text
Use helper text for additional context, instructions, or links that support the choice.
When a link is needed, place it here whenever possible.
Links in labels
Only include links in labels when the content needs to be understood as one continuous statement and cannot reasonably be separated into a label and helper text.
Accessibility
Every checkbox and radio button must have an accessible label. This is a requirement, not an optional enhancement.
Labels should be programmatically associated with their controls and remain understandable when announced by assistive technologies.
Links inside labels require additional care because they introduce a second interactive element within the label's clickable area. The implementation must ensure that both the selection control and link remain independently operable and understandable.
When possible, keeping links in helper text reduces this complexity and provides a clearer interaction model.