Skip to content

fix(platform): a11y polish — aria-live, captions, touch targets (#1980) - #2477

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/fix-1980-a11y-polish-6542
Jul 4, 2026
Merged

cursor[bot] merged 2 commits into
mainfrom
cursor/fix-1980-a11y-polish-6542

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Summary

Fixes #1980 — all three items:

  • aria-live for new notifications — a polite sr-only live region in NotificationListPanel announces newly-arrived notifications (baseline on first render so the existing list isn't announced; load-more/mark-read don't announce), following the voice-output-announcer pattern.
  • DataTable <caption>s — the shared DataTable already renders an sr-only <caption>; passed one on the agents and documents lists.
  • 44px mobile touch targets — EditorActions Save/Discard get max-sm:min-h-11 max-sm:min-w-11 (44px) below sm, where they collapse to icon-only; desktop size unchanged.

Checklist

  • bun run check — type-aware lint (0/0), typecheck clean, test:ui (23, incl. caption/touch-target/announcer tests) + i18n (47) passing.
  • lint:sast — N/A (Opengrep not cached).
  • Translations — added notifications.newNotifications, settings.agents.tableCaption, documents.tableCaption to en/de/fr.

Test plan

With a screen reader, receive a new notification (announced), inspect the agents/documents tables (captioned), and check the mobile Save/Discard hit targets are ≥44px.

Open in Web Open in Cursor 

@cursor
cursor Bot marked this pull request as ready for review July 4, 2026 10:51
@cursor
cursor Bot merged commit 3acbb1c into main Jul 4, 2026
24 checks passed
@cursor
cursor Bot deleted the cursor/fix-1980-a11y-polish-6542 branch July 4, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants