Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Alert: Allow multiple links in alert guidance#6166

Draft
babsdenney wants to merge 5 commits into
mainfrom
6038-alert-links
Draft

Alert: Allow multiple links in alert guidance#6166
babsdenney wants to merge 5 commits into
mainfrom
6038-alert-links

Conversation

@babsdenney
Copy link
Copy Markdown
Contributor

@babsdenney babsdenney commented Apr 22, 2026

Summary

Add guidance permitting more than one link in an alert when valid secondary actions exist (example: Sign-in alert with primary "Sign in" and secondary "Create an account"). Also tidy link-related guidance by removing a redundant clause about standard links often being secondary and appearing alongside buttons for clearer wording.

Related Issue

Closes #6038

Preview Environment Links

Open Preview Environment

Add guidance permitting more than one link in an alert when valid secondary actions exist (example: Sign-in alert with primary "Sign in" and secondary "Create an account"). Also tidy link-related guidance by removing a redundant clause about standard links often being secondary and appearing alongside buttons for clearer wording.
@babsdenney babsdenney self-assigned this Apr 22, 2026
Copilot AI review requested due to automatic review settings April 22, 2026 22:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Alert component guidance to clarify that multiple links can be used when there’s a clear primary action plus valid secondary actions, reducing ambiguity for content authors and product teams.

Changes:

  • Adds explicit guidance allowing more than 1 link in an alert when secondary actions are appropriate (with a Sign-in alert example).
  • Simplifies existing “don’t bold standard links” guidance by removing a redundant clause.

Comment thread src/_components/alert/index.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Clarified guidelines for using multiple links in alerts, emphasizing acceptable variations and the use of secondary action links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify guidance on number of hyperlinks allowed in alert banners

2 participants