Reduced-motion guards, opt-in terminal screen-reader mode, tooltip upgrade

Đang mở
#211 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
css, typescript
Lĩnh vực
accessibility, frontend

Hướng nghiên cứu

Start with styles.css around the cited statusPulse and reduced-motion sections, HelpDialog.tsx around keybind-pulse, and the Settings and terminal-creation entry points for xterm.js. Check how arena CSS applies motion guards and how terminal options are configured. Done means the requested animations respect reduced motion and a Settings toggle enables screen-reader mode; the tooltip work is explicitly stretch scope.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement ux

Problem

Infinite animations lack prefers-reduced-motion guards in the main stylesheet. @keyframes statusPulse drives .status-dot-pulse (1.9 s infinite — potentially on many task dots simultaneously) at styles.css:1413-1424; askcode-pulse (:2263); inline keybind-pulse (HelpDialog.tsx:529-535). styles.css has exactly one reduced-motion block, covering only .projects-collapser (:977-981). The arena CSS files all guard properly — the pattern exists; the main file doesn't use it.

Terminals are silent to screen readers. No screenReaderMode anywhere in src/ — xterm.js ships an off-by-default SR mode, and the app's primary content (agent output) is unreadable by assistive tech. It costs rendering performance, so opt-in via Settings is the right shape.

All 124 tooltips are native title= with no custom tooltip component: ~1 s hover delay, never shown on keyboard focus, unstyled. IconButton funnels through a title prop consistently (which at least provides accessible names), so a single upgrade point exists.

Proposed fix

  • One @media (prefers-reduced-motion: reduce) block disabling the pulse/appear/remove keyframe animations in styles.css.
  • Settings toggle wiring xterm screenReaderMode: true into terminal creation.
  • (Stretch) small custom tooltip shown on hover and :focus-visible; aria-label fallback prop on IconButton.

From a full design/UX audit (2026-07-07); adversarially verified. Line numbers as of b342bbd (v1.12.0).

Ngôn ngữ chính
TypeScript
Star
1k
Fork
144
Merge trung bình
4 ngày 19 giờ
Pull request đã merge (30 ngày)
28

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của johannesjo/parallel-code

Tất cả issue của johannesjo/parallel-code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.