Skip to content

[BUG] SecureCheckboxCard toggle switches have no accessible names for screen readers #5430

Description

@keyang556

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

2026.3.0

Windows version, edition, and architecture

Windows 11 x64

Describe your issue

Several settings implemented using SecureCheckboxCard have no accessible name on their focusable toggle switch.
When navigating with screen readers and the Tab key, screen readers only announces:
toggle button, not pressed
instead of announcing the name of the setting.
This affects all current uses of SecureCheckboxCard, including settings such as:

  • Allow custom command-line arguments
  • Ignore custom pre-install and post-install commands when importing packages from a bundle
  • Allow changing the paths for package manager executables
  • Allow importing custom command-line arguments when importing packages from a bundle
  • Allow importing custom pre-install and post-install commands when importing packages from a bundle
  • Use installed GSudo instead of UniGetUI Elevator
    The text of each setting is available separately in the UI Automation tree, but it is not associated with the focusable ToggleSwitch.
    Other settings implemented using CheckboxCard are announced correctly by screen readers.

Steps to reproduce the issue

  1. Start screen readers such as windows narrator or nvda.
  2. Open UniGetUI.
  3. Go to Settings > Administrator privileges and other dangerous settings.
  4. Navigate through the settings using the Tab key.
  5. Focus one of the security restriction toggle switches.
  6. Screen readers announce only toggle button, not pressed, without the name of the setting.
    The same behavior can also be reproduced in Experimental settings with Use installed GSudo instead of UniGetUI Elevator.

UniGetUI Log

Package Managers Logs

Not applicable. This issue is related to UI Automation and keyboard accessibility, not package manager operations.

Relevant information

#1767

Screenshots and videos

No response

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions