patternfly / patternfly/patternfly-react
Bug - Tooltip - aria prop not working correctly with VO
Chưa có ai nhận issue này.
- 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
Mô tả
Describe the problem
A clear and concise description of the problem. Which components are affected?
There is a bug in the "On icon with dynamic content" demo of Tooltip. http://patternfly-react-v5.surge.sh/components/tooltip#on-icon-with-dynamic-content
In the docs it is mentioned that you can pass aria to prevent the content from being read twice by a screenreader, however the content is still getting read twice in the example if you test with VO.
How do you reproduce the problem?
Go to the link above and navigate to the tooltip with VO.
Expected behavior
A clear and concise description of the expected behavior.
Tooltip content is read only once.
Is this issue blocking you?
List the workaround if there is one.
Not blocking, found workaround by setting role="none" on Tooltip
What is your product?
Found in ODH
Jira Issue: PF-134
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.
Hướng nghiên cứu
Bắt đầu với bản demo Tooltip "On icon with dynamic content" trên trang tài liệu PatternFly React được liên kết và kiểm tra cách truyền prop aria của nó. Tái hiện hành vi bằng VoiceOver, so sánh với cách khắc phục role="none" được tài liệu hóa và coi issue là hoàn tất khi nội dung tooltip chỉ được thông báo một lần mà không cần cách khắc phục đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react, typescript
- Lĩnh vực
- accessibility, frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100