Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

MenuToggle - add aria-invalid and aria-autocomplete

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

Chưa có ai nhận issue nà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
68/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ệ
react, typescript
Lĩnh vực
accessibility, frontend

Hướng nghiên cứu

Bắt đầu với component MenuToggle, các ví dụ và template của nó, tập trung vào các biến thể basic, split-button và typeahead. Cập nhật các phần tử được render liên quan để trạng thái danger cung cấp aria-invalid và các input typeahead cung cấp aria-autocomplete="list"; hoàn tất khi các ví dụ và hành vi của component phản ánh các thuộc tính này.

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

Mô tả

A11y PF Team Stale

Describe the enhancement or change
Per https://github.com/patternfly/patternfly/issues/6562#issuecomment-2839684312:

  • MenuToggle should be updated to apply aria-invalid="true" when the status is danger for non-typeahead/plain toggles (basic toggles and split button toggles). If there are any typeahead examples showing status, those should be updated to apply the aria-invalid to the input element.

  • For typeahead variants, examples and templates should be updated so that aria-autocomplete="list" is applied to the text input being used as the typeahead input.

Is this request originating from a Red Hat product team? If so, which ones and is there any sort of deadline for this enhancement?

Any other information?


Jira Issue: PF-1732

Ngôn ngữ chính
TypeScript
Star
862
Fork
392
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
9

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 patternfly/patternfly-react

Tất cả issue của patternfly/patternfly-react

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.