Skip to content

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

Draft
leeyisoft wants to merge 2 commits into
mainfrom
fix/a11y-back-button-semantics
Draft

fix(a11y): 补齐返回按钮语义标注 + 登录历史下拉图标 tooltip#8
leeyisoft wants to merge 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,一并
收敛以消除全码库最后的字面量残留。
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