fix(a11y): 补齐返回按钮语义标注 + 登录历史下拉图标 tooltip#8
Draft
leeyisoft wants to merge 2 commits into
Draft
Conversation
- 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,一并 收敛以消除全码库最后的字面量残留。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
延续上一轮 /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 验证。