Skip to content

Announce external link targets for screen readers - #131

Merged
amrabed merged 1 commit into
mainfrom
palette/external-links-a11y-9315154077565939008
Aug 25, 2026
Merged

Announce external link targets for screen readers#131
amrabed merged 1 commit into
mainfrom
palette/external-links-a11y-9315154077565939008

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

🎨 Palette: Accessibility enhancement for external links

💡 What

Explicitly notify screen reader users when external links open in a new tab/window across IconLink (src/components/icon-link.tsx), Social (src/components/social.tsx), and SectionItemCard (src/components/section-item-card.tsx).

🎯 Why

When users navigating with screen readers focus on external links (such as project links, publication links, social profile buttons, or experience cards), they were not informed that navigating the link would open a new tab. Providing (opens in a new tab) notices follows WCAG guidelines and improves interface predictability.

♿ Accessibility

  • Updated aria-label in IconLink to ${title} (opens in a new tab).
  • Updated aria-label in Social to ${profile.name} (opens in a new tab).
  • Added <span className="sr-only"> (opens in a new tab)</span> inside SectionItemCard's anchor element.
  • Updated unit test assertions in src/components/components.test.tsx and src/components/publication.test.tsx.

PR created automatically by Jules for task 9315154077565939008 started by @amrabed

Explicitly notify screen reader users when external links open in a
new tab/window by updating ARIA labels in IconLink and Social, and
adding visually hidden text in SectionItemCard. Update unit tests to
match new accessibility labels.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
amrabed-github-io Ready Ready Preview Aug 25, 2026 4:34am

@amrabed amrabed changed the title 🎨 Palette: announce external link targets for screen readers Announce external link targets for screen readers Aug 25, 2026
@amrabed
amrabed marked this pull request as ready for review August 25, 2026 10:39
@amrabed
amrabed merged commit 3e6133a into main Aug 25, 2026
6 checks passed
@amrabed
amrabed deleted the palette/external-links-a11y-9315154077565939008 branch August 25, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant