Native: map aria-description to accessibilityHint
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
- 69/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, react, react-native
- Lĩnh vực
- accessibility, mobile
Hướng nghiên cứu
Start by reading react-strict-dom's native prop handling and the mapping for aria-label to accessibilityLabel, then check the native prop allowlist. Add coverage for aria-description on an html.button and confirm it reaches React Native as accessibilityHint; done means the hint is preserved on native while the web behavior remains appropriate.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the feature request
On native, there is no way to give an html.* element an accessibility hint (iOS accessibilityHint, read by VoiceOver after the element's name; Android TalkBack reads it too).
The web counterpart is aria-description (or aria-describedby). Today react-strict-dom 0.0.55's native prop handling keeps neither: aria-description is not mapped, and accessibilityHint passed directly is dropped by the native prop allowlist, so a component built on html.button cannot carry a hint.
Proposal: map aria-description (a string) to accessibilityHint on native, the way aria-label maps to accessibilityLabel.
Use case: a design system's Tooltip on touch devices. With no hover, the tooltip text is never drawn; the accessible equivalent is the trigger's hint. Without the mapping, each trigger has to swap its html.button host for a React Native Pressable just to set accessibilityHint, which loses react-strict-dom's styling and press handling on that host.
Version
react-strict-dom 0.0.55, React Native 0.81.5 (Expo SDK 54).
- Ngôn ngữ chính
- JavaScript
- Star
- 3.6k
- Fork
- 208
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 react/react-strict-dom
-
Outline styles aren't parsed in React NativeCó thể đã có người làm @hoangvvo đã nhận 152 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
react/react-strict-dom#467 · 1 bình luận ·
-
Missing disabled propĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
react/react-strict-dom#465 · 2 bình luận ·
-
postcss plugin re-transforms every included file on each rebuild under Turbopack (minutes-long HMR in large projects)Có thể đã có người làm @borisyankov đã nhận 21 ngày trước. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
react/react-strict-dom#520 ·
-
css.defineVars() with kebab-case keys warns unrecognized custom property and fails to resolveĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
react/react-strict-dom#505 · 2 reaction ·
-
Button remains unclickable after disabled state changesCó thể đã có người làm @MoOx đã nhận 135 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
react/react-strict-dom#491 · 4 bình luận ·
Tất cả issue của react/react-strict-dom
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
nodejs/node#66743 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OWASP/cve-lite-cli#1335 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Channels status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
mastra-ai/mastra#27093 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
category/development priority/P1 scope/ci-cd scope/testing status/ready-for-agent type/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
QwenLM/qwen-code#14225 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100