Skip to content

Add aria-label to repeated source card links - #55

Open
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-47-aria-label-source-links
Open

Add aria-label to repeated source card links#55
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-47-aria-label-source-links

Conversation

@claude

@claude claude Bot commented Jun 16, 2026

Copy link
Copy Markdown

Fixes #47

What changed

Added aria-label attributes to the four project card "source" links in demo/index.html:

  • aria-label="dotfile-sync source code on GitHub"
  • aria-label="minimal-tab source code on GitHub"
  • aria-label="deploy-pipe source code on GitHub"
  • aria-label="weather-api source code on GitHub"

Visible link text remains "source" — only the accessible name changes.

Why

Screen reader users navigating by link list encountered four identical "source" entries with no way to distinguish which project each referred to. This violated WCAG 2.4.4 Link Purpose (In Context), Level A.

How to verify

Open demo/index.html with a screen reader (e.g. NVDA + Chrome or VoiceOver + Safari) and use the links list shortcut. Each "source" entry should now read the project name in addition to "source".

Each project card had an identical visible "source" link with no
distinguishing accessible name, violating WCAG 2.4.4 Link Purpose
(In Context), Level A. Added aria-label with the project name to
each link so screen reader users can tell them apart.

Fixes #47
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.

Add aria-label to repeated "source" card links to distinguish them for screen readers

0 participants