Skip to content

🎨 Palette: 移除底部控制栏冗余的无障碍标签 - #75

Open
Shangjin-Xiao wants to merge 2 commits into
mainfrom
palette-ux-bottom-bar-a11y-11624313455004282606
Open

Shangjin-Xiao wants to merge 2 commits into
mainfrom
palette-ux-bottom-bar-a11y-11624313455004282606

Conversation

@Shangjin-Xiao

@Shangjin-Xiao Shangjin-Xiao commented Sep 16, 2026

Copy link
Copy Markdown
Owner
  • 💡 内容: 移除了静音、动态照片和元数据保留按钮内 Icon 的重复 contentDescription
  • 🎯 原因: 父级 IconButton 已经通过 Modifier.semantics 提供无障碍标签,内部 Icon 如果再次提供会导致屏幕阅读器重复播报,产生冗余。
  • 📸 效果: 代码级改进,无视觉变化。
  • ♿ 无障碍: 修复了屏幕阅读器的冗余播报问题,提升了无障碍体验。

PR created automatically by Jules for task 11624313455004282606 started by @Shangjin-Xiao


Summary by cubic

Removes redundant accessibility labels from the mute, motion photo, and metadata preserve buttons in the player bottom bar, and drops the android-actions/setup-android step from CI and release workflows.

The parent IconButton already provides a semantic label, so the inner Icon's contentDescription made screen readers announce the label twice. The removed CI step relied on a deprecated tools package and wasn't needed since ubuntu-latest already includes the SDK. No visual change.

Written for commit a14ba1a. Summary will update on new commits.

Review in cubic

- 💡 内容: 移除了静音、动态照片和元数据保留按钮内 `Icon` 的重复 `contentDescription`。
- 🎯 原因: 父级 `IconButton` 已经通过 `Modifier.semantics` 提供无障碍标签,内部 `Icon` 如果再次提供会导致屏幕阅读器重复播报,产生冗余。
- 📸 效果: 代码级改进,无视觉变化。
- ♿ 无障碍: 修复了屏幕阅读器的冗余播报问题,提升了无障碍体验。

Co-authored-by: Shangjin-Xiao <84136399+Shangjin-Xiao@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: b6406425-862e-4aeb-b8a2-9ca99fb0ee75


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

- 💡 内容: 移除了静音、动态照片和元数据保留按钮内 `Icon` 的重复 `contentDescription`,并移除了 `.github/workflows/ci.yml` 和 `release.yml` 中的 `android-actions/setup-android@v3` 步骤。
- 🎯 原因: 父级 `IconButton` 已经通过 `Modifier.semantics` 提供无障碍标签,内部 `Icon` 如果再次提供会导致屏幕阅读器重复播报。此外,`setup-android` 在较新环境因 `tools` 包弃用而导致 CI 失败,且 `ubuntu-latest` 已经内置了相关 SDK 环境。
- 📸 效果: 代码级改进与 CI 修复,无视觉变化。
- ♿ 无障碍: 修复了屏幕阅读器的冗余播报问题,提升了无障碍体验。

Co-authored-by: Shangjin-Xiao <84136399+Shangjin-Xiao@users.noreply.github.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