Skip to content

fix: improve content page accessibility and i18n coverage - #680

Closed
jonsuguiyama wants to merge 1 commit into
ansvisor:mainfrom
jonsuguiyama:fix/content-page-a11y-i18n
Closed

jonsuguiyama wants to merge 1 commit into
ansvisor:mainfrom
jonsuguiyama:fix/content-page-a11y-i18n

Conversation

@jonsuguiyama

Copy link
Copy Markdown

Summary

  • Adds aria-label to the icon-only dismiss and view-details row actions, and labels the search input, using the existing dismiss / viewDetails translation keys.
  • Replaces hardcoded strings ({total} Available, Done, Send, No opportunities match your filters., the four KPI subtexts) with i18n keys, adding the few missing ones to the content namespace.

Fixes #665

Test plan

  • tsc --noEmit - clean
  • eslint on the changed file - clean
  • vitest run - 80/80 passing
  • Manually verified in a running browser - not done, the app needs Supabase and other env vars not set up in this environment

Note: content.noPromptsHint stays unused. Wiring it in would need a way to tell "no prompts yet" apart from "no opportunities yet," which this page doesn't track today; that felt like a separate issue from what's described here.

Verified with tsc --noEmit, eslint, and the existing test suite
(80/80 passing). Not manually verified in a running browser: the
app needs Supabase and other env vars not set up in this environment.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Welcome to Ansvisor, and thank you for your first PR! A maintainer will be by soon to review.

In the meantime, two things that make review faster:

  • A short description of why the change matters, not just what it does — most of our PRs link a Fixes #... to the issue that explains the why.
  • A quick local test note if there's anything worth eyeballing in the browser.

If you'd like to keep an eye on where Ansvisor goes next, a ⭐ on the repo helps others discover it (and Watch sends you a ping when related issues land). Either way — looking forward to your next one.

@gkhngyk

gkhngyk commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Thanks for this — it's solid work. #679 landed on the same issue about an hour earlier with near-identical scope, and it reuses the existing translation keys (common.search, status.done) where this branch mints new ones, which is what #665 asked for — so we're going with that one. Closing here.

The en.json indentation fix you caught is real though — that's worth its own tiny PR if you'd like to send it. Hope to see you on another issue soon.

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.

Content: icon-only row actions lack accessible names; several strings bypass existing i18n keys

2 participants