ComboboxInputTrigger puts the combobox states on a role-less div
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- ruby
- Lĩnh vực
- accessibility, frontend
Hướng nghiên cứu
Start on the 2.0 line with combobox_input_trigger.rb and compare the current markup with snapshot combobox/input_trigger. Run the golden HTML suite or inspect the combobox/* snapshots, then re-record them after the input owns the combobox states and review the resulting diff.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- Where:
combobox_input_trigger.rb:aria-expandedandaria-haspopup="listbox"on the wrapperdiv; the<input>has norole="combobox",aria-controlsoraria-activedescendant. Snapshotcombobox/input_trigger. - Effect: ARIA 1.2 puts those states on the element with the combobox role; on a role-less div they are not conveyed, and the listbox relationship is never announced.
- Fix: move
role: "combobox",aria-haspopup,aria-expandedandaria-controlsonto the input; re-recordcombobox/*.
Surfaced by the strict lane of the golden HTML suite (PR #548), which pins what 1.6 renders today — this defect included. Per maintainer decision (2026-09-19) main stays as is: this is addressed on the 2.0 line, and the golden snapshots that pin it are re-recorded there with the diff reviewed.
Source: design/v2/follow-up-issues.md.
- Ngôn ngữ chính
- Ruby
- Star
- 1k
- Fork
- 67
- Merge trung bình
- 2 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 18
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 ruby-ui/ruby_ui
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
-
bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 35/100
Tất cả issue của ruby-ui/ruby_ui
Issue tương tự
-
user-reported
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Kong/developer.konghq.com#7316 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
notch8/utk_knapsack#148 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Homebrew/homebrew-cask#288729 · 1 bình luận ·
-
Test `FileUtils.options_of` Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100