bug: swap token controls are not fully keyboard and screen-reader accessible
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- accessibility, frontend
Hướng nghiên cứu
Bắt đầu trong src/components/transactions/Swap/inputs/ và lần theo bộ chọn token dùng chung, các điều khiển đổi hướng swap và xóa, cùng các trường nhập số tiền. Xác minh rằng các lựa chọn token phổ biến có thể được đưa vào tiêu điểm và kích hoạt bằng bàn phím, các điều khiển chỉ có biểu tượng có tên trợ năng có ý nghĩa, và các trường đầu vào/đầu ra có tên khác nhau. Hoàn tất khi các hành vi này hoạt động trên tất cả các biến thể swap dùng chung mà không cần thiết kế lại giao diện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
The shared swap UI contains several accessibility problems in the token/amount controls. The highest-impact one is in the token picker: the "Recently used & Popular" token choices are rendered as clickable Box elements with no native button semantics, tabIndex, or keyboard handler, so keyboard-only users cannot focus or activate those choices.
The same shared swap flow also contains icon-only controls without accessible names (including the input/output asset switch button and clear buttons), and the amount inputs use the same generic accessible name (amount input) for both sides of flows where both inputs are editable.
This is in the shared swap components, so it can affect multiple Aave markets and swap variants rather than one isolated screen. It is reproducible on a swap-enabled market such as Ethereum V3.
Relevant WCAG 2.2 criteria include 2.1.1 (Keyboard) and 4.1.2 (Name, Role, Value).
To Reproduce
- Open a swap flow on a swap-enabled market such as Ethereum V3.
- Open the token selector.
- If "Recently used & Popular" choices are present, navigate through the selector using only Tab / Shift+Tab.
- The popular token choices are skipped because they are click-only
Boxelements. - Inspect or use a screen reader on the swap-direction and clear icon buttons; they do not have programmatic accessible names.
- In a flow with editable input and output amounts (for example a limit-order flow), inspect the accessible names of both amount fields; both are exposed as
amount input.
Expected behavior
- Every actionable token choice should be keyboard focusable and activatable using native control semantics.
- Icon-only controls should expose concise accessible names describing their action.
- Input and output amount fields should have distinct, meaningful accessible names.
Screenshots
Not required for the source-level keyboard/semantics issue. The relevant implementation is in the shared swap components under src/components/transactions/Swap/inputs/.
Desktop (please complete the following information):
- OS: Browser/OS independent
- Browser: Modern browsers
- Version: Current
Smartphone (please complete the following information):
- Device: N/A
- OS: N/A
- Browser: N/A
- Version: N/A
Additional context
The most direct remediation is small and does not require visual redesign: use a semantic button primitive for the popular token chips and add meaningful accessible names to the shared swap controls/inputs.
- Ngôn ngữ chính
- TypeScript
- Star
- 537
- Fork
- 495
- Merge trung bình
- 1 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aave/interface
-
bug: hidden reserves are still offered as collateral swap targetsCó thể đã có người làm @shivam-V8 đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: the current market is missing from the market switcher when it is a legacy marketCó thể đã có người làm @shivam-V8 đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: market switcher search reports "No markets found" for legacy marketsCó thể đã có người làm @shivam-V8 đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Staking: "Claim all" Umbrella rewards button removed by v3 upliftCó thể đã có người làm @MrMichou đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Typo: Principle Tokens -> Principal TokensCó thể đã có người làm @Shivamd0608 đã nhận 144 ngày trước. Đang mởbug new issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aave/interface#2861 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aave/interface
Issue tương tự
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
lingdojo/kana-dojo#32590 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
bastani-inc/atomic#3703 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backend bug difficulty: medium priority: medium reliability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
trustflow-protocol/trustflow-backend#730 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
firecrawl/firecrawl-mcp-server#548 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày