Skip to content

fix(a11y): 补齐返回按钮语义标注 + 登录历史下拉图标 tooltip#8

Merged
leeyisoft merged 2 commits into
mainfrom
fix/a11y-back-button-semantics
Jul 17, 2026
Merged

fix(a11y): 补齐返回按钮语义标注 + 登录历史下拉图标 tooltip#8
leeyisoft merged 2 commits into
mainfrom
fix/a11y-back-button-semantics

Conversation

@leeyisoft

Copy link
Copy Markdown
Contributor

延续上一轮 /review-frontend 审查修复工作。7 项待办中 6 项已在 origin/main 上被此前会话修复。本 PR 补齐唯一真正遗漏的一项:common_bar.dart 返回按钮补 Semantics 语义标注,login_history_input.dart 下拉 IconButton 补 tooltip。测试:flutter analyze 无警告;login_history_input_test.dart 10/10 通过;common_bar_test.dart 有 6 项预置失败与本次改动无关。建议真机用 VoiceOver/TalkBack 验证。

leeyisoft added 2 commits July 8, 2026 09:08
- common_bar.dart 全局复用的返回按钮用 Semantics(button, label) 包裹,
  屏幕阅读器此前只能读到无标注的可点击区域
- login_history_input.dart 历史记录下拉 IconButton 补 tooltip
  (全码库 100 个 IconButton 中最后一个缺失 tooltip 的实例)
CLAUDE.md 要求字号/颜色一律走 FontSizeType/AppColors Token 系统;
此文件此前是最后一处仍用字面量 fontSize(12/10px)+ Colors.white70
的位置。仅 kDebugMode 下渲染的性能诊断悬浮层,不影响生产 UI,一并
收敛以消除全码库最后的字面量残留。
leeyisoft added a commit that referenced this pull request Jul 17, 2026
PR #8 原仅 zh-CN 有 loginHistoryToggle,其余 9 个 locale 缺失会导致
tooltip 回退到 key 字符串。补齐 en-US/zh-Hant/ja-JP/ko-KR/ar-SA/
de-DE/fr-FR/it-IT/ru-RU 并重新生成 slang 产物。
leeyisoft added a commit that referenced this pull request Jul 17, 2026
合并 #8,补齐通用返回按钮 Semantics 标注、
登录历史下拉 IconButton tooltip、performance_monitor 调试悬浮层字号/
颜色收敛为 Token;并为 loginHistoryToggle 补齐 9 个 locale 翻译后
重新生成 slang 产物。

本地合并验证:flutter analyze 无问题;
login_history_input_test 10/10 通过。
@leeyisoft
leeyisoft merged commit 8014b90 into main Jul 17, 2026
3 of 6 checks passed
leeyisoft added a commit that referenced this pull request Jul 17, 2026
真机(华为MRD-AL00)+mobile MCP模拟点击遍历36页,pro环境,修复12项:
- 收藏图401降级占位+errorBuilder,不再暴露DioException(#1)
- 存储占比误用千分号‰改百分比%(#3,含10语言i18n)
- 时间英文星期EEEE改MM-dd HH:mm避开en_US(#4/#9)
- 空态去除误导性重试按钮(#6:反馈/群作业/投票/文件/相册)
- 频道已订阅空态加发现频道跳转(#7)
- 聊天输入框Type a message改i18n(#8,c2c+群)
- 聊天头像resolveUser按真实uid比对(#10)
- 朋友圈裸epoch毫秒补格式化(#11)
- 群投票参与人数字段兜底total_votes(#12)
- 新注册页空态标题文案纠正(#13)
- 钱包删除腾讯服务微信克隆占位(#2)
详见 QA_PRO_CLICK_TEST_REPORT.md

Signed-off-by: leeyi <leeyisoft@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant