Skip to content

[Bug] Screen reader hits unnamed, icon-only and type-named controls in Settings, Bindings, Config, Sessions and Usage #1945

Open

Description

@fire0220

Environment

  • Windows 11 (x64), OpenClaw Companion 2026.9.8-1 installed build, native WinUI tray app.
  • NVDA, laptop keyboard layout, Caps Lock as the NVDA key.
  • Code re-checked against main at a4dd026c.

Steps to reproduce

  1. Bindings page: focus the refresh button (top right). NVDA announces nothing useful, only "button".
  2. Config page: focus the save / discard row and the per-row remove buttons. Save is unnamed, remove says only "Remove item" in English from its tooltip.
  3. Usage page: scroll the provider and daily tables. NVDA reads OpenClawTray.Pages.UsagePage+ProviderRow and OpenClawTray.Pages.UsagePage+DailyRow.
  4. Sessions page: focus the session list. NVDA reads PART_ItemsView instead of a list name.
  5. Settings page: focus the eight notification checkboxes one by one. Each has a good label, but nothing says they are one group of notification preferences. The same happens with the four clipboard options in Sandbox.

Actual behavior

  • The bindings refresh button and the config save button are built from a StackPanel with an icon and a text block, so they have no accessible name.
  • Usage list rows fall back to the data type name, because ProviderRow and DailyRow do not override ToString().
  • The sessions list has no name.
  • Groups of related options are not announced as groups.

Expected behavior

Every focusable control has a name that matches its visible label, list rows read their data, and related option groups say what they are.

Root cause

  • src/OpenClaw.Tray.WinUI/Pages/BindingsPage.xaml: RefreshButton content is StackPanel { FontIcon, TextBlock }, no AutomationProperties.LabeledBy or Name.
  • src/OpenClaw.Tray.WinUI/Pages/ConfigPage.xaml: SaveButton has the same shape.
  • src/OpenClaw.Tray.WinUI/Controls/SchemaConfigEditor.xaml.cs: the remove button is icon-only and only gets a tooltip.
  • src/OpenClaw.Tray.WinUI/Pages/UsagePage.xaml.cs: ProviderRow and DailyRow (around lines 340 and 348) have no ToString(), so the list item name falls back to the type name.
  • src/OpenClaw.Tray.WinUI/Pages/SessionsPage.xaml: SessionListView (line 110) has no AutomationProperties.Name.
  • Settings notification checkboxes and Sandbox clipboard options live in plain panels. Panels have no automation peer, so setting a name on the panel would not be announced.

Proposed solution

  1. Bindings and config buttons: point AutomationProperties.LabeledBy at the visible label, the pattern already used in ConfigPage.xaml for the search box:
    AutomationProperties.LabeledBy="{Binding ElementName=RefreshButtonLabel}"
    and give the inner TextBlock x:Name="RefreshButtonLabel". Do the same for SaveButtonLabel.
  2. Schema editor remove button: set AutomationProperties.Name from the localized string and reuse it for the tooltip.
  3. Usage rows: add public override string ToString() on both row types, joining the visible columns (date, plan, usage, status). This is the cheapest fix and needs no new resource keys.
  4. Sessions list: AutomationProperties.SetName(SessionListView, ...) in the constructor, using the existing sessions heading key.
  5. Option groups: add a small AutomationGroup : StackPanel control whose automation peer reports AutomationControlType.Group and forwards its children's peers (otherwise the children disappear from the tree). Wrap the notification checkboxes and the clipboard radio buttons, and set the group name from the existing heading text, trimming the trailing colon. This gives one "group" announcement, not one per item.
  6. Tests:
    • source assertions in tests/OpenClaw.Tray.Tests for the new LabeledBy, ToString() overrides and group control usage;
    • a UI Automation proof that dumps the affected pages and asserts every focusable control has a non-empty name and no name matches \+.*Row$.

Validation plan

  • dotnet test tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj -c Debug -p:Platform=x64
  • dotnet test tests/OpenClaw.Tray.UITests --no-build -c Debug -r win-x64 --filter Category=Accessibility
  • Manual NVDA pass over Settings, Bindings, Config, Sessions and Usage.

Scope

Screen reader access only. The names should come from the existing visible labels; no translation work is requested in this issue.

Activity

  1. added
    clawsweeper:intake:bug
    P2
    clawsweeper:fix-shape-clear
    clawsweeper:queueable-fix
    clawsweeper:source-repro
    impact:ux-friction
    issue-rating: 🦞 diamond lobster
    no-stale
    and removed
    clawsweeper:intake:bug
    on Oct 31, 2026
  2. clawsweeper commented on Oct 31, 2026

    @clawsweeper

    Codex review: this still needs some work.

    Summary
    The naming repairs have landed, but current notification-group announcements remain unverified, so this issue is not demonstrably resolved.

    Reproducibility: The historical report is concrete, but current notification controls differ and no current native reproduction establishes the remaining grouping failure.

    Maintainer decision needed

    • Question: Does the current notification expander provide the preference-group context requested by this issue?
    • Recommendation: Verify current semantics: Inspect expanded notification UIA ancestry and NVDA navigation, then close if the existing controls supply clear group context.
    • Why: The original presentation has changed, and neither the existing native assertions nor inspected screenshots settles the remaining speech behavior.

    Next step
    Check expanded notification preferences with current UIA ancestry and NVDA, then establish a failing regression before repairing any missing group context.

    Review details

    Best possible solution:

    Resolve notification-group semantics against the current native UI and retain regression coverage for any missing context.

    Do we have a high-confidence way to reproduce the issue?

    The historical report is concrete, but current notification controls differ and no current native reproduction establishes the remaining grouping failure.

    Is this the best way to solve the issue?

    Reuse existing controls and localized headings, adding custom automation grouping only if native inspection demonstrates that their semantics are insufficient.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • The current notification expander may already provide adequate context, but available assertions and artifacts do not establish its UIA ancestry and NVDA announcements.

    Codex review notes: model internal, reasoning medium; reviewed against b762c8dc12a8.

    Label changes

    Label changes:

    • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
    • remove issue-rating: 🦐 gold shrimp: Current issue advisory state no longer selects this label.
    • remove clawsweeper:needs-info: Current issue advisory state no longer selects this label.

    Label justifications:

    • P2: The remaining concern affects screen-reader understanding of preferences, without a demonstrated current block to setup or core use.
    • impact:ux-friction: Missing group context makes individually named notification preferences harder to understand and navigate.
    Evidence reviewed

    Acceptance criteria:

    • ./build.ps1
    • dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore
    • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore
    • dotnet build tests/OpenClaw.Tray.UITests -c Debug -r win-x64
    • dotnet test tests/OpenClaw.Tray.UITests --no-build -c Debug -r win-x64 --filter Category=Accessibility

    What I checked:

    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

    Reviewed November 29, 2026, 12:36 AM ET / 05:36 UTC.

  3. fire0220 commented on Nov 3, 2026

    @fire0220
    Author

    Status update from the reporter: the control-naming and row-naming parts of this report now have a proposed fix.

    PR #1971 by @DonnieFi (currently open, not merged) addresses:

    • Step 1/2: Bindings Refresh, Config Save and the per-row Remove buttons get accessible names (Config Refresh already had the LabeledBy pattern).
    • Step 3: ProviderRow / DailyRow expose their visible data on the ListItem peer instead of OpenClawTray.Pages.UsagePage+ProviderRow / +DailyRow.
    • Step 4: the Sessions list is named from its heading instead of PART_ItemsView.

    So steps 1-4 appear covered by that PR, pending review. Not covered by it, and still open from this report:

    • Step 5, group announcements: the eight notification checkboxes and the four Sandbox clipboard options still have no group context.
    • NVDA speech and option-group navigation were not exercised (the PR author reports the keyboard lane at 5/7 on their host: focus after Bindings refresh landed on an in-app Close button, and the clipboard controls were disabled there), so the announcements remain unverified even after the naming repair.
    • Actual Usage scrolling and container recycling were not established.

    Two related reports are separate and still unowned: #1944 (chat message containers and repeated tool-call names) and #1946 (no announcement when an action finishes).

    Suggestion: once #1971 lands, retitle/close this as the naming + list-row work, and keep step 5 (option-group announcements) as its own issue so it does not get closed along with it. Note #1971 is currently conflicting with main.

  4. fire0220 commented on Nov 4, 2026

    @fire0220
    Author

    Correction to my previous comment: step 1 is obsolete. #1929 ("refactor: remove the Bindings page") landed on main on 2026-11-02, so src/OpenClaw.Tray.WinUI/Pages/BindingsPage.xaml no longer exists at all. PR #1971 has dropped that edit and its Bindings test, as the triage review asked.

    What that leaves from this report:

    • Steps 2-4 (Config Save / per-row Remove names, Usage ProviderRow / DailyRow data, Sessions list name) are still proposed in PR test: establish Windows accessibility baseline #1971. It was rebased onto current main, is now mergeable, and is waiting on the required CI checks before a maintainer look.
    • Step 5 (the eight notification checkboxes and four Sandbox clipboard options announced as groups) is still entirely unclaimed.

    So the scope of this issue is now steps 2-4 (covered by #1971, pending review) plus step 5 (open).

  5. added
    clawsweeper:intake:bug
    on Nov 14, 2026
  6. 1 remaining item

  7. added
    clawsweeper:needs-maintainer-review
    clawsweeper:no-new-fix-pr
    issue-rating: 🦐 gold shrimp
    and removed
    issue-rating: 🦞 diamond lobster
    clawsweeper:source-repro
    clawsweeper:queueable-fix
    clawsweeper:fix-shape-clear
    no-stale
    clawsweeper:intake:bug
    on Nov 14, 2026
  8. github-actions commented on Nov 29, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  9. added
    issue-rating: 🦪 silver shellfish
    and removed
    issue-rating: 🦐 gold shrimp
    clawsweeper:needs-info
    on Nov 29, 2026
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

    P2clawsweeper:needs-maintainer-reviewclawsweeper:no-new-fix-primpact:ux-frictionissue-rating: 🦪 silver shellfish

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions