Skip to content

feat: add accessible 'Why this API?' rationale on ApiCard#321

Merged
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
Jagadeeshftw:issue-292
Jun 29, 2026
Merged

feat: add accessible 'Why this API?' rationale on ApiCard#321
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
Jagadeeshftw:issue-292

Conversation

@Jagadeeshftw

Copy link
Copy Markdown
Contributor

Closes #292.

Adds a new WhyApi component that surfaces why an API was recommended. It derives a short list of reasons from the API's existing metrics (rating, uptime, latency, price, category) and reveals them via a native disclosure pattern (aria-expanded + aria-controls), keeping it keyboard-operable and screen-reader friendly per WCAG 2.1 AA. It is rendered on ApiCard in comfortable density and omitted from compact rows.

@greatest0fallt1me greatest0fallt1me merged commit c341158 into CalloraOrg:main Jun 29, 2026
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 accessible 'Why this API?' rationale on ApiCard

2 participants