Skip to content

🎨 Palette: Enhance accessibility and semantics for Appbar and Modal icon buttons - #120

Open
google-labs-jules[bot] wants to merge 2 commits into
mainfrom
jules-palette-a11y-appbar-modal-icon-buttons-16802941000691054806
Open

🎨 Palette: Enhance accessibility and semantics for Appbar and Modal icon buttons#120
google-labs-jules[bot] wants to merge 2 commits into
mainfrom
jules-palette-a11y-appbar-modal-icon-buttons-16802941000691054806

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

💡 变更内容(What):
CustomAppbar 的返回按钮以及 TaskCreationPage Modal Sheet 顶部的关闭按钮与新建任务按钮添加了 Semantics 语义包裹与 Tooltip 悬停提示。

🎯 解决痛点(Why):
此前这些仅包含 Icon 的按钮缺少显式 Semantics 标签与 Tooltip 提示,对于屏读设备使用者(如 TalkBack / VoiceOver)及鼠标悬停/长按用户不够直观与无障碍友好。

♿ 无障碍提升(Accessibility):

  • CustomAppbar: 增加了 Semantics(label: '返回', button: true)GlassIconButton(tooltip: '返回')
  • TaskCreationPage: 增加了 Semantics(label: '关闭', button: true)Tooltip(message: '关闭')Semantics(label: '新建任务', button: true)Tooltip(message: '新建任务')

PR created automatically by Jules for task 16802941000691054806 started by @DylanBolin42

@google-labs-jules

Copy link
Copy Markdown
Contributor Author

👋 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.

@github-actions

Copy link
Copy Markdown

❌ Flutter CI

Check Result
Format & Analyze
Tests & Coverage
Build Android Check

View workflow run

📊 TODO Summary Report

Total TODOs found: 13

📋 Click to expand TODO Details (13)

📂 Files with TODOs:

File Path TODO Count
lib/pages/AppShell/app_shell.dart 1
lib/pages/SettingPage/subSettingPage/aiSetting/ai_setting_page.dart 1
lib/pages/SettingPage/subSettingPage/focusSetting/focus_setting_page.dart 6
lib/pages/SettingPage/subSettingPage/notificationSetting/notification_setting_page.dart 2
lib/pages/SettingPage/subSettingPage/planningSetting/planning_setting_page.dart 1
lib/pages/SettingPage/subSettingPage/storageSetting/storage_setting_page.dart 1
lib/pages/SettingPage/subSettingPage/syncSetting/sync_setting_page.dart 1

🔍 Details:

lib/pages/AppShell/app_shell.dart (1)
  • 添加功能 (line 34)
lib/pages/SettingPage/subSettingPage/aiSetting/ai_setting_page.dart (1)
  • 接入TextField持久化逻辑 (line 45)
lib/pages/SettingPage/subSettingPage/focusSetting/focus_setting_page.dart (6)
  • 创建切换和存储逻辑 (line 47)
  • 添加逻辑和存储 (line 57)
  • 添加逻辑和存储 (line 61)
  • 添加白名单页面 (line 67)
  • 添加渲染引擎描述和建议 (line 130)
  • 可以适当添加商标icon (line 131)
lib/pages/SettingPage/subSettingPage/notificationSetting/notification_setting_page.dart (2)
  • 这里需要绑定时间 (line 114)
  • 这里需要绑定时间 (line 120)
lib/pages/SettingPage/subSettingPage/planningSetting/planning_setting_page.dart (1)
  • 添加说明description的默认颜色(浅灰,与SettingTile保持一致) (line 67)
lib/pages/SettingPage/subSettingPage/storageSetting/storage_setting_page.dart (1)
  • 补充显示逻辑 (line 42)
lib/pages/SettingPage/subSettingPage/syncSetting/sync_setting_page.dart (1)
  • 将颜色设为和其他一致 (line 333)

@github-actions

Copy link
Copy Markdown

✅ Flutter CI

Check Result
Format & Analyze
Tests & Coverage
Build Android Check

View workflow run

📊 TODO Summary Report

Total TODOs found: 21

📋 Click to expand TODO Details (21)

📂 Files with TODOs:

File Path TODO Count
lib/pages/AppShell/app_shell.dart 2
lib/pages/InboxPage/inbox_page.dart 5
lib/pages/SettingPage/subSettingPage/aiSetting/ai_setting_page.dart 1
lib/pages/SettingPage/subSettingPage/focusSetting/focus_setting_page.dart 6
lib/pages/SettingPage/subSettingPage/notificationSetting/notification_setting_page.dart 2
lib/pages/SettingPage/subSettingPage/planningSetting/planning_setting_page.dart 1
lib/pages/SettingPage/subSettingPage/storageSetting/storage_setting_page.dart 1
lib/pages/SettingPage/subSettingPage/syncSetting/sync_setting_page.dart 1
lib/router/app_router.dart 1
lib/theme/m3e_bridge.dart 1

🔍 Details:

lib/pages/AppShell/app_shell.dart (2)
  • 修改为WoltModalSheet以增强可读性 (line 47)
  • 顶部Row取消中心切换,将按钮组写入ModalSheet的action区域 (line 57)
lib/pages/InboxPage/inbox_page.dart (5)
  • 需要添加真实查询逻辑 (line 69)
  • 改为真实用户名 (line 137)
  • 添加背景装饰和字体,以及接入真实逻辑 (line 173)
  • 添加背景装饰和字体 (line 211)
  • 需要在接入数据库后对接 (line 315)
lib/pages/SettingPage/subSettingPage/aiSetting/ai_setting_page.dart (1)
  • 接入TextField持久化逻辑 (line 44)
lib/pages/SettingPage/subSettingPage/focusSetting/focus_setting_page.dart (6)
  • 创建切换和存储逻辑 (line 46)
  • 添加逻辑和存储 (line 56)
  • 添加逻辑和存储 (line 60)
  • 添加白名单页面 (line 66)
  • 添加渲染引擎描述和建议 (line 129)
  • 可以适当添加商标icon (line 130)
lib/pages/SettingPage/subSettingPage/notificationSetting/notification_setting_page.dart (2)
  • 这里需要绑定时间 (line 113)
  • 这里需要绑定时间 (line 119)
lib/pages/SettingPage/subSettingPage/planningSetting/planning_setting_page.dart (1)
  • 添加说明description的默认颜色(浅灰,与SettingTile保持一致) (line 66)
lib/pages/SettingPage/subSettingPage/storageSetting/storage_setting_page.dart (1)
  • 补充显示逻辑 (line 41)
lib/pages/SettingPage/subSettingPage/syncSetting/sync_setting_page.dart (1)
  • 将颜色设为和其他一致 (line 332)
lib/router/app_router.dart (1)
  • 存在多端渲染策略问题,移动端动画正常,但是桌面端出现短暂背景渲染失败问题,需要解决或抑制 (line 94)
lib/theme/m3e_bridge.dart (1)
  • 需要被抽象进theme.dart (line 90)

@DylanBolin42 DylanBolin42 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

可以
@coderabbitai review

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