Skip to content

[P3][可访问性] 全项目仅 6 处 accessibility 标注 #10

Description

@Spc-jgs

现状

本轮给字幕条的 NativeIconButton 补了 accessibilityLabel(8 个纯图标按钮
此前 VoiceOver 只会读出「按钮」),账号来源的删除按钮也补了。
但全项目 accessibility 标注仍然只有个位数。

未覆盖的主要位置:

  • 翻译浮窗 header 的 pin / close 按钮(只有 .help(),没有 label);
  • 划词气泡的 pin / close / 展开按钮;
  • AI 用量看板的图表与数据表(Charts 默认不提供有意义的
    accessibilityLabel / accessibilityValue);
  • 设置页各 section 的分组语义。

方向

  • 纯图标按钮一律补 accessibilityLabel.help() 不等于 label);
  • 图表补 accessibilityLabel + accessibilityValue,或提供等价的文本摘要;
  • 状态类文本(「同传中」「追赶中」「已被占用」)用 accessibilityValue 关联到
    对应控件,而不是各自独立朗读。

验收需要真开一次 VoiceOver 走一遍,Source 级检查不足以判定完成。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityBarrier affecting people with disabilities

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions