Skip to content

fix: stop the example cards from overriding their own link role - #42

Open
thejesh23 wants to merge 1 commit into
Nutlope:mainfrom
thejesh23:fix/example-cards-not-exposed-as-links
Open

fix: stop the example cards from overriding their own link role#42
thejesh23 wants to merge 1 commit into
Nutlope:mainfrom
thejesh23:fix/example-cards-not-exposed-as-links

Conversation

@thejesh23

Copy link
Copy Markdown

Fixes #41

role="listitem" on the fourteen <a class="ex-card"> elements replaced their implicit link role, so assistive tech announced them as list items and left them out of the links rotor.

Drops the ARIA list roles; the rail keeps its label via role="group". Markup and CSS are otherwise untouched.

Accessibility tree after the change:

link "Open the Bubble example, a guided sourdough app, Hum, in a new tab" href="examples/hum-07/"
link "Open the Mend Assembly example, a repair-café manifesto poster, custom, in a new tab" href="examples/custom-04/"

Each card in the examples rail is an <a href> carrying role="listitem",
which replaces the implicit link role. Assistive tech announced the
fourteen cards as plain list items, and they were missing from the
links rotor. Dropping the ARIA list roles restores link semantics; the
rail keeps its label via role="group".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

@thejesh23 is attempting to deploy a commit to the Together AI Team on Vercel.

A member of the Team first needs to authorize it.

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.

Example cards are not exposed as links to assistive tech

1 participant