Tencent / Tencent/tdesign-miniprogram
[NoticeBar] 无障碍支持
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
优先级
P0 最高,数字越小优先级越高
P1
问题描述
iOS 表现
测试机:iPhone 11Pro(iOS 15.2) + 旁白
- 视频定位00:02——行首的图标只是装饰性元素,不应该获取焦点(本组件示例有多个类似案例,不赘述)
- 视频定位00:05——最右侧带箭头的通常代表点击之后有下一级操作,不应该单独获取焦点但却无朗读。(期望效果:需要将整行作为一个焦点,并且朗读为“xxxx文案文案文案文案文案,按钮”)
- 视频定位00:08——详情未声明为按钮或链接;最右侧带关闭图标能获取焦点,但无朗读;(期望效果:详情根据实际交互声明为“按钮”或“链接”;“关闭”图标应该声明为按钮,并且可以通过点击关闭图标将公告关闭)
Android 表现
测试机:nova 5 pro,HarmonyOS 2.0.0 + 屏幕朗读<与TalkBack可能存在细小差异>
主要补充与iOS表现存在差异的地方
同iOS
参考信息
录屏:https://share.weiyun.com/lhzKOKsS
改造建议
无
改造参考示例
截图或录屏链接(参考 WeUI Web、小程序组件库、手机原生系统应用等)
无
验收标准
真机效果是无障碍改造验收通过的依据之一,请开发者在发起 pull request 时附上相应组件示例页分别在 iOS、Android下录屏效果,录屏示例及要求可分别查看 iOS录屏指引、Android录屏指引。
最终 pull request 验收通过会以 iOS、Android 两个平台都满足无障碍要求为准,同时这两个平台的录屏链接有助于加快 pull request 通过效率哦:)
常见无障碍 Q&A
其他说明
如果您准备修复此问题,请您在发起 pull request 之前先在 issue 中评论,以便其他开发者知道这个问题已经有人在跟进:)
最终激励以实际提交 pull request 并合并为准
TDesign 开发者交流群
IssueShoot
- 预估时长: 5
- 期望完成时间: 2023-4-10
- 开发难度: 中
- 参与人数: 1
- 验收标准: 实现期望改造效果,提MR并通过验收无误
- 备注: 最终激励以实际提交
pull request并合并为准
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the NoticeBar component and its example page, then reproduce the reported behavior with VoiceOver on iOS and screen reading on Android. Treat decorative icons as unfocusable, expose actionable rows and details with the correct announcement, and make the close control operable; completion requires passing accessibility checks on both platforms and attaching recordings to the pull request.
Written by the indexing model from the issue text.
Assessment
- Domain
- accessibility, frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100