Skip to content

Phase 1 Sprint 2+3: design system and composer a11y#76

Merged
Pterjudin merged 1 commit into
mainfrom
feat/phase1-sprint2-3-design-a11y
Jul 22, 2026
Merged

Phase 1 Sprint 2+3: design system and composer a11y#76
Pterjudin merged 1 commit into
mainfrom
feat/phase1-sprint2-3-design-a11y

Conversation

@Pterjudin

Copy link
Copy Markdown

Summary

Completes Phase 1 Sprint 2 (design system) and Sprint 3 (a11y) for the chat composer shell.

Sprint 2 — Design system

  • Activate .btn, .btn-primary, .btn-secondary, .btn-submit, .btn-stop, .input, .dropdown, .cortex-composer-shell in styles.css using --cortex-* tokens
  • Theme-aware submit button (dark: high-contrast pill; light: brand purple)
  • Replace hardcoded #030304 / bg-white in VoidChatArea with design-system classes
  • Suggested prompts use .btn-secondary + .cortex-prompt-chip
  • Add designSystem.test.ts CSS contract (4 checks) → test-phase0-qa now 92 tests

Sprint 3 — Accessibility

  • ContextUsageBar — proper role="progressbar" with aria-valuenow/min/max
  • Suggested promptsdivbutton
  • User message bubble — clickable bubble + edit control are real buttons with labels
  • Composer close (X) — button with aria-label
  • Tool headers — keyboard support (Enter/Space) + role="button" on collapsible headers

Test plan

  • npm run buildreact
  • npm run test-phase0-qa — 92 passing
  • Manual: dark + light theme — composer input, submit/stop icons readable
  • Manual: Tab to suggested prompts / edit message / tool headers; activate with Enter
  • Manual: context usage bar announced by screen reader as progressbar

Made with Cursor

Activate cortex design-system classes for buttons and composer shell, make submit/stop theme-aware, and improve keyboard/ARIA coverage in the chat composer.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 22, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@Pterjudin
Pterjudin merged commit a32111b into main Jul 22, 2026
14 of 26 checks passed
@Pterjudin
Pterjudin deleted the feat/phase1-sprint2-3-design-a11y branch July 22, 2026 22:30
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.

1 participant