feat: cover Enter on the web for custom buttons in the accessibility skill
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 80/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- dart, flutter
- Lĩnh vực
- accessibility
Hướng nghiên cứu
Tìm tài liệu về skill trợ năng trong repository và đọc hướng dẫn hiện có về bàn phím. Cập nhật tài liệu để nêu rằng các nút và liên kết tùy chỉnh phải phản hồi phím Enter trên web, đồng thời giải thích cách kiểm thử Enter bằng ánh xạ bàn phím web của Flutter trong một bài kiểm thử widget. Hoàn tất khi cả hai yêu cầu đều được đề cập và các bước kiểm tra CI đều đạt mà không làm giảm độ bao phủ kiểm thử.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The accessibility skill does a good job on keyboard access. It steers away from pointer-only widgets and asks for controls that keyboard users can reach. One case it doesn't cover yet is custom buttons that register their own keyboard actions.
On Flutter web, Space and Enter trigger different actions. Space works for a custom button out of the box, but Enter only works if the button also handles the web-specific action. So a custom button can work with Space in the browser while Enter does nothing.
Widget tests don't catch this, because they run with the keyboard mapping of other platforms, where both keys trigger the same action. A test that presses Enter passes even when Enter is broken in the browser.
The suggestion is to add this case to the skill, so custom buttons and links are checked for Enter on the web and tested the way the web handles it.
Requirements
- The accessibility skill says custom buttons and links must respond to Enter on the web, not just Space.
- The skill explains how to test Enter with the web keyboard mapping in a widget test.
- All CI/CD checks are passing.
- There is no drop in the test coverage percentage.
Additional Context
Flutter's default web shortcuts map Space to ActivateIntent and Enter to ButtonActivateIntent. Other platforms map both keys to ActivateIntent.
- Ngôn ngữ chính
- Shell
- Star
- 180
- Fork
- 25
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 17
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 VeryGoodOpenSource/vgv-ai-flutter-plugin
-
feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#219 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue p1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#217 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#214 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#213 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p1
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#216 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của VeryGoodOpenSource/vgv-ai-flutter-plugin
Issue tương tự
-
Độ khó 1/5 Dưới một 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
-
difficulty:easy func:packaging os:linux prio:low type:bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
NatronGitHub/Natron#2027 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
julianleno/cortai#7 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
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 78/100
home-assistant/app-deconz#11 ·