🎨 Palette: Link screen reader labels to inputs - #425
🎨 Palette: Link screen reader labels to inputs#425google-labs-jules[bot] wants to merge 3 commits into
Conversation
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Review: 🎨 Link screen reader labels to inputsWhat this PR does: Adds Overall assessment: The intent is right, and the XAML technique is correct ( 🔴 Blocking issues1. Accessibility regression — both hotkey controls lose their specific accessible names Both The fix is one of:
2. Wrong date in The new entry is dated ✅ What's correct
@jules please address the issues noted above |
I have addressed the blocking issues. I removed the |
Review — PR #425 (synchronize)What this PR does (current commits): The PR title and body describe adding Thread resolution
Remaining issue (blocking)
The new entry tells future contributors to explicitly link controls to section headers via The XAML and C# changes are otherwise clean and raise no correctness, security, or threading concerns. @jules please address the issues noted above |
Review PR 425 (synchronize)What this PR does: The title and body describe adding AutomationProperties.LabeledBy to the hotkey controls. In practice the current code contains no such addition — the XAML changes are pure cosmetic reformatting (multi-line attributes for the hotkey ComboBox, TextBlock, and TextBox). The only substantive change is the new .jules/palette.md entry. Thread resolution: Both prior threads are now resolved. The LabeledBy accessibility regression thread (PRRT_kwDORLRSls6NkDxK) is resolved because LabeledBy is absent from the current code — the regression no longer exists. The wrong-date thread (PRRT_kwDORLRSls6NkD6D) is resolved because the date is now 2026-07-01 and GitHub had already marked it outdated. Remaining issue (blocking): .jules/palette.md lines 25-26 capture the inverse of the lesson actually learned. The Learning and Action lines instruct future contributors to explicitly link controls to section headers via LabeledBy — which is exactly the anti-pattern reverted in this PR. The correct lesson: LabeledBy pointing to a shared section header overrides per-control .resw names and harms accessibility; rely on x:Uid-driven AutomationProperties.Name from .resw when descriptive per-control names are already present; use LabeledBy only with a dedicated per-control visible label element (the IconSizeLabel + IconSizeCombo pattern is the right model). See the inline comment on palette.md for details. The XAML and C# changes are otherwise clean — no correctness, security, or threading concerns. @jules please address the issues noted above |
I have updated the entry in |
I have updated the entry in |
Thread ResolutionThread resolved: The palette.md Code ReviewWhat this PR doesAfter review feedback on the original commit (which added
Assessment: ✅ ApprovedThe code is correct. The original accessibility regression was reverted, and the existing Observations (non-blocking)
No blocking issues. The accessibility concern from the previous review is correctly not implemented. |
💡 What: Added AutomationProperties.LabeledBy to Hotkey inputs.
🎯 Why: Improves screen reader support.
♿ Accessibility: Screen readers will now announce the 'Hotkey' label for the Modifier ComboBox and Key TextBox.
PR created automatically by Jules for task 2102851808157902841 started by @mikekthx