patternfly / patternfly/patternfly-react
Bug - Form(FormGroup) - VoiceOver is not reading mandatory checkboxes and radio buttons as mandatory
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 862
- 派生
- 392
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 9
描述
Describe the problem
VoiceOver is not correctly announcing mandatory checkboxes and radio buttons as required within the FormGroup component even when isRequired prop is used.
How do you reproduce the problem?
-
Navigate to a page using the Forms > Form component that includes required checkboxes or radio buttons(Add isRequired to FormGroup).
-
Enable VoiceOver on macOS.
-
Move focus to the group of checkbox or radio buttons including their label.
-
Observe that VoiceOver does not announce them as "required" or "mandatory."
Expected behavior
VoiceOver should announce mandatory checkboxes and radio buttons as “required” when they are marked as such, ensuring that screen reader users are aware of which fields must be filled.
Screenshots
What is your environment?
-
OS: iOS 5.7.1
-
Browser: Chrome Version 141.0.7390.54 (Official Build)
Jira Issue: PF-2900
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 FormGroup 组件开始,使用 macOS 上的 VoiceOver 重现必需复选框或单选按钮的情况。检查 isRequired prop 如何传递给组及其标签,然后验证修复完成后 VoiceOver 会将这些控件播报为必需。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- accessibility, frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100