callstack / callstack/react-native-paper
`overlayAccessibilityLabel` prop for Dialog component
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
**Is your feature request related to a problem? Please describe.**
The accessibility label for modals is editable via `overlayAccessibilityLabel`, which is necessary given the accessibility difficulties surrounding modals; but there is no corresponding prop on dialogs, leaving us unable to edit the default "close modal" text announced to screen readers.
**Describe the solution you'd like**
I would like to see an `overlayAccessibilityLabel` prop on `Dialog` components.
**Describe alternatives you've considered**
If some of the accessibility props of RN were exposed through `Dialog` (like `accessibilityLabel`, etc.), that might be an alternative.
**Additional context**
n/a
贡献指南
调研方向
从 Dialog 组件入口开始,将其与已经接受 overlayAccessibilityLabel 的 modal API 进行比较。确认标签如何传递到屏幕阅读器,然后实现 Dialog prop,并验证自定义标签会替换默认的“close modal”播报。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- accessibility, mobile
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100