Skip to content

Expose the active order view to assistive technology - #770

Draft
luokerenx4 wants to merge 1 commit into
devfrom
codex/label-order-view-state
Draft

Expose the active order view to assistive technology#770
luokerenx4 wants to merge 1 commit into
devfrom
codex/label-order-view-state

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

Summary

  • label the Open / History / Trades controls as an Order views button group
  • expose the current view with aria-pressed and connect each control to its content region
  • give the active content region a view-specific accessible name without changing visual styling or loading behavior

Evidence

On the Demo Portfolio account, the accessibility tree exposed Open (0), History, and Trades as three ordinary buttons. The selected view was conveyed only by color, so non-visual users could not determine which order dataset was currently displayed.

Verification

  • pnpm vitest run ui/src/pages/UTADetailPage.orders-tabs.spec.tsx (1 passed)
  • cd ui && npx tsc -b
  • npx tsc --noEmit
  • pnpm test (3389 passed, 9 skipped)
  • real Demo route: initial Open (0) reports pressed with an Open orders region; after selecting History, Open reports false, History reports true, and the region is named Order history

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Ready Ready Preview, Comment Jul 28, 2026 11:03pm

Request Review

@luokerenx4 luokerenx4 added area:trading UTA, orders, positions, portfolio, or trading review theme:accessibility Keyboard, assistive technology, or interaction semantics workflow:parallel Autonomous parallel contribution; leave open for later acceptance labels Jul 29, 2026 — with ChatGPT Codex Connector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:trading UTA, orders, positions, portfolio, or trading review theme:accessibility Keyboard, assistive technology, or interaction semantics workflow:parallel Autonomous parallel contribution; leave open for later acceptance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant